@Path(value="xml/references")
public class XMLBasedRefernces
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
XMLBasedRefernces() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createReference(java.lang.String log_id,
java.lang.String ref,
java.lang.String title,
java.lang.String refType) |
javax.ws.rs.core.Response |
defaultReferences() |
javax.ws.rs.core.Response |
getReferences(java.lang.String id,
java.lang.String refTableName) |
javax.ws.rs.core.Response |
updateReference(java.lang.String log_id,
java.lang.String ref,
java.lang.String title,
java.lang.String refType) |
@GET @Produces(value="application/xml") public javax.ws.rs.core.Response defaultReferences()
@Path(value="{id : (.+)?}/{refType : (.+)?}") @GET @Produces(value="application/xml") public javax.ws.rs.core.Response getReferences(@PathParam(value="id") java.lang.String id, @PathParam(value="refType") java.lang.String refTableName)
@POST @Path(value="/add") @Produces(value="application/xml") @Consumes(value="application/x-www-form-urlencoded") public javax.ws.rs.core.Response createReference(@FormParam(value="LogicalIdentifier") java.lang.String log_id, @FormParam(value="Reference") java.lang.String ref, @FormParam(value="Title") java.lang.String title, @FormParam(value="referenceType") java.lang.String refType) throws java.io.IOException
java.io.IOException
@POST @Path(value="/update") @Produces(value="application/xml") @Consumes(value="application/x-www-form-urlencoded") public javax.ws.rs.core.Response updateReference(@FormParam(value="LogicalIdentifier") java.lang.String log_id, @FormParam(value="Reference") java.lang.String ref, @FormParam(value="Title") java.lang.String title, @FormParam(value="referenceType") java.lang.String refType) throws java.io.IOException
java.io.IOException
Copyright © 2010-2019 Planetary Data System. All Rights Reserved.