Class DefaultRequestDecoratorService
java.lang.Object
de.hybris.platform.outboundservices.decorator.impl.DefaultRequestDecoratorService
- All Implemented Interfaces:
RequestDecoratorService
Default implementation of
RequestDecoratorService-
Constructor Summary
ConstructorsConstructorDescriptionDefaultRequestDecoratorService(@NotNull DecoratorContextFactory factory) Constructor that takes a requiredDecoratorContextFactoryto be used in the service. -
Method Summary
Modifier and TypeMethodDescriptioncreateHttpEntity(SyncParameters params) Service that returns a decoratedHttpEntitybased on the context providedvoidsetDecorators(List<OutboundRequestDecorator> decorators)
-
Constructor Details
-
DefaultRequestDecoratorService
Constructor that takes a requiredDecoratorContextFactoryto be used in the service.- Parameters:
factory- that is used to create aDecoratorContext
-
-
Method Details
-
createHttpEntity
public org.springframework.http.HttpEntity<Map<String,Object>> createHttpEntity(SyncParameters params) Description copied from interface:RequestDecoratorServiceService that returns a decoratedHttpEntitybased on the context provided- Specified by:
createHttpEntityin interfaceRequestDecoratorService- Parameters:
params- containing the information needed to create the decoratedHttpEntity- Returns:
- a decorated
HttpEntity
-
setDecorators
-