public class Rate extends RegistryRestSuper
| Constructor and Description |
|---|
Rate() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
rateResource(String resourcePath,
int value,
String JWTToken)
This method put a rating to a resource
|
getBegin, getEnd, getPageSize, getResourcePath, getTenantID, getUserRegistry, getUserRegistry, setBegin, setEnd, setPageSize, setUserRegistrypublic javax.ws.rs.core.Response rateResource(String resourcePath, int value, @HeaderParam(value="X-JWT-Assertion") String JWTToken)
resourcePath - - path of the resource in the registry spacevalue - - user's ratingCopyright © 2015 WSO2. All rights reserved.