public interface FixedFormatDeserializer
Modifier and Type | Method and Description |
---|---|
byte[] |
binary(InputStream content)
Reads binary data from an InputStream.
|
Parameter |
parameter(String content,
EdmParameter parameter)
Reads parameter data (in URI syntax) from a String.
|
List<BatchRequestPart> |
parseBatchRequest(InputStream content,
String boundary,
BatchOptions options)
Reads batch data from an InputStream.
|
Object |
primitiveValue(InputStream content,
EdmProperty property)
Reads primitive-type data from an InputStream.
|
byte[] binary(InputStream content) throws DeserializerException
content
- the binary data as input streamDeserializerException
Object primitiveValue(InputStream content, EdmProperty property) throws DeserializerException
content
- the textual value as input streamproperty
- EDM propertyDeserializerException
Parameter parameter(String content, EdmParameter parameter) throws DeserializerException
content
- the textual value as Stringparameter
- EDM parameterDeserializerException
List<BatchRequestPart> parseBatchRequest(InputStream content, String boundary, BatchOptions options) throws BatchDeserializerException
content
- the data as multipart input streamboundary
- the boundary between the partsoptions
- options for the deserializerBatchDeserializerException
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.