@Path(value="json/archivestatus") public class JSONBasedArchiveStatus extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
JSONBasedArchiveStatus() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
archiveStatus(String id,
String version,
boolean latest) |
javax.ws.rs.core.Response |
defaultArchiveStatus() |
@GET @Produces(value="application/json") public javax.ws.rs.core.Response defaultArchiveStatus() throws org.json.JSONException
org.json.JSONException
@Path(value="{id : (.+)?}/{version : (.+)?}/{latest}") @GET @Produces(value="application/json") public javax.ws.rs.core.Response archiveStatus(@PathParam(value="id") String id, @PathParam(value="version") String version, @PathParam(value="latest") boolean latest) throws org.json.JSONException
id
- version
- org.json.JSONException
Copyright © 2010–2018 Planetary Data System. All rights reserved.