Class Move
java.lang.Object
org.wso2.carbon.registry.rest.api.RegistryRestSuper
org.wso2.carbon.registry.rest.api.Move
This class is to handle resource move operation according to the REST verb POST.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsemoveResource(String resourcePath, String destinationPath, String JWTToken) This method to move the registry resource.Methods inherited from class org.wso2.carbon.registry.rest.api.RegistryRestSuper
getBegin, getEnd, getPageSize, getResourcePath, getTenantID, getUserRegistry, getUserRegistry, setBegin, setEnd, setPageSize, setUserRegistry
-
Constructor Details
-
Move
public Move()
-
-
Method Details
-
moveResource
public javax.ws.rs.core.Response moveResource(String resourcePath, String destinationPath, @HeaderParam("X-JWT-Assertion") String JWTToken) This method to move the registry resource.- Parameters:
resourcePath- - Source path of the resource.destinationPath- - Destination path of the resource.JWTToken- - Access token.- Returns:
- - HTTP 204 No Content
-