Class DefaultPayloadBuildingRequestDecorator
- java.lang.Object
-
- de.hybris.platform.outboundservices.decorator.impl.DefaultPayloadBuildingRequestDecorator
-
- All Implemented Interfaces:
OutboundRequestDecorator
public class DefaultPayloadBuildingRequestDecorator extends java.lang.Object implements OutboundRequestDecorator
-
-
Constructor Summary
Constructors Constructor Description DefaultPayloadBuildingRequestDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.HttpEntity<java.util.Map<java.lang.String,java.lang.Object>>decorate(org.springframework.http.HttpHeaders httpHeaders, java.util.Map<java.lang.String,java.lang.Object> payload, DecoratorContext context, DecoratorExecution execution)Decorates an Outbound requestprotected IntegrationObjectConversionServicegetIntegrationObjectConversionService()voidsetIntegrationObjectConversionService(IntegrationObjectConversionService integrationObjectConversionService)
-
-
-
Method Detail
-
decorate
public org.springframework.http.HttpEntity<java.util.Map<java.lang.String,java.lang.Object>> decorate(org.springframework.http.HttpHeaders httpHeaders, java.util.Map<java.lang.String,java.lang.Object> payload, DecoratorContext context, DecoratorExecution execution)Description copied from interface:OutboundRequestDecoratorDecorates an Outbound request- Specified by:
decoratein interfaceOutboundRequestDecorator- Parameters:
httpHeaders- The headers to be used for the outgoing request.payload- The payload used for the requestcontext- Some extra information that can be used by decorators.execution- The execution chain.- Returns:
- An
HttpEntitycontaining the result of the decoration. Normally by callingexecution.createHttpEntity()
-
getIntegrationObjectConversionService
protected IntegrationObjectConversionService getIntegrationObjectConversionService()
-
setIntegrationObjectConversionService
public void setIntegrationObjectConversionService(IntegrationObjectConversionService integrationObjectConversionService)
-
-