org.apache.cxf.feature
Class LoggingFeature
java.lang.Object
org.apache.cxf.feature.AbstractFeature
org.apache.cxf.feature.LoggingFeature
- All Implemented Interfaces:
- Feature
public class LoggingFeature
- extends AbstractFeature
This class is used to control message-on-the-wire logging.
By attaching this feature to an endpoint, you
can specify logging. If this feature is present, an endpoint will log input
and output of ordinary and log messages.
]]>
|
Constructor Summary |
LoggingFeature()
|
LoggingFeature(int lim)
|
LoggingFeature(Logging annotation)
|
LoggingFeature(String in,
String out)
|
LoggingFeature(String in,
String out,
int lim)
|
LoggingFeature(String in,
String out,
int lim,
boolean p)
|
LoggingFeature(String in,
String out,
int lim,
boolean p,
boolean showBinary)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingFeature
public LoggingFeature()
LoggingFeature
public LoggingFeature(int lim)
LoggingFeature
public LoggingFeature(String in,
String out)
LoggingFeature
public LoggingFeature(String in,
String out,
int lim)
LoggingFeature
public LoggingFeature(String in,
String out,
int lim,
boolean p)
LoggingFeature
public LoggingFeature(String in,
String out,
int lim,
boolean p,
boolean showBinary)
LoggingFeature
public LoggingFeature(Logging annotation)
initializeProvider
protected void initializeProvider(InterceptorProvider provider,
Bus bus)
- Overrides:
initializeProvider in class AbstractFeature
setLimit
public void setLimit(int lim)
- This function has no effect at this time.
- Parameters:
lim -
getLimit
public int getLimit()
- Retrieve the value set with
setLimit(int).
- Returns:
isPrettyLogging
public boolean isPrettyLogging()
- Returns:
setPrettyLogging
public void setPrettyLogging(boolean prettyLogging)
- Turn pretty logging of XML content on/off
- Parameters:
prettyLogging -
Apache CXF