org.mule.module.cxf.feature
Class PrettyLoggingOutInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.apache.cxf.interceptor.AbstractLoggingInterceptor
org.apache.cxf.interceptor.LoggingOutInterceptor
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.
Fields inherited from class org.apache.cxf.interceptor.AbstractLoggingInterceptor |
BINARY_CONTENT_MESSAGE, limit, prettyLogging, threshold, writer |
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 |
PrettyLoggingOutInterceptor
public PrettyLoggingOutInterceptor()
PrettyLoggingOutInterceptor
public PrettyLoggingOutInterceptor(String phase)
PrettyLoggingOutInterceptor
public PrettyLoggingOutInterceptor(int lim)
PrettyLoggingOutInterceptor
public PrettyLoggingOutInterceptor(PrintWriter w)
transform
protected String transform(String originalLogString)
- Overrides:
transform
in class org.apache.cxf.interceptor.AbstractLoggingInterceptor
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.