NHttpRequestHandlerBasicAsyncRequestHandler@Deprecated public abstract class SimpleNHttpRequestHandler extends java.lang.Object implements NHttpRequestHandler
NHttpRequestHandler that abstracts away
the need to use NHttpResponseTrigger. Implementations need only to
implement handle(HttpRequest, HttpResponse, HttpContext).| Constructor | Description |
|---|---|
SimpleNHttpRequestHandler() |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
handle(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
NHttpResponseTrigger trigger,
org.apache.http.protocol.HttpContext context) |
Deprecated.
Initiates processing of the request.
|
abstract void |
handle(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context) |
Deprecated.
|
entityRequestpublic final void handle(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
NHttpResponseTrigger trigger,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.HttpException,
java.io.IOException
NHttpRequestHandlerNHttpResponseTrigger
passed as a parameter to submit a response as at a later point of time
once content of the response becomes available.handle in interface NHttpRequestHandlerrequest - the HTTP request.response - the HTTP response.trigger - the response trigger.context - the HTTP execution context.org.apache.http.HttpException - in case of HTTP protocol violation or a processing
problem.java.io.IOException - in case of an I/O error.public abstract void handle(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.HttpException,
java.io.IOException
org.apache.http.HttpExceptionjava.io.IOException