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
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    initializeProvider(org.apache.cxf.interceptor.InterceptorProvider provider, org.apache.cxf.Bus bus)
     
    void
    setInMemThreshold(long inMemThreshold)
     
    void
    setInSender(org.apache.cxf.ext.logging.event.LogEventSender s)
     
    void
    setLimit(int limit)
     
    void
    setLogBinary(boolean logBinary)
    Log binary content?
    void
    setLogMultipart(boolean logMultipart)
    Log multipart content?
    void
    setOutSender(org.apache.cxf.ext.logging.event.LogEventSender s)
     
    void
    setPrettyLogging(boolean prettyLogging)
     
    void
    setSender(org.apache.cxf.ext.logging.event.LogEventSender sender)
     
    void
    setVerbose(boolean verbose)
     

    Methods inherited from class org.apache.cxf.feature.AbstractFeature

    doInitializeProvider, getActive, getID, isEnabled

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      initializeProvider in class org.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)