Class ODataResponseToResponseEntityConverter

  • All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter<org.apache.olingo.odata2.api.processor.ODataResponse,​org.springframework.http.ResponseEntity<java.lang.String>>

    public class ODataResponseToResponseEntityConverter
    extends java.lang.Object
    implements org.springframework.core.convert.converter.Converter<org.apache.olingo.odata2.api.processor.ODataResponse,​org.springframework.http.ResponseEntity<java.lang.String>>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.http.ResponseEntity<java.lang.String> convert​(org.apache.olingo.odata2.api.processor.ODataResponse response)  
      protected org.springframework.http.HttpHeaders extractHeaders​(org.apache.olingo.odata2.api.processor.ODataResponse response)  
      protected java.lang.String extractPayload​(org.apache.olingo.odata2.api.processor.ODataResponse response)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.core.convert.converter.Converter

        andThen
    • Constructor Detail

      • ODataResponseToResponseEntityConverter

        public ODataResponseToResponseEntityConverter()
    • Method Detail

      • convert

        public org.springframework.http.ResponseEntity<java.lang.String> convert​(org.apache.olingo.odata2.api.processor.ODataResponse response)
        Specified by:
        convert in interface org.springframework.core.convert.converter.Converter<org.apache.olingo.odata2.api.processor.ODataResponse,​org.springframework.http.ResponseEntity<java.lang.String>>
      • extractPayload

        protected java.lang.String extractPayload​(org.apache.olingo.odata2.api.processor.ODataResponse response)
      • extractHeaders

        protected org.springframework.http.HttpHeaders extractHeaders​(org.apache.olingo.odata2.api.processor.ODataResponse response)