com.unboundid.scim.wink
Class JSONBulkResource

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

public class JSONBulkResource
extends AbstractBulkResource

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


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

Constructor Detail

JSONBulkResource

public JSONBulkResource(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

doJsonJsonPost

public javax.ws.rs.core.Response doJsonJsonPost(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 JSON 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.