Class ODataResponseToResponseEntityConverter
java.lang.Object
de.hybris.platform.odata2webservices.converter.ODataResponseToResponseEntityConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<org.apache.olingo.odata2.api.processor.ODataResponse,org.springframework.http.ResponseEntity<String>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String>convert(org.apache.olingo.odata2.api.processor.ODataResponse response) protected org.springframework.http.HttpHeadersextractHeaders(org.apache.olingo.odata2.api.processor.ODataResponse response) protected StringextractPayload(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, waitMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
ODataResponseToResponseEntityConverter
public ODataResponseToResponseEntityConverter()
-
-
Method Details
-
convert
public org.springframework.http.ResponseEntity<String> convert(org.apache.olingo.odata2.api.processor.ODataResponse response) - Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<org.apache.olingo.odata2.api.processor.ODataResponse,org.springframework.http.ResponseEntity<String>>
-
extractPayload
-
extractHeaders
protected org.springframework.http.HttpHeaders extractHeaders(org.apache.olingo.odata2.api.processor.ODataResponse response)
-