public interface FixedFormatSerializer
Modifier and Type | Method and Description |
---|---|
InputStream |
batchResponse(List<ODataResponsePart> batchResponses,
String boundary) |
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
BatchSerializerException
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.