Class DefaultDecoratorExecution
java.lang.Object
de.hybris.platform.outboundservices.decorator.DefaultDecoratorExecution
- All Implemented Interfaces:
DecoratorExecution
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates this decorator executionInstantiates this decorator execution -
Method Summary
Modifier and TypeMethodDescriptioncreateHttpEntity(org.springframework.http.HttpHeaders httpHeaders, Map<String, Object> payload, DecoratorContext context) Calls the next decorator in the chain.
-
Constructor Details
-
DefaultDecoratorExecution
Instantiates this decorator execution- Parameters:
it- an iterable containing the decorators to be applied to the outgoing request.
-
DefaultDecoratorExecution
Instantiates this decorator execution- Parameters:
it- an iterator of the decorators to be applied to the outgoing request.
-
-
Method Details
-
createHttpEntity
public org.springframework.http.HttpEntity<Map<String,Object>> createHttpEntity(org.springframework.http.HttpHeaders httpHeaders, Map<String, Object> payload, DecoratorContext context) Description copied from interface:DecoratorExecutionCalls the next decorator in the chain.- Specified by:
createHttpEntityin interfaceDecoratorExecution- 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.- Returns:
- An
HttpEntitycontaining the result of the decoration.
-