Package 

Interface RequestFactory


  • 
    public interface RequestFactory
    
                        

    Factory used to build requests from the batches stored.

    • Method Detail

      • create

         abstract Request create(DatadogContext context, RequestExecutionContext executionContext, List<RawBatchEvent> batchData, ByteArray batchMetadata)

        Creates a request for the given batch.

        Parameters:
        context - Datadog SDK context.
        executionContext - Information about the execution context this request in case of a previous retry.
        batchData - Raw data of the batch.
        batchMetadata - Raw metadata of the batch.