@Path(value="/edit") public class MetacardEditEndpoint extends Object
| Constructor and Description |
|---|
MetacardEditEndpoint(CatalogFramework catalogFramework,
AttributeRegistry attributeRegistry,
EndpointUtil endpointUtil) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
deleteAttribute(javax.servlet.http.HttpServletResponse response,
String id,
String attribute,
String value) |
javax.ws.rs.core.Response |
getAttribute(javax.servlet.http.HttpServletResponse response,
String id,
String attribute) |
javax.ws.rs.core.Response |
setAttribute(javax.servlet.http.HttpServletResponse response,
String id,
String attribute,
String value) |
javax.ws.rs.core.Response |
setBinaryAttribute(javax.servlet.http.HttpServletResponse response,
String id,
String attribute,
byte[] value) |
public MetacardEditEndpoint(CatalogFramework catalogFramework, AttributeRegistry attributeRegistry, EndpointUtil endpointUtil)
@GET
@Path(value="/{id}/{attribute}")
public javax.ws.rs.core.Response getAttribute(@Context
javax.servlet.http.HttpServletResponse response,
@PathParam(value="id")
String id,
@PathParam(value="attribute")
String attribute)
throws Exception
Exception@PUT
@Path(value="/{id}/{attribute}")
@Consumes(value="text/plain")
public javax.ws.rs.core.Response setAttribute(@Context
javax.servlet.http.HttpServletResponse response,
@PathParam(value="id")
String id,
@PathParam(value="attribute")
String attribute,
String value)
throws Exception
Exception@PUT
@Path(value="/{id}/{attribute}")
@Consumes(value="application/octet-stream")
public javax.ws.rs.core.Response setBinaryAttribute(@Context
javax.servlet.http.HttpServletResponse response,
@PathParam(value="id")
String id,
@PathParam(value="attribute")
String attribute,
byte[] value)
throws Exception
ExceptionThis work is licensed under a Creative Commons Attribution 4.0 International License.