Package com.worldline.acquiring.sdk.java
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 Worldline Acquiring platform. Nevernull.- Throws:
IOException
-