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 TypeMethodDescriptionjakarta.ws.rs.core.ResponseDELETE requestjakarta.ws.rs.core.ResponsedeleteNoPath(String id) DELETE request without extra pathjakarta.ws.rs.core.ResponseGET requestjakarta.ws.rs.core.ResponseGET request without extra pathjakarta.ws.rs.core.ResponseHEAD requestjakarta.ws.rs.core.ResponseheadNoPath(String id) HEAD request without extra pathjakarta.ws.rs.core.ResponsePerform a login with the credentials stored in the Content.Repository.jakarta.ws.rs.core.ResponseOPTIONS requestjakarta.ws.rs.core.ResponseoptionsNoPath(String id) OPTIONS request without extra pathjakarta.ws.rs.core.Responsepost(String id, String path, InputStream requestBody) POST requestjakarta.ws.rs.core.ResponsepostNoPath(String id, InputStream requestBody) POST request without extra pathjakarta.ws.rs.core.Responseput(String id, String path, InputStream requestBody) PUT requestjakarta.ws.rs.core.ResponseputNoPath(String id, InputStream requestBody) PUT request without extra path
-
Method Details
-
deleteNoPath
@DELETE @Path("/{id}/proxy") jakarta.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") jakarta.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") jakarta.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") jakarta.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") jakarta.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") jakarta.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: .*}") jakarta.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: .*}") jakarta.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: .*}") jakarta.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: .*}") jakarta.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: .*}") jakarta.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: .*}") jakarta.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") jakarta.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
-