public class Rating extends RegistryRestSuper
| Constructor and Description |
|---|
Rating() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getRating(String resourcePath,
String JWTToken)
This method get the rating given for the requested resource.
|
javax.ws.rs.core.Response |
removeRating(String resourcePath,
String JWTToken)
this method delete the user's rating on the given resource
|
getBegin, getEnd, getPageSize, getResourcePath, getTenantID, getUserRegistry, getUserRegistry, setBegin, setEnd, setPageSize, setUserRegistrypublic javax.ws.rs.core.Response getRating(String resourcePath, @HeaderParam(value="X-JWT-Assertion") String JWTToken)
resourcePath - - Path of the resource in the registry.Copyright © 2015 WSO2. All rights reserved.