|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.unboundid.scim.sdk.BulkStreamResponse
public class BulkStreamResponse
Implements a SCIMResponse to handle bulk responses without keeping the entire response in memory.
| Constructor Summary | |
|---|---|
BulkStreamResponse(SCIMApplication application,
RequestContext requestContext)
Create a new bulk stream response. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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.| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||