public interface ContentTypeBasedDeserializer
Modifier and Type | Method and Description |
---|---|
ODataEntry |
readEntry(EdmEntitySet entitySet,
EntityStream content)
Returns an ODataEntry
|
ODataErrorContext |
readErrorDocument(InputStream errorDocument)
Read (de-serialize) data from error document as
InputStream and provide according
ODataErrorContext . |
ODataFeed |
readFeed(EdmEntitySet entitySet,
EntityStream content)
Returns an ODataFeed
|
Object |
readFunctionImport(EdmFunctionImport functionImport,
EntityStream content)
Returns an object
|
ODataResponse |
writeBatchResponse(List<BatchResponsePart> batchResponseParts)
Returns an ODataResponse
|
ODataFeed readFeed(EdmEntitySet entitySet, EntityStream content) throws EntityProviderException
entitySet
- content
- EntityProviderException
ODataEntry readEntry(EdmEntitySet entitySet, EntityStream content) throws EntityProviderException
entitySet
- content
- EntityProviderException
ODataErrorContext readErrorDocument(InputStream errorDocument) throws EntityProviderException
InputStream
and provide according
ODataErrorContext
.errorDocument
- error document which is readcontentType
- format of content in the given input streamEntityProviderException
- if reading of data (de-serialization) failsODataResponse writeBatchResponse(List<BatchResponsePart> batchResponseParts) throws BatchException
batchResponseParts
- BatchException
Object readFunctionImport(EdmFunctionImport functionImport, EntityStream content) throws EntityProviderException
functionImport
- content
- EntityProviderException
Copyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.