com.unboundid.scim.wink
Class BulkResource

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

public class BulkResource
extends AbstractBulkResource

This class is a JAX-RS resource for the Bulk operation, where the content type is determined by HTTP headers.


Constructor Summary
BulkResource(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.
 javax.ws.rs.core.Response doJsonXmlPost(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 JSON format and producing XML format.
 javax.ws.rs.core.Response doXmlJsonPost(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 XML format and producing JSON format.
 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

BulkResource

public BulkResource(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.

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.

doXmlJsonPost

public javax.ws.rs.core.Response doXmlJsonPost(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 XML format 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.

doJsonXmlPost

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