com.unboundid.scim.wink
Class XMLQueryResource
java.lang.Object
org.apache.wink.common.AbstractDynamicResource
com.unboundid.scim.wink.AbstractSCIMResource
com.unboundid.scim.wink.XMLQueryResource
- All Implemented Interfaces:
- org.apache.wink.common.DynamicResource
public class XMLQueryResource
- extends AbstractSCIMResource
This class is a Wink dynamic resource implementation for query operations
on a SCIM resource where the client requests XML response format in the URL
by appending ".xml" on to the endpoint.
|
Method Summary |
javax.ws.rs.core.Response |
doXmlGet(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 XML 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 |
XMLQueryResource
public XMLQueryResource(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.
doXmlGet
public javax.ws.rs.core.Response doXmlGet(@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 XML 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.