Interface BodyHandler


public interface BodyHandler
An interface for handling binary responses.
  • Method Details

    • handleBody

      void handleBody(InputStream bodyStream, List<ResponseHeader> headers) throws IOException
      Parameters:
      bodyStream - The raw response body as an input stream. Note that it will be closed outside of this method.
      headers - The headers that were returned by the Online Payments platform. Never null.
      Throws:
      IOException