Interface ResponseHandler<R>


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

    • handleResponse

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