public interface StreamMarshaller
| Modifier and Type | Method and Description |
|---|---|
void |
bulkMarshal(int failOnErrors,
List<BulkOperation> operations)
Write the content of a SCIM bulk operation request or response.
|
void |
close()
Close the marshaller.
|
void |
marshal(BaseResource resource)
Write a SCIM object.
|
void |
marshal(Resources<? extends BaseResource> response)
Write a SCIM query response.
|
void |
marshal(SCIMException response)
Write a SCIM error response.
|
void |
writeBulkFinish()
Write the end of a bulk request or response.
|
void |
writeBulkOperation(BulkOperation o)
Write a bulk operation to a bulk request or response.
|
void |
writeBulkStart(int failOnErrors,
Set<String> schemaURIs)
Write the start of a bulk request or response.
|
void marshal(BaseResource resource) throws SCIMException
resource - The SCIM resource to be written.SCIMException - If the data could not be written.void marshal(Resources<? extends BaseResource> response) throws SCIMException
response - The SCIM response to be written.SCIMException - If the data could not be written.void marshal(SCIMException response) throws SCIMException
response - The SCIM response to be written.SCIMException - If the data could not be written.void bulkMarshal(int failOnErrors, List<BulkOperation> operations) throws SCIMException
failOnErrors - The value of failOnErrors, or -1 to not provide a
value.operations - The bulk operations to include in the content.SCIMException - If the data could not be written.void writeBulkStart(int failOnErrors, Set<String> schemaURIs) throws SCIMException
failOnErrors - The value of failOnErrors, or -1 to not provide a
value.schemaURIs - The set of schema URIs used by the bulk request or
response.SCIMException - If the data could not be written.void writeBulkOperation(BulkOperation o) throws SCIMException
o - The bulk operation to write.SCIMException - If the data could not be written.void writeBulkFinish() throws SCIMException
SCIMException - If the data could not be written.void close() throws SCIMException
SCIMException - If the data could not be written.Copyright © 2011–2016 UnboundID. All rights reserved.