public class TargetHandler extends Object implements org.apache.http.nio.NHttpClientEventHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGE_SIZE_VALIDATION |
static String |
PROPERTY_FILE |
static String |
VALID_MAX_MESSAGE_SIZE |
| Constructor and Description |
|---|
TargetHandler(DeliveryAgent deliveryAgent,
ClientConnFactory connFactory,
TargetConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
closed(org.apache.http.nio.NHttpClientConnection conn) |
void |
connected(org.apache.http.nio.NHttpClientConnection conn,
Object o) |
void |
endOfInput(org.apache.http.nio.NHttpClientConnection conn) |
void |
exception(org.apache.http.nio.NHttpClientConnection conn,
Exception ex) |
TargetConfiguration |
getTargetConfiguration() |
void |
inputReady(org.apache.http.nio.NHttpClientConnection conn,
org.apache.http.nio.ContentDecoder decoder) |
void |
outputReady(org.apache.http.nio.NHttpClientConnection conn,
org.apache.http.nio.ContentEncoder encoder) |
void |
requestReady(org.apache.http.nio.NHttpClientConnection conn) |
void |
responseReceived(org.apache.http.nio.NHttpClientConnection conn) |
void |
setConnFactory(ClientConnFactory connFactory) |
void |
timeout(org.apache.http.nio.NHttpClientConnection conn) |
public static final String PROPERTY_FILE
public static final String MESSAGE_SIZE_VALIDATION
public static final String VALID_MAX_MESSAGE_SIZE
public TargetHandler(DeliveryAgent deliveryAgent, ClientConnFactory connFactory, TargetConfiguration configuration)
public void connected(org.apache.http.nio.NHttpClientConnection conn,
Object o)
connected in interface org.apache.http.nio.NHttpClientEventHandlerpublic void requestReady(org.apache.http.nio.NHttpClientConnection conn)
requestReady in interface org.apache.http.nio.NHttpClientEventHandlerpublic void outputReady(org.apache.http.nio.NHttpClientConnection conn,
org.apache.http.nio.ContentEncoder encoder)
outputReady in interface org.apache.http.nio.NHttpClientEventHandlerpublic void responseReceived(org.apache.http.nio.NHttpClientConnection conn)
responseReceived in interface org.apache.http.nio.NHttpClientEventHandlerpublic void inputReady(org.apache.http.nio.NHttpClientConnection conn,
org.apache.http.nio.ContentDecoder decoder)
inputReady in interface org.apache.http.nio.NHttpClientEventHandlerpublic void closed(org.apache.http.nio.NHttpClientConnection conn)
closed in interface org.apache.http.nio.NHttpClientEventHandlerpublic void timeout(org.apache.http.nio.NHttpClientConnection conn)
timeout in interface org.apache.http.nio.NHttpClientEventHandlerpublic void endOfInput(org.apache.http.nio.NHttpClientConnection conn)
throws IOException
endOfInput in interface org.apache.http.nio.NHttpClientEventHandlerIOExceptionpublic void exception(org.apache.http.nio.NHttpClientConnection conn,
Exception ex)
exception in interface org.apache.http.nio.NHttpClientEventHandlerpublic void setConnFactory(ClientConnFactory connFactory)
public TargetConfiguration getTargetConfiguration()
Copyright © 2005–2019 Apache Software Foundation. All rights reserved.