@Path(value="json/products")
public class JSONBasedProducts
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
JSONBasedProducts() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
defaultProducts() |
javax.ws.rs.core.Response |
products(java.lang.String type) |
javax.ws.rs.core.Response |
products(java.lang.String insRef,
java.lang.String invRef) |
@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") java.lang.String insRef, @PathParam(value="investRef") java.lang.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") java.lang.String type) throws org.json.JSONException
org.json.JSONException
Copyright © 2010-2018 Planetary Data System. All Rights Reserved.