org.wso2.carbon.registry.rest.api
Class Copy

java.lang.Object
  extended by org.wso2.carbon.registry.rest.api.RegistryRestSuper
      extended by org.wso2.carbon.registry.rest.api.Copy

public class Copy
extends RegistryRestSuper

This class to handle resource copy functions according to the REST verbs.


Constructor Summary
Copy()
           
 
Method Summary
 javax.ws.rs.core.Response copyResource(String resourcePath, String destinationPath, String JWTToken)
          This method to copy resource to some target location according to REST verb POST.
 
Methods inherited from class org.wso2.carbon.registry.rest.api.RegistryRestSuper
getBegin, getEnd, getPageSize, getResourcePath, getTenantID, getUserRegistry, getUserRegistry, setBegin, setEnd, setPageSize, setUserRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Copy

public Copy()
Method Detail

copyResource

public javax.ws.rs.core.Response copyResource(String resourcePath,
                                              String destinationPath,
                                              @HeaderParam(value="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.


Copyright © 2015 WSO2. All rights reserved.