org.wso2.carbon.registry.rest.api
Class MetaData
java.lang.Object
org.wso2.carbon.registry.rest.api.RegistryRestSuper
org.wso2.carbon.registry.rest.api.MetaData
public class MetaData
- extends RegistryRestSuper
This class is to get the meta data of the resource using REST verb GET.
|
Method Summary |
javax.ws.rs.core.Response |
getMetaData(String resourcePath,
String JWTToken)
This method gets the metadata info about the given resource |
| 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 |
MetaData
public MetaData()
getMetaData
public javax.ws.rs.core.Response getMetaData(String resourcePath,
@HeaderParam(value="X-JWT-Assertion")
String JWTToken)
- This method gets the metadata info about the given resource
- Parameters:
resourcePath - resource path
- Returns:
- JSON ResourceModel object, HTTP 200 OK.
Copyright © 2015 WSO2. All rights reserved.