public class RawLoggingFilter
extends com.sun.jersey.api.client.filter.ClientFilter
| Constructor and Description |
|---|
RawLoggingFilter()
Create a logging filter logging the request and response to a default JDK
logger, named as the fully qualified class name of this class.
|
RawLoggingFilter(Logger logger)
Create a logging filter logging the request and response to a JDK logger.
|
RawLoggingFilter(PrintStream loggingStream)
Create a logging filter logging the request and response to print stream.
|
| Modifier and Type | Method and Description |
|---|---|
com.sun.jersey.api.client.ClientResponse |
handle(com.sun.jersey.api.client.ClientRequest request) |
public RawLoggingFilter()
public RawLoggingFilter(Logger logger)
logger - the logger to log requests and responses.public RawLoggingFilter(PrintStream loggingStream)
loggingStream - the print stream to log requests and responses.public com.sun.jersey.api.client.ClientResponse handle(com.sun.jersey.api.client.ClientRequest request)
throws com.sun.jersey.api.client.ClientHandlerException
handle in interface com.sun.jersey.api.client.ClientHandlerhandle in class com.sun.jersey.api.client.filter.ClientFiltercom.sun.jersey.api.client.ClientHandlerExceptionCopyright © 2012. All Rights Reserved.