org.apache.axis2.transport.nhttp
Class LoggingNHttpClientHandler
java.lang.Object
org.apache.axis2.transport.nhttp.LoggingNHttpClientHandler
- All Implemented Interfaces:
- org.apache.http.nio.NHttpClientHandler
public class LoggingNHttpClientHandler
- extends java.lang.Object
- implements org.apache.http.nio.NHttpClientHandler
Decorator class intended to transparently extend an NHttpClientHandler
with basic event logging capabilities using Commons Logging.
Method Summary |
void |
closed(org.apache.http.nio.NHttpClientConnection conn)
|
void |
connected(org.apache.http.nio.NHttpClientConnection conn,
java.lang.Object attachment)
|
void |
exception(org.apache.http.nio.NHttpClientConnection conn,
org.apache.http.HttpException ex)
|
void |
exception(org.apache.http.nio.NHttpClientConnection conn,
java.io.IOException 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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingNHttpClientHandler
public LoggingNHttpClientHandler(org.apache.http.nio.NHttpClientHandler handler)
connected
public void connected(org.apache.http.nio.NHttpClientConnection conn,
java.lang.Object attachment)
- Specified by:
connected
in interface org.apache.http.nio.NHttpClientHandler
closed
public void closed(org.apache.http.nio.NHttpClientConnection conn)
- Specified by:
closed
in interface org.apache.http.nio.NHttpClientHandler
exception
public void exception(org.apache.http.nio.NHttpClientConnection conn,
java.io.IOException ex)
- Specified by:
exception
in interface org.apache.http.nio.NHttpClientHandler
exception
public void exception(org.apache.http.nio.NHttpClientConnection conn,
org.apache.http.HttpException ex)
- Specified by:
exception
in interface org.apache.http.nio.NHttpClientHandler
requestReady
public void requestReady(org.apache.http.nio.NHttpClientConnection conn)
- Specified by:
requestReady
in interface org.apache.http.nio.NHttpClientHandler
outputReady
public void outputReady(org.apache.http.nio.NHttpClientConnection conn,
org.apache.http.nio.ContentEncoder encoder)
- Specified by:
outputReady
in interface org.apache.http.nio.NHttpClientHandler
responseReceived
public void responseReceived(org.apache.http.nio.NHttpClientConnection conn)
- Specified by:
responseReceived
in interface org.apache.http.nio.NHttpClientHandler
inputReady
public void inputReady(org.apache.http.nio.NHttpClientConnection conn,
org.apache.http.nio.ContentDecoder decoder)
- Specified by:
inputReady
in interface org.apache.http.nio.NHttpClientHandler
timeout
public void timeout(org.apache.http.nio.NHttpClientConnection conn)
- Specified by:
timeout
in interface org.apache.http.nio.NHttpClientHandler
Copyright © 2007 Apache Web Services Project. All Rights Reserved.