Class Copy


  • @Path("/copy")
    public class Copy
    extends RegistryRestSuper
    This class to handle resource copy functions according to the REST verbs.
    • Constructor Detail

      • Copy

        public Copy()
    • Method Detail

      • copyResource

        public javax.ws.rs.core.Response copyResource​(String resourcePath,
                                                      String destinationPath,
                                                      @HeaderParam("X-JWT-Assertion")
                                                      String JWTToken)
        This method to copy resource to some target location according to REST verb POST.
        Parameters:
        resourcePath - - Source path of the resource.
        destinationPath - - Destination path of the resource.
        JWTToken - - Access token.
        Returns:
        - HTTP 204 No Content if success.