Class Move
- java.lang.Object
-
- org.wso2.carbon.registry.rest.api.RegistryRestSuper
-
- org.wso2.carbon.registry.rest.api.Move
-
@Path("/move") public class Move extends RegistryRestSuperThis class is to handle resource move operation according to the REST verb POST.
-
-
Constructor Summary
Constructors Constructor Description Move()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.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
-
-
-
-
Method Detail
-
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
-
-