Class DefaultOutboundBatchPartRequestConsolidator

java.lang.Object
de.hybris.platform.outboundservices.batch.DefaultOutboundBatchPartRequestConsolidator
All Implemented Interfaces:
OutboundMultiPartRequestConsolidator

public class DefaultOutboundBatchPartRequestConsolidator extends Object implements OutboundMultiPartRequestConsolidator
A default implementation of OutboundMultiPartRequestConsolidator. The default olingo BatchRequestWriter is used here. The consolidator returns a String representing the payload of the batch request. To use the olingo BatchRequestWriter, OutboundBatchRequestPartDTO is needed which provides the required information needed to consolidate the requests.
  • Constructor Details

    • DefaultOutboundBatchPartRequestConsolidator

      public DefaultOutboundBatchPartRequestConsolidator(@NotNull @NotNull EntitySetNameGenerator entitySetNameGenerator, @NotNull @NotNull org.springframework.core.convert.converter.Converter<org.springframework.http.HttpHeaders,Map<String,String>> httpHeaderToMapConverter)
      The constructor of the class.
      Parameters:
      entitySetNameGenerator - used to get the entitySetName which will be written to the consolidated payload.
      httpHeaderToMapConverter - used to convert a HttpHeader which is a multi-value map to a normal map.
  • Method Details