public interface Handler<T>
| Modifier and Type | Method and Description |
|---|---|
T |
getContent() |
void |
handle(UserAgent ua,
HttpResponse response,
InputStream inputStream,
BufferedReader br)
Handle the response data by reading from either the InputStream or the BufferedReader
|
void handle(UserAgent ua, HttpResponse response, InputStream inputStream, BufferedReader br) throws Exception
ua - the UserAgentresponse - contains meta-data of the the response.inputStream - for content of the response to be read/processed.ExceptionT getContent()