public class BulkStreamResponse extends Object implements SCIMResponse
| Constructor and Description |
|---|
BulkStreamResponse(SCIMApplication application,
RequestContext requestContext)
Create a new bulk stream response.
|
| Modifier and Type | Method and Description |
|---|---|
void |
finalizeResponse()
Release resources when this bulk stream response is no longer needed.
|
void |
marshal(Marshaller marshaller,
OutputStream outputStream)
Marshals this response using the specified
Marshaller to the
specified OutputStream. |
void |
writeBulkOperation(BulkOperation o)
Write a bulk operation to the response.
|
public BulkStreamResponse(SCIMApplication application, RequestContext requestContext) throws SCIMException
application - The SCIM JAX-RS application.requestContext - The bulk request context.SCIMException - If the bulk stream response could not be created.public void writeBulkOperation(BulkOperation o) throws SCIMException
o - The bulk operation to write.SCIMException - If the bulk operation could not be written.public void finalizeResponse()
public void marshal(Marshaller marshaller, OutputStream outputStream) throws Exception
Marshaller to the
specified OutputStream.marshal in interface SCIMResponsemarshaller - The Marshaller to use.outputStream - The OutputStream to write to.Exception - if an error occurs while performing the marshaling.Copyright © 2011–2016 UnboundID. All rights reserved.