AsyncNHttpClientHandler, AsyncNHttpServiceHandler, ThrottlingHttpClientHandler, ThrottlingHttpServiceHandler@Deprecated
public abstract class NHttpHandlerBase
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected ByteBufferAllocator |
allocator |
Deprecated.
|
protected static java.lang.String |
CONN_STATE |
Deprecated.
|
protected org.apache.http.ConnectionReuseStrategy |
connStrategy |
Deprecated.
|
protected EventListener |
eventListener |
Deprecated.
|
protected org.apache.http.protocol.HttpProcessor |
httpProcessor |
Deprecated.
|
protected org.apache.http.params.HttpParams |
params |
Deprecated.
|
| Constructor | Description |
|---|---|
NHttpHandlerBase(org.apache.http.protocol.HttpProcessor httpProcessor,
org.apache.http.ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
canResponseHaveBody(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response) |
Deprecated.
|
protected void |
closeConnection(NHttpConnection conn,
java.lang.Throwable cause) |
Deprecated.
|
org.apache.http.params.HttpParams |
getParams() |
Deprecated.
|
protected void |
handleTimeout(NHttpConnection conn) |
Deprecated.
|
void |
setEventListener(EventListener eventListener) |
Deprecated.
|
protected void |
shutdownConnection(NHttpConnection conn,
java.lang.Throwable cause) |
Deprecated.
|
protected static final java.lang.String CONN_STATE
protected final org.apache.http.protocol.HttpProcessor httpProcessor
protected final org.apache.http.ConnectionReuseStrategy connStrategy
protected final ByteBufferAllocator allocator
protected final org.apache.http.params.HttpParams params
protected EventListener eventListener
public NHttpHandlerBase(org.apache.http.protocol.HttpProcessor httpProcessor,
org.apache.http.ConnectionReuseStrategy connStrategy,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params)
public org.apache.http.params.HttpParams getParams()
public void setEventListener(EventListener eventListener)
protected void closeConnection(NHttpConnection conn, java.lang.Throwable cause)
protected void shutdownConnection(NHttpConnection conn, java.lang.Throwable cause)
protected void handleTimeout(NHttpConnection conn)
protected boolean canResponseHaveBody(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response)