com.unboundid.scim.wink
Class JSONQueryResource
java.lang.Object
org.apache.wink.common.AbstractDynamicResource
com.unboundid.scim.wink.AbstractSCIMResource
com.unboundid.scim.wink.JSONQueryResource
- All Implemented Interfaces:
- org.apache.wink.common.DynamicResource
public class JSONQueryResource
- extends AbstractSCIMResource
This class is a Wink dynamic resource implementation for query operations
on a SCIM resource where the client requests JSON response format in the URL
by appending ".json" on to the endpoint.
|
Method Summary |
javax.ws.rs.core.Response |
doJsonGet(javax.servlet.ServletContext servletContext,
javax.ws.rs.core.SecurityContext securityContext,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo uriInfo,
String filterString,
String sortBy,
String sortOrder,
String pageStartIndex,
String pageSize)
Implement the GET operation producing JSON format. |
| Methods inherited from class org.apache.wink.common.AbstractDynamicResource |
getBeanName, getCollectionTitle, getParent, getPath, getWorkspaceTitle, setBeanName, setCollectionTitle, setParent, setPath, setWorkspaceTitle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONQueryResource
public JSONQueryResource(ResourceDescriptor resourceDescriptor,
ResourceStats resourceStats,
SCIMBackend backend)
- Create a new SCIM wink resource for XML query operations on a SCIM
endpoint.
- Parameters:
resourceDescriptor - The ResourceDescriptor associated with this
resource.resourceStats - The ResourceStats instance to use.backend - The SCIMBackend to use to process requests.
doJsonGet
public javax.ws.rs.core.Response doJsonGet(@Context
javax.servlet.ServletContext servletContext,
@Context
javax.ws.rs.core.SecurityContext securityContext,
@Context
javax.ws.rs.core.HttpHeaders headers,
@Context
javax.ws.rs.core.UriInfo uriInfo,
String filterString,
String sortBy,
String sortOrder,
String pageStartIndex,
String pageSize)
- Implement the GET operation producing JSON format.
- Parameters:
servletContext - The servlet context of the current request.securityContext - The security context of the current request.headers - The request headers.uriInfo - The URI info for the request.filterString - The filter query parameter, or null.sortBy - The sortBy query parameter, or null.sortOrder - The sortOrder query parameter, or null.pageStartIndex - The startIndex query parameter, or null.pageSize - The count query parameter, or null.
- Returns:
- The response to the request.
Copyright © 2011-2012 UnboundID. All Rights Reserved.