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