Package org.lockss.ws.cxf
Class LockssLoggingFeature
java.lang.Object
jakarta.xml.ws.WebServiceFeature
org.apache.cxf.feature.AbstractFeature
org.lockss.ws.cxf.LockssLoggingFeature
- All Implemented Interfaces:
org.apache.cxf.feature.AbstractPortableFeature,org.apache.cxf.feature.Feature
public class LockssLoggingFeature
extends org.apache.cxf.feature.AbstractFeature
This class is used to control message-on-the-wire logging at log level TRACE instead of the
default log level INFO of org.apache.cxf.ext.logging.LoggingFeature. Usage:
<![CDATA[ <jaxws:endpoint ...> <jaxws:features></jaxws:features> </jaxws:endpoint> ]]>
-
Field Summary
Fields inherited from class jakarta.xml.ws.WebServiceFeature
enabled -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinitializeProvider(org.apache.cxf.interceptor.InterceptorProvider provider, org.apache.cxf.Bus bus) voidsetInMemThreshold(long inMemThreshold) voidsetInSender(org.apache.cxf.ext.logging.event.LogEventSender s) voidsetLimit(int limit) voidsetLogBinary(boolean logBinary) Log binary content?voidsetLogMultipart(boolean logMultipart) Log multipart content?voidsetOutSender(org.apache.cxf.ext.logging.event.LogEventSender s) voidsetPrettyLogging(boolean prettyLogging) voidsetSender(org.apache.cxf.ext.logging.event.LogEventSender sender) voidsetVerbose(boolean verbose) Methods inherited from class org.apache.cxf.feature.AbstractFeature
doInitializeProvider, getActive, getID, isEnabledMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.feature.AbstractPortableFeature
initialize, initialize, initialize, initialize
-
Constructor Details
-
LockssLoggingFeature
public LockssLoggingFeature()Default constructor.
-
-
Method Details
-
initializeProvider
protected void initializeProvider(org.apache.cxf.interceptor.InterceptorProvider provider, org.apache.cxf.Bus bus) - Overrides:
initializeProviderin classorg.apache.cxf.feature.AbstractFeature
-
setLimit
public void setLimit(int limit) -
setInMemThreshold
public void setInMemThreshold(long inMemThreshold) -
setSender
public void setSender(org.apache.cxf.ext.logging.event.LogEventSender sender) -
setInSender
public void setInSender(org.apache.cxf.ext.logging.event.LogEventSender s) -
setOutSender
public void setOutSender(org.apache.cxf.ext.logging.event.LogEventSender s) -
setPrettyLogging
public void setPrettyLogging(boolean prettyLogging) -
setLogBinary
public void setLogBinary(boolean logBinary) Log binary content?- Parameters:
logBinary- defaults to false
-
setLogMultipart
public void setLogMultipart(boolean logMultipart) Log multipart content?- Parameters:
logMultipart- defaults to true
-
setVerbose
public void setVerbose(boolean verbose)
-