Class DefaultSapPassportRequestDecorator
- java.lang.Object
-
- de.hybris.platform.outboundservices.decorator.impl.DefaultSapPassportRequestDecorator
-
- All Implemented Interfaces:
OutboundRequestDecorator
public class DefaultSapPassportRequestDecorator extends java.lang.Object implements OutboundRequestDecorator
-
-
Constructor Summary
Constructors Constructor Description DefaultSapPassportRequestDecorator()
-
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 SapPassportServicegetSapPassportService()voidsetSapPassportService(SapPassportService sapPassportService)
-
-
-
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()
-
getSapPassportService
protected SapPassportService getSapPassportService()
-
setSapPassportService
public void setSapPassportService(SapPassportService sapPassportService)
-
-