Interface ContentRepositoryProxyResource
@Produces("application/json")
@Consumes("application/json")
@Path("/contentrepositories")
public interface ContentRepositoryProxyResource
Resource for proxying requests to the Mesh instance of a Mesh Content.Repository.
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
DELETE requestjavax.ws.rs.core.Response
deleteNoPath
(String id) DELETE request without extra pathjavax.ws.rs.core.Response
GET requestjavax.ws.rs.core.Response
GET request without extra pathjavax.ws.rs.core.Response
HEAD requestjavax.ws.rs.core.Response
headNoPath
(String id) HEAD request without extra pathjavax.ws.rs.core.Response
Perform a login with the credentials stored in the Content.Repository.javax.ws.rs.core.Response
OPTIONS requestjavax.ws.rs.core.Response
optionsNoPath
(String id) OPTIONS request without extra pathjavax.ws.rs.core.Response
post
(String id, String path, InputStream requestBody) POST requestjavax.ws.rs.core.Response
postNoPath
(String id, InputStream requestBody) POST request without extra pathjavax.ws.rs.core.Response
put
(String id, String path, InputStream requestBody) PUT requestjavax.ws.rs.core.Response
putNoPath
(String id, InputStream requestBody) PUT request without extra path
-
Method Details
-
deleteNoPath
@DELETE @Path("/{id}/proxy") javax.ws.rs.core.Response deleteNoPath(@PathParam("id") String id) throws Exception DELETE request without extra path- Parameters:
id
- CR id- Returns:
- response
- Throws:
Exception
-
getNoPath
@GET @Path("/{id}/proxy") javax.ws.rs.core.Response getNoPath(@PathParam("id") String id) throws Exception GET request without extra path- Parameters:
id
- CR id- Returns:
- response
- Throws:
Exception
-
headNoPath
@HEAD @Path("/{id}/proxy") javax.ws.rs.core.Response headNoPath(@PathParam("id") String id) throws Exception HEAD request without extra path- Parameters:
id
- CR id- Returns:
- response
- Throws:
Exception
-
optionsNoPath
@OPTIONS @Path("/{id}/proxy") javax.ws.rs.core.Response optionsNoPath(@PathParam("id") String id) throws Exception OPTIONS request without extra path- Parameters:
id
- CR id- Returns:
- response
- Throws:
Exception
-
postNoPath
@POST @Path("/{id}/proxy") javax.ws.rs.core.Response postNoPath(@PathParam("id") String id, InputStream requestBody) throws Exception POST request without extra path- Parameters:
id
- CR idrequestBody
- request body as InputStream- Returns:
- response
- Throws:
Exception
-
putNoPath
@PUT @Path("/{id}/proxy") javax.ws.rs.core.Response putNoPath(@PathParam("id") String id, InputStream requestBody) throws Exception PUT request without extra path- Parameters:
id
- CR idrequestBody
- request body as InputStream- Returns:
- response
- Throws:
Exception
-
delete
@DELETE @Path("/{id}/proxy/{path: .*}") javax.ws.rs.core.Response delete(@PathParam("id") String id, @PathParam("path") String path) throws Exception DELETE request- Parameters:
id
- CR idpath
- request path- Returns:
- response
- Throws:
Exception
-
get
@GET @Path("/{id}/proxy/{path: .*}") javax.ws.rs.core.Response get(@PathParam("id") String id, @PathParam("path") String path) throws Exception GET request- Parameters:
id
- CR idpath
- request path- Returns:
- response
- Throws:
Exception
-
head
@HEAD @Path("/{id}/proxy/{path: .*}") javax.ws.rs.core.Response head(@PathParam("id") String id, @PathParam("path") String path) throws Exception HEAD request- Parameters:
id
- CR idpath
- request path- Returns:
- response
- Throws:
Exception
-
options
@OPTIONS @Path("/{id}/proxy/{path: .*}") javax.ws.rs.core.Response options(@PathParam("id") String id, @PathParam("path") String path) throws Exception OPTIONS request- Parameters:
id
- CR idpath
- request path- Returns:
- response
- Throws:
Exception
-
post
@POST @Path("/{id}/proxy/{path: .*}") javax.ws.rs.core.Response post(@PathParam("id") String id, @PathParam("path") String path, InputStream requestBody) throws Exception POST request- Parameters:
id
- CR idpath
- request pathrequestBody
- request body as InputStream- Returns:
- response
- Throws:
Exception
-
put
@PUT @Path("/{id}/proxy/{path: .*}") javax.ws.rs.core.Response put(@PathParam("id") String id, @PathParam("path") String path, InputStream requestBody) throws Exception PUT request- Parameters:
id
- CR idpath
- request pathrequestBody
- request body as InputStream- Returns:
- response
- Throws:
Exception
-
login
@POST @Path("/{id}/proxylogin") javax.ws.rs.core.Response login(@PathParam("id") String id) throws Exception Perform a login with the credentials stored in the Content.Repository.- Parameters:
id
- CR id- Returns:
- response
- Throws:
Exception
-