Apache CXF API

org.apache.cxf.interceptor
Class LoggingOutInterceptor

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

public class LoggingOutInterceptor
extends AbstractLoggingInterceptor


Field Summary
 
Fields inherited from class org.apache.cxf.interceptor.AbstractLoggingInterceptor
BINARY_CONTENT_MESSAGE, limit, prettyLogging, threshold, writer
 
Constructor Summary
LoggingOutInterceptor()
           
LoggingOutInterceptor(int lim)
           
LoggingOutInterceptor(PrintWriter w)
           
LoggingOutInterceptor(String phase)
           
 
Method Summary
protected  String formatLoggingMessage(LoggingMessage buffer)
           
protected  Logger getLogger()
           
 void handleMessage(Message message)
          Intercepts a message.
 
Methods inherited from class org.apache.cxf.interceptor.AbstractLoggingInterceptor
getInMemThreshold, getLimit, getPrintWriter, isBinaryContent, isPrettyLogging, isShowBinaryContent, log, setInMemThreshold, setLimit, setOutputLocation, setPrettyLogging, setPrintWriter, setShowBinaryContent, transform, writePayload, 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

LoggingOutInterceptor

public LoggingOutInterceptor(String phase)

LoggingOutInterceptor

public LoggingOutInterceptor()

LoggingOutInterceptor

public LoggingOutInterceptor(int lim)

LoggingOutInterceptor

public LoggingOutInterceptor(PrintWriter w)
Method Detail

handleMessage

public void handleMessage(Message message)
                   throws Fault
Description copied from interface: Interceptor
Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.

Throws:
Fault

formatLoggingMessage

protected String formatLoggingMessage(LoggingMessage buffer)

getLogger

protected Logger getLogger()
Specified by:
getLogger in class AbstractLoggingInterceptor

Apache CXF API

Apache CXF