Class DefaultRequestBatchEntityExtractor

java.lang.Object
de.hybris.platform.odata2services.odata.monitoring.impl.DefaultRequestBatchEntityExtractor
All Implemented Interfaces:
RequestBatchEntityExtractor

public class DefaultRequestBatchEntityExtractor extends Object implements RequestBatchEntityExtractor
  • Constructor Details

    • DefaultRequestBatchEntityExtractor

      public DefaultRequestBatchEntityExtractor()
  • Method Details

    • extractFrom

      public List<RequestBatchEntity> extractFrom(org.apache.olingo.odata2.api.processor.ODataContext context)
      Description copied from interface: RequestBatchEntityExtractor
      Extracts request entity.
      Specified by:
      extractFrom in interface RequestBatchEntityExtractor
      Parameters:
      context - the ODataContext which contains the ODataRequest as well as other relevant request information
      Returns:
      a collection of extracted entities. A valid request should contain at least one entity.
    • extractBatchRequests

      protected List<RequestBatchEntity> extractBatchRequests(org.apache.olingo.odata2.api.processor.ODataContext context)
    • handleBatchPart

      protected RequestBatchEntity handleBatchPart(org.apache.olingo.odata2.api.batch.BatchRequestPart part, org.apache.olingo.odata2.api.processor.ODataContext context)
    • combineChangeSetsToSingleBatch

      protected InputStream combineChangeSetsToSingleBatch(List<org.apache.olingo.odata2.api.processor.ODataRequest> requests)
    • getProps

      protected org.apache.olingo.odata2.api.ep.EntityProviderBatchProperties getProps(org.apache.olingo.odata2.api.processor.ODataContext context)
    • requestEntity

      protected RequestBatchEntity requestEntity(org.apache.olingo.odata2.api.processor.ODataContext context, InputStream body, int numberOfChangesetsInBatch)
    • getRequestParts

      protected List<org.apache.olingo.odata2.api.batch.BatchRequestPart> getRequestParts(org.apache.olingo.odata2.api.processor.ODataContext context, org.apache.olingo.odata2.core.batch.v2.BatchParser batchParser)
    • getRequest

      protected org.apache.olingo.odata2.api.processor.ODataRequest getRequest(org.apache.olingo.odata2.api.processor.ODataContext context)
    • getConfiguration

      protected ODataServicesConfiguration getConfiguration()
    • setConfiguration

      public void setConfiguration(ODataServicesConfiguration configuration)