Class JsonSerializerDeserializer

    • Constructor Detail

      • JsonSerializerDeserializer

        public JsonSerializerDeserializer()
    • Method Detail

      • writeEntry

        public org.apache.olingo.odata2.api.processor.ODataResponse writeEntry​(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet,
                                                                               Entity data)
                                                                        throws org.apache.olingo.odata2.api.ep.EntityProviderException
        Specified by:
        writeEntry in interface ContentTypeBasedSerializer
        Throws:
        org.apache.olingo.odata2.api.ep.EntityProviderException
      • readFeed

        public org.apache.olingo.odata2.api.ep.feed.ODataFeed readFeed​(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet,
                                                                       EntityStream content)
                                                                throws org.apache.olingo.odata2.api.ep.EntityProviderException
        Specified by:
        readFeed in interface ContentTypeBasedDeserializer
        Throws:
        org.apache.olingo.odata2.api.ep.EntityProviderException
      • readEntry

        public org.apache.olingo.odata2.api.ep.entry.ODataEntry readEntry​(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet,
                                                                          EntityStream content)
                                                                   throws org.apache.olingo.odata2.api.ep.EntityProviderException
        Specified by:
        readEntry in interface ContentTypeBasedDeserializer
        Throws:
        org.apache.olingo.odata2.api.ep.EntityProviderException
      • readErrorDocument

        public org.apache.olingo.odata2.api.processor.ODataErrorContext readErrorDocument​(InputStream errorDocument)
                                                                                   throws org.apache.olingo.odata2.api.ep.EntityProviderException
        Specified by:
        readErrorDocument in interface ContentTypeBasedDeserializer
        Throws:
        org.apache.olingo.odata2.api.ep.EntityProviderException
      • writeFeed

        public org.apache.olingo.odata2.api.processor.ODataResponse writeFeed​(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet,
                                                                              EntityCollection data)
                                                                       throws org.apache.olingo.odata2.api.ep.EntityProviderException
        Specified by:
        writeFeed in interface ContentTypeBasedSerializer
        Throws:
        org.apache.olingo.odata2.api.ep.EntityProviderException
      • writeBatchResponse

        public org.apache.olingo.odata2.api.processor.ODataResponse writeBatchResponse​(List<org.apache.olingo.odata2.api.batch.BatchResponsePart> batchResponseParts)
                                                                                throws org.apache.olingo.odata2.api.batch.BatchException
        Specified by:
        writeBatchResponse in interface ContentTypeBasedDeserializer
        Throws:
        org.apache.olingo.odata2.api.batch.BatchException
      • readFunctionImport

        public Object readFunctionImport​(org.apache.olingo.odata2.api.edm.EdmFunctionImport functionImport,
                                         EntityStream content)
                                  throws org.apache.olingo.odata2.api.ep.EntityProviderException
        Specified by:
        readFunctionImport in interface ContentTypeBasedDeserializer
        Throws:
        org.apache.olingo.odata2.api.ep.EntityProviderException