Interface ResponseHandler<R>
public interface ResponseHandler<R>
An interface for handling responses from the Worldline Acquiring platform.
-
Method Summary
Modifier and TypeMethodDescriptionhandleResponse(int statusCode, InputStream bodyStream, List<ResponseHeader> headers)
-
Method Details
-
handleResponse
- 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. Nevernull.
-