Interface IHttpResponseHandler
public interface IHttpResponseHandler
This interface describes a handler that handles an http response.
- Since:
- 9.0
- Author:
- Jon van Leuven
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleResponse
(IHttpResponse httpResponse, InputStream response) This method is called by the IHttpConnection.invoke method and receives the http response stream and http response code.
-
Method Details
-
handleResponse
This method is called by the IHttpConnection.invoke method and receives the http response stream and http response code.- Parameters:
httpResponse
- Object containing the http response code of the handled http response.response
- The http response stream of the handled http response, may be null.- Throws:
IOException
- This exception should be thrown when the response could not be handled properly.
-