Package com.onlinepayments
Interface BodyHandler
public interface BodyHandler
An interface for handling binary responses.
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleBody(InputStream bodyStream, List<ResponseHeader> headers)
-
Method Details
-
handleBody
- 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. Nevernull.- Throws:
IOException
-