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.
|
SerializerStreamResult |
mediaEntityStreamed(EntityMediaObject mediaEntity)
Writes bytes to an Input stream
|
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 dataSerializerExceptionSerializerStreamResult mediaEntityStreamed(EntityMediaObject mediaEntity) throws SerializerException
mediaEntity - bytesSerializerExceptionInputStream count(Integer count) throws SerializerException
count - the countSerializerExceptionInputStream primitiveValue(EdmPrimitiveType type, Object value, PrimitiveValueSerializerOptions options) throws SerializerException
type - the primitive typevalue - the valueoptions - options for the serializerSerializerExceptionInputStream batchResponse(List<ODataResponsePart> batchResponses, String boundary) throws BatchSerializerException
batchResponses - the response partsboundary - the boundary between the partsBatchSerializerExceptionInputStream asyncResponse(ODataResponse odataResponse) throws SerializerException
odataResponse - the response partsSerializerExceptionCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.