org.mule.module.cxf.feature
Class PrettyLoggingInInterceptor

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
      extended by org.apache.cxf.interceptor.LoggingInInterceptor
          extended by org.mule.module.cxf.feature.PrettyLoggingInInterceptor
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 PrettyLoggingInInterceptor
extends org.apache.cxf.interceptor.LoggingInInterceptor

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


Constructor Summary
PrettyLoggingInInterceptor()
           
PrettyLoggingInInterceptor(int lim)
           
PrettyLoggingInInterceptor(java.io.PrintWriter w)
           
PrettyLoggingInInterceptor(java.lang.String phase)
           
 
Method Summary
protected  java.lang.String transform(java.lang.String originalLogString)
           
 
Methods inherited from class org.apache.cxf.interceptor.LoggingInInterceptor
getLimit, getPrintWriter, handleMessage, setLimit, setPrintWriter
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, 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

PrettyLoggingInInterceptor

public PrettyLoggingInInterceptor()

PrettyLoggingInInterceptor

public PrettyLoggingInInterceptor(java.lang.String phase)

PrettyLoggingInInterceptor

public PrettyLoggingInInterceptor(int lim)

PrettyLoggingInInterceptor

public PrettyLoggingInInterceptor(java.io.PrintWriter w)
Method Detail

transform

protected java.lang.String transform(java.lang.String originalLogString)
Overrides:
transform in class org.apache.cxf.interceptor.LoggingInInterceptor


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