@Path(value="/uaal/spaces/{id}/context/publishers") public class Publishers extends Object
Constructor and Description |
---|
Publishers() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addPublisherResource(String id,
Publisher pub) |
Publisher |
getPublisherResourceLocator() |
ArrayList<Publisher> |
getPublishers() |
Publishers |
getPublishersResource(String id) |
javax.ws.rs.core.Link |
getSelf() |
void |
setPublishers(ArrayList<Publisher> publishers) |
void |
setSelf(javax.ws.rs.core.Link self) |
public javax.ws.rs.core.Link getSelf()
public void setSelf(javax.ws.rs.core.Link self)
@GET @Produces(value="application/json, application/xml;charset=UTF-8;version=1, text/xml;charset=UTF-8;version=1, application/octet-stream") public Publishers getPublishersResource(@PathParam(value="id") String id)
@POST @Consumes(value="application/json, application/xml;charset=UTF-8;version=1, text/xml;charset=UTF-8;version=1, application/octet-stream") public javax.ws.rs.core.Response addPublisherResource(@PathParam(value="id") String id, Publisher pub) throws URISyntaxException
URISyntaxException
@Path(value="/{subid}") @Produces(value="application/json, application/xml;charset=UTF-8;version=1, text/xml;charset=UTF-8;version=1, application/octet-stream") public Publisher getPublisherResourceLocator()
Copyright © 2018 universAAL Consortium. All rights reserved.