public interface FixedFormatSerializer
Modifier and Type | Method and Description |
---|---|
InputStream |
asyncResponse(ODataResponse odataResponse)
Serializes a ODataResponse into an async response.
|
InputStream |
batchResponse(List<ODataResponsePart> batchResponses,
String boundary)
Serializes a batch response.
|
InputStream |
binary(byte[] binary)
Writes binary output into an InputStream.
|
InputStream |
count(Integer count)
Writes a count into an InputStream as plain text.
|
InputStream |
primitiveValue(EdmPrimitiveType type,
Object value,
PrimitiveValueSerializerOptions options)
Writes the raw value of a primitive-type instance into an InputStream.
|
InputStream binary(byte[] binary) throws SerializerException
binary
- the binary dataSerializerException
InputStream count(Integer count) throws SerializerException
count
- the countSerializerException
InputStream primitiveValue(EdmPrimitiveType type, Object value, PrimitiveValueSerializerOptions options) throws SerializerException
type
- the primitive typevalue
- the valueoptions
- options for the serializerSerializerException
InputStream batchResponse(List<ODataResponsePart> batchResponses, String boundary) throws BatchSerializerException
batchResponses
- the response partsboundary
- the boundary between the partsBatchSerializerException
InputStream asyncResponse(ODataResponse odataResponse) throws SerializerException
odataResponse
- the response partsSerializerException
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.