Class AbstractLoggingInterceptor

java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.apache.cxf.ext.logging.AbstractLoggingInterceptor
All Implemented Interfaces:
org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
Direct Known Subclasses:
LoggingInInterceptor, LoggingOutInterceptor

public abstract class AbstractLoggingInterceptor extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
  • Field Details

  • Constructor Details

    • AbstractLoggingInterceptor

      public AbstractLoggingInterceptor(String phase, LogEventSender sender)
  • Method Details

    • isLoggingDisabledNow

      protected static boolean isLoggingDisabledNow(org.apache.cxf.message.Message message) throws org.apache.cxf.interceptor.Fault
      Throws:
      org.apache.cxf.interceptor.Fault
    • addBinaryContentMediaTypes

      public void addBinaryContentMediaTypes(String mediaTypes)
    • setLimit

      public void setLimit(int lim)
    • getLimit

      public int getLimit()
    • setInMemThreshold

      public void setInMemThreshold(long t)
    • getInMemThreshold

      public long getInMemThreshold()
    • setSensitiveElementNames

      public void setSensitiveElementNames(Set<String> sensitiveElementNames)
    • addSensitiveElementNames

      public void addSensitiveElementNames(Set<String> sensitiveElementNames)
    • setSensitiveProtocolHeaderNames

      public void setSensitiveProtocolHeaderNames(Set<String> protocolHeaderNames)
    • addSensitiveProtocolHeaderNames

      public void addSensitiveProtocolHeaderNames(Set<String> protocolHeaderNames)
    • setSensitiveDataHelper

      public void setSensitiveDataHelper(MaskSensitiveHelper helper)
    • setPrettyLogging

      public void setPrettyLogging(boolean prettyLogging)
    • shouldLogContent

      protected boolean shouldLogContent(LogEvent event)
    • setLogBinary

      public void setLogBinary(boolean logBinary)
    • setLogMultipart

      public void setLogMultipart(boolean logMultipart)
    • createExchangeId

      public void createExchangeId(org.apache.cxf.message.Message message)
    • transform

      protected String transform(org.apache.cxf.message.Message message, String originalLogString)
    • maskSensitiveElements

      protected String maskSensitiveElements(org.apache.cxf.message.Message message, String originalLogString)
    • stripBinaryParts

      protected String stripBinaryParts(LogEvent event, String originalLogString)