@Path(value="json/products") public class JSONBasedProducts extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
JSONBasedProducts() |
@GET @Produces(value="application/json") public javax.ws.rs.core.Response defaultProducts() throws org.json.JSONException
org.json.JSONException
@Path(value="{instRef : (.+)?}/{investRef : (.+)?}") @GET @Produces(value="application/json") public javax.ws.rs.core.Response products(@PathParam(value="instRef") String insRef, @PathParam(value="investRef") String invRef) throws org.json.JSONException
org.json.JSONException
@Path(value="type/{Type}") @GET @Produces(value="application/json") public javax.ws.rs.core.Response products(@PathParam(value="Type") String type) throws org.json.JSONException
org.json.JSONException
Copyright © 2010–2018 Planetary Data System. All rights reserved.