public abstract class RestHelper extends Object
| Constructor and Description |
|---|
RestHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Object> |
getQueryParameters(javax.ws.rs.core.UriInfo uriInfo)
Return a map containing query parameters from UriInfo instance.
|
static int |
resolveMaxResults(int cParamMax, int cQueryMax, int cResourceMax)
Resolve the size of a result set Coherence REST resource will return.
|
public static Map<String,Object> getQueryParameters(javax.ws.rs.core.UriInfo uriInfo)
uriInfo - UriInfo for invoked resource method
public static int resolveMaxResults(int cParamMax,
int cQueryMax,
int cResourceMax)
cParamMax - max result set size extracted from URL or -1 if not submittedcQueryMax - max result set size configured for direct query or -1 if not configuredcResourceMax - max result set size configured for this resource or -1 if not configured