Package com.onlinepayments.communication
Interface ResponseHandler<R>
public interface ResponseHandler<R>
An interface for handling responses from the Online Payments 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 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. Nevernull.
-