class InternalRequestExecutor
extends java.lang.Object
implements org.apache.http.nio.NHttpClientEventHandler
Modifier and Type | Field and Description |
---|---|
private org.apache.http.nio.NHttpClientEventHandler |
handler |
private org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
InternalRequestExecutor(org.apache.commons.logging.Log log,
org.apache.http.nio.NHttpClientEventHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
closed(org.apache.http.nio.NHttpClientConnection conn) |
void |
connected(org.apache.http.nio.NHttpClientConnection conn,
java.lang.Object attachment) |
void |
endOfInput(org.apache.http.nio.NHttpClientConnection conn) |
void |
exception(org.apache.http.nio.NHttpClientConnection conn,
java.lang.Exception ex) |
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 |
timeout(org.apache.http.nio.NHttpClientConnection conn) |
private final org.apache.commons.logging.Log log
private final org.apache.http.nio.NHttpClientEventHandler handler
public InternalRequestExecutor(org.apache.commons.logging.Log log, org.apache.http.nio.NHttpClientEventHandler handler)
public void connected(org.apache.http.nio.NHttpClientConnection conn, java.lang.Object attachment) throws java.io.IOException, org.apache.http.HttpException
connected
in interface org.apache.http.nio.NHttpClientEventHandler
java.io.IOException
org.apache.http.HttpException
public void closed(org.apache.http.nio.NHttpClientConnection conn)
closed
in interface org.apache.http.nio.NHttpClientEventHandler
public void requestReady(org.apache.http.nio.NHttpClientConnection conn) throws java.io.IOException, org.apache.http.HttpException
requestReady
in interface org.apache.http.nio.NHttpClientEventHandler
java.io.IOException
org.apache.http.HttpException
public void inputReady(org.apache.http.nio.NHttpClientConnection conn, org.apache.http.nio.ContentDecoder decoder) throws java.io.IOException, org.apache.http.HttpException
inputReady
in interface org.apache.http.nio.NHttpClientEventHandler
java.io.IOException
org.apache.http.HttpException
public void outputReady(org.apache.http.nio.NHttpClientConnection conn, org.apache.http.nio.ContentEncoder encoder) throws java.io.IOException, org.apache.http.HttpException
outputReady
in interface org.apache.http.nio.NHttpClientEventHandler
java.io.IOException
org.apache.http.HttpException
public void responseReceived(org.apache.http.nio.NHttpClientConnection conn) throws org.apache.http.HttpException, java.io.IOException
responseReceived
in interface org.apache.http.nio.NHttpClientEventHandler
org.apache.http.HttpException
java.io.IOException
public void timeout(org.apache.http.nio.NHttpClientConnection conn) throws org.apache.http.HttpException, java.io.IOException
timeout
in interface org.apache.http.nio.NHttpClientEventHandler
org.apache.http.HttpException
java.io.IOException
public void exception(org.apache.http.nio.NHttpClientConnection conn, java.lang.Exception ex)
exception
in interface org.apache.http.nio.NHttpClientEventHandler
public void endOfInput(org.apache.http.nio.NHttpClientConnection conn) throws java.io.IOException
endOfInput
in interface org.apache.http.nio.NHttpClientEventHandler
java.io.IOException