Interface ResponseHandler<R>


public interface ResponseHandler<R>
An interface for handling responses from the Worldline Acquiring platform.
  • Method Details

    • handleResponse

      R handleResponse(int statusCode, InputStream bodyStream, List<ResponseHeader> headers)
      Parameters:
      statusCode - The HTTP status code that was returned by the Worldline Acquiring platform.
      bodyStream - The raw response body that was returned by the Worldline Acquiring platform. Note that it will be closed outside of this method.
      headers - The headers that were returned by the Worldline Acquiring platform. Never null.