Class DeliveryResponse


  • public class DeliveryResponse
    extends Object
    Delivery response is the output from delivery.
    • Constructor Detail

      • DeliveryResponse

        public DeliveryResponse​(Response response,
                                String clientRequestId,
                                ExecutionServer executionServer,
                                DeliveryException exception)
        Instantiates a new delivery response.
        Parameters:
        response - the response from Delivery
        clientRequestId - the client request id
        executionServer - the execution server (SDK or API)
        exception - if an exception was encountered
    • Method Detail

      • getExecutionServer

        public ExecutionServer getExecutionServer()
        Gets the execution server (SDK or API).
        Returns:
        the execution server
      • getClientRequestId

        public String getClientRequestId()
        Gets the client request id.
        Returns:
        the client request id
      • getResponse

        public Response getResponse()
        Gets the response.
        Returns:
        the response
      • getException

        public DeliveryException getException()
        Gets an exception.
        Returns:
        the exception