| Constructor and Description |
|---|
HandlerForText() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Returns the content or null.
|
HttpResponse |
getResponse()
Returns the HttpResponse, which represents meta-information associated with the HTTP response.
|
void |
handle(UserAgent ua,
HttpResponse response,
InputStream is,
BufferedReader br)
Satisfies interface.
|
public void handle(UserAgent ua, HttpResponse response, InputStream is, BufferedReader br) throws Exception
public HttpResponse getResponse()
public String getContent()
getContent in interface Handler<String>