@Path(value="{endpoint}.xml")
public class XMLQueryResource
extends AbstractSCIMResource
| Constructor and Description |
|---|
XMLQueryResource(SCIMApplication application,
OAuthTokenHandler tokenHandler)
Create a new SCIM wink resource for XML query operations on a
SCIM endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
doJsonDotXmlPost(InputStream inputStream,
String endpoint,
javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.SecurityContext securityContext,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo uriInfo)
Implement the POST operation consuming JSON and producing XML format.
|
javax.ws.rs.core.Response |
doXmlDotXmlPost(InputStream inputStream,
String endpoint,
javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.SecurityContext securityContext,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo uriInfo)
Implement the POST operation consuming and producing XML format.
|
javax.ws.rs.core.Response |
doXmlGet(String endpoint,
javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.SecurityContext securityContext,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo uriInfo,
String filterString,
String baseID,
String searchScope,
String sortBy,
String sortOrder,
String pageStartIndex,
String pageSize)
Implement the GET operation producing XML format.
|
getUserssetResponseEntitypublic XMLQueryResource(SCIMApplication application, OAuthTokenHandler tokenHandler)
application - The SCIM JAX-RS application associated with this
resource.tokenHandler - The token handler to use for OAuth
authentication.@GET @Produces(value="application/xml") public javax.ws.rs.core.Response doXmlGet(@PathParam(value="endpoint") String endpoint, @Context javax.servlet.http.HttpServletRequest request, @Context javax.ws.rs.core.SecurityContext securityContext, @Context javax.ws.rs.core.HttpHeaders headers, @Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="filter") String filterString, @QueryParam(value="base-id") String baseID, @QueryParam(value="scope") String searchScope, @QueryParam(value="sortBy") String sortBy, @QueryParam(value="sortOrder") String sortOrder, @QueryParam(value="startIndex") String pageStartIndex, @QueryParam(value="count") String pageSize)
endpoint - The resource endpoint.request - The current HTTP servlet 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.baseID - The SCIM resource ID of the search base entry,
or null.searchScope - The LDAP search scope to use, 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.@POST @Consumes(value="application/xml") @Produces(value="application/xml") public javax.ws.rs.core.Response doXmlDotXmlPost(InputStream inputStream, @PathParam(value="endpoint") String endpoint, @Context javax.servlet.http.HttpServletRequest request, @Context javax.ws.rs.core.SecurityContext securityContext, @Context javax.ws.rs.core.HttpHeaders headers, @Context javax.ws.rs.core.UriInfo uriInfo)
inputStream - The content to be consumed.endpoint - The resource endpoint.request - The current HTTP servlet request.securityContext - The security context for the request.headers - The request headers.uriInfo - The URI info for the request.@POST @Consumes(value="application/json") @Produces(value="application/xml") public javax.ws.rs.core.Response doJsonDotXmlPost(InputStream inputStream, @PathParam(value="endpoint") String endpoint, @Context javax.servlet.http.HttpServletRequest request, @Context javax.ws.rs.core.SecurityContext securityContext, @Context javax.ws.rs.core.HttpHeaders headers, @Context javax.ws.rs.core.UriInfo uriInfo)
inputStream - The content to be consumed.endpoint - The resource endpoint.request - The current HTTP servlet request.securityContext - The security context for the request.headers - The request headers.uriInfo - The URI info for the request.Copyright © 2011–2016 UnboundID. All rights reserved.