Class InternalRequestExecutor
java.lang.Object
org.apache.http.impl.nio.client.InternalRequestExecutor
- All Implemented Interfaces:
org.apache.http.nio.NHttpClientEventHandler
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInternalRequestExecutor(org.apache.commons.logging.Log log, org.apache.http.nio.NHttpClientEventHandler handler) -
Method Summary
Modifier and TypeMethodDescriptionvoidclosed(org.apache.http.nio.NHttpClientConnection conn) voidvoidendOfInput(org.apache.http.nio.NHttpClientConnection conn) voidvoidinputReady(org.apache.http.nio.NHttpClientConnection conn, org.apache.http.nio.ContentDecoder decoder) voidoutputReady(org.apache.http.nio.NHttpClientConnection conn, org.apache.http.nio.ContentEncoder encoder) voidrequestReady(org.apache.http.nio.NHttpClientConnection conn) voidresponseReceived(org.apache.http.nio.NHttpClientConnection conn) voidtimeout(org.apache.http.nio.NHttpClientConnection conn)
-
Field Details
-
log
private final org.apache.commons.logging.Log log -
handler
private final org.apache.http.nio.NHttpClientEventHandler handler
-
-
Constructor Details
-
InternalRequestExecutor
public InternalRequestExecutor(org.apache.commons.logging.Log log, org.apache.http.nio.NHttpClientEventHandler handler)
-
-
Method Details
-
connected
public void connected(org.apache.http.nio.NHttpClientConnection conn, Object attachment) throws IOException, org.apache.http.HttpException - Specified by:
connectedin interfaceorg.apache.http.nio.NHttpClientEventHandler- Throws:
IOExceptionorg.apache.http.HttpException
-
closed
public void closed(org.apache.http.nio.NHttpClientConnection conn) - Specified by:
closedin interfaceorg.apache.http.nio.NHttpClientEventHandler
-
requestReady
public void requestReady(org.apache.http.nio.NHttpClientConnection conn) throws IOException, org.apache.http.HttpException - Specified by:
requestReadyin interfaceorg.apache.http.nio.NHttpClientEventHandler- Throws:
IOExceptionorg.apache.http.HttpException
-
inputReady
public void inputReady(org.apache.http.nio.NHttpClientConnection conn, org.apache.http.nio.ContentDecoder decoder) throws IOException, org.apache.http.HttpException - Specified by:
inputReadyin interfaceorg.apache.http.nio.NHttpClientEventHandler- Throws:
IOExceptionorg.apache.http.HttpException
-
outputReady
public void outputReady(org.apache.http.nio.NHttpClientConnection conn, org.apache.http.nio.ContentEncoder encoder) throws IOException, org.apache.http.HttpException - Specified by:
outputReadyin interfaceorg.apache.http.nio.NHttpClientEventHandler- Throws:
IOExceptionorg.apache.http.HttpException
-
responseReceived
public void responseReceived(org.apache.http.nio.NHttpClientConnection conn) throws org.apache.http.HttpException, IOException - Specified by:
responseReceivedin interfaceorg.apache.http.nio.NHttpClientEventHandler- Throws:
org.apache.http.HttpExceptionIOException
-
timeout
public void timeout(org.apache.http.nio.NHttpClientConnection conn) throws org.apache.http.HttpException, IOException - Specified by:
timeoutin interfaceorg.apache.http.nio.NHttpClientEventHandler- Throws:
org.apache.http.HttpExceptionIOException
-
exception
- Specified by:
exceptionin interfaceorg.apache.http.nio.NHttpClientEventHandler
-
endOfInput
- Specified by:
endOfInputin interfaceorg.apache.http.nio.NHttpClientEventHandler- Throws:
IOException
-