public abstract class BaseHttpRequestHandler
extends org.apache.http.nio.protocol.SimpleNHttpRequestHandler
implements org.apache.http.protocol.HttpRequestHandler
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
logger |
| Constructor and Description |
|---|
BaseHttpRequestHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.nio.entity.ConsumingNHttpEntity |
entityRequest(org.apache.http.HttpEntityEnclosingRequest request,
org.apache.http.protocol.HttpContext context) |
protected Address |
getServerAddressAtClient(String fullHeader) |
void |
handle(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
The entry point of all HttpRequestHandlers.
|
protected abstract void |
handleClientRequest(String absPath,
Map<String,String> queryItems,
org.apache.http.HttpResponse response,
Address serverAddressAtClient) |
public void handle(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.HttpException,
IOException
handle in interface org.apache.http.protocol.HttpRequestHandlerhandle in class org.apache.http.nio.protocol.SimpleNHttpRequestHandlerorg.apache.http.HttpExceptionIOExceptionprotected abstract void handleClientRequest(String absPath, Map<String,String> queryItems, org.apache.http.HttpResponse response, Address serverAddressAtClient) throws IOException
IOExceptionpublic org.apache.http.nio.entity.ConsumingNHttpEntity entityRequest(org.apache.http.HttpEntityEnclosingRequest request,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.HttpException,
IOException
entityRequest in interface org.apache.http.nio.protocol.NHttpRequestHandlerorg.apache.http.HttpExceptionIOExceptionCopyright © 2000–2016 DFKI GmbH. All rights reserved.