@Path(value="json/delivery")
public class JSONBasedDelivery
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
JSONBasedDelivery() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
defaultDelivery() |
javax.ws.rs.core.Response |
delivery(java.lang.String id,
java.lang.String version) |
@GET @Produces(value="application/json") public javax.ws.rs.core.Response defaultDelivery() throws org.json.JSONException
org.json.JSONException
@Path(value="{id : (.+)?}/{version : (.+)?}") @GET @Produces(value="application/json") public javax.ws.rs.core.Response delivery(@PathParam(value="id") java.lang.String id, @PathParam(value="version") java.lang.String version) throws org.json.JSONException
id
- version
- org.json.JSONException
Copyright © 2010-2018 Planetary Data System. All Rights Reserved.