@Path(value="contexts") public class ContextManager extends Object
| Constructor and Description |
|---|
ContextManager() |
| Modifier and Type | Method and Description |
|---|---|
String |
all() |
javax.ws.rs.core.Response |
delete(String uuid) |
String |
read(String uuid) |
protected void |
setCalledMethod(org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD httpMethod) |
protected void |
setCalledMethod(org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD httpMethod,
String uuid) |
String |
updateCreate(String uuid,
String json) |
protected void setCalledMethod(org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD httpMethod)
protected void setCalledMethod(org.gcube.common.gxhttp.reference.GXConnection.HTTPMETHOD httpMethod,
String uuid)
@GET
@Consumes(value={"text/plain","application/json;charset=UTF-8"})
@Produces(value="application/json;charset=UTF-8")
public String all()
throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException@GET
@Path(value="{CONTEXT_UUID}")
@Consumes(value={"text/plain","application/json;charset=UTF-8"})
@Produces(value="application/json;charset=UTF-8")
public String read(@PathParam(value="CONTEXT_UUID")
String uuid)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException@PUT
@Path(value="{CONTEXT_UUID}")
@Consumes(value={"text/plain","application/json;charset=UTF-8"})
@Produces(value="application/json;charset=UTF-8")
public String updateCreate(@PathParam(value="CONTEXT_UUID")
String uuid,
String json)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException@DELETE
@Consumes(value={"text/plain","application/json;charset=UTF-8"})
@Path(value="{CONTEXT_UUID}")
public javax.ws.rs.core.Response delete(@PathParam(value="CONTEXT_UUID")
String uuid)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2019. All Rights Reserved.