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 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 id
      requestBody - 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 id
      requestBody - 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 id
      path - 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 id
      path - 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 id
      path - 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 id
      path - 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 id
      path - request path
      requestBody - 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 id
      path - request path
      requestBody - 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