com.unboundid.scim.wink
Class XMLBulkResource

java.lang.Object
  extended by com.unboundid.scim.wink.AbstractBulkResource
      extended by com.unboundid.scim.wink.XMLBulkResource

public class XMLBulkResource
extends AbstractBulkResource

This class is a JAX-RS resource for the Bulk operation, where XML content type is specified in the URL path.


Constructor Summary
XMLBulkResource(SCIMApplication application, ResourceStats bulkResourceStats, SCIMBackend backend)
          Create a new instance of the bulk resource.
 
Method Summary
 javax.ws.rs.core.Response doXmlXmlPost(InputStream inputStream, javax.servlet.ServletContext servletContext, 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLBulkResource

public XMLBulkResource(SCIMApplication application,
                       ResourceStats bulkResourceStats,
                       SCIMBackend backend)
Create a new instance of the bulk resource.

Parameters:
application - The SCIM JAX-RS application associated with this resource.
bulkResourceStats - The resource stats for the bulk operation end-point.
backend - The SCIMBackend to use to process individual operations within a bulk operation.
Method Detail

doXmlXmlPost

public javax.ws.rs.core.Response doXmlXmlPost(InputStream inputStream,
                                              @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)
Implement the POST operation consuming and producing XML format.

Parameters:
inputStream - The content to be consumed.
servletContext - The servlet context for the request.
securityContext - The security context for the request.
headers - The request headers.
uriInfo - The URI info for the request.
Returns:
The response to the request.


Copyright © 2011-2012 UnboundID. All Rights Reserved.