Interface FixedFormatDeserializer
public interface FixedFormatDeserializer
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]binary(InputStream content) Reads binary data from an InputStream.parameter(String content, EdmParameter parameter) Reads parameter data (in URI syntax) from a String.parseBatchRequest(InputStream content, String boundary, BatchOptions options) Reads batch data from an InputStream.primitiveValue(InputStream content, EdmProperty property) Reads primitive-type data from an InputStream.
-
Method Details
-
binary
Reads binary data from an InputStream.- Parameters:
content- the binary data as input stream- Returns:
- the binary data
- Throws:
DeserializerException
-
primitiveValue
Reads primitive-type data from an InputStream.- Parameters:
content- the textual value as input streamproperty- EDM property- Throws:
DeserializerException
-
parameter
Reads parameter data (in URI syntax) from a String.- Parameters:
content- the textual value as Stringparameter- EDM parameter- Throws:
DeserializerException
-
parseBatchRequest
List<BatchRequestPart> parseBatchRequest(InputStream content, String boundary, BatchOptions options) throws BatchDeserializerException Reads batch data from an InputStream.- Parameters:
content- the data as multipart input streamboundary- the boundary between the partsoptions- options for the deserializer- Returns:
- a list of batch-request parts
- Throws:
BatchDeserializerException
-