org.mule.module.cxf.feature
Class PrettyLoggingOutInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
      extended by org.apache.cxf.interceptor.AbstractLoggingInterceptor
          extended by org.apache.cxf.interceptor.LoggingOutInterceptor
              extended by org.mule.module.cxf.feature.PrettyLoggingOutInterceptor
All Implemented Interfaces:
org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>

public class PrettyLoggingOutInterceptor
extends org.apache.cxf.interceptor.LoggingOutInterceptor

Takes the log output from the standard CXF LoggingInterceptor, disassembles it, pretty-prints the XML payload, then puts it all back together again.


Field Summary
 
Fields inherited from class org.apache.cxf.interceptor.AbstractLoggingInterceptor
BINARY_CONTENT_MESSAGE, limit, prettyLogging, threshold, writer
 
Constructor Summary
PrettyLoggingOutInterceptor()
           
PrettyLoggingOutInterceptor(int lim)
           
PrettyLoggingOutInterceptor(PrintWriter w)
           
PrettyLoggingOutInterceptor(String phase)
           
 
Method Summary
protected  String transform(String originalLogString)
           
 
Methods inherited from class org.apache.cxf.interceptor.LoggingOutInterceptor
getLogger, handleMessage
 
Methods inherited from class org.apache.cxf.interceptor.AbstractLoggingInterceptor
getInMemThreshold, getLimit, getPrintWriter, isBinaryContent, isPrettyLogging, isShowBinaryContent, log, setInMemThreshold, setLimit, setOutputLocation, setPrettyLogging, setPrintWriter, setShowBinaryContent, writePayload
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrettyLoggingOutInterceptor

public PrettyLoggingOutInterceptor()

PrettyLoggingOutInterceptor

public PrettyLoggingOutInterceptor(String phase)

PrettyLoggingOutInterceptor

public PrettyLoggingOutInterceptor(int lim)

PrettyLoggingOutInterceptor

public PrettyLoggingOutInterceptor(PrintWriter w)
Method Detail

transform

protected String transform(String originalLogString)
Overrides:
transform in class org.apache.cxf.interceptor.AbstractLoggingInterceptor


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.