Class DefaultResponseEntityToODataResponseConverter
java.lang.Object
de.hybris.platform.odata2services.converter.DefaultResponseEntityToODataResponseConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<org.springframework.http.ResponseEntity<String>,org.apache.olingo.odata2.api.processor.ODataResponse>
public class DefaultResponseEntityToODataResponseConverter
extends Object
implements org.springframework.core.convert.converter.Converter<org.springframework.http.ResponseEntity<String>,org.apache.olingo.odata2.api.processor.ODataResponse>
This class will convert a
ResponseEntity to an ODataResponse. Normally the conversion happens when a OData service
or class will be used and an OData object is needed.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultResponseEntityToODataResponseConverter(@NotNull org.springframework.core.convert.converter.Converter<org.springframework.http.HttpHeaders, Map<String, String>> httpHeaderToMapConverter) -
Method Summary
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
-
DefaultResponseEntityToODataResponseConverter
-
-
Method Details
-
convert
public org.apache.olingo.odata2.api.processor.ODataResponse convert(org.springframework.http.ResponseEntity<String> responseEntity) - Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<org.springframework.http.ResponseEntity<String>,org.apache.olingo.odata2.api.processor.ODataResponse>
-