Apache CXF API

org.apache.cxf.interceptor
Class LoggingInInterceptor

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

public class LoggingInInterceptor
extends AbstractLoggingInterceptor

A simple logging handler which outputs the bytes of the message to the Logger.


Field Summary
 
Fields inherited from class org.apache.cxf.interceptor.AbstractLoggingInterceptor
limit, LOG, prettyLogging, writer
 
Constructor Summary
LoggingInInterceptor()
           
LoggingInInterceptor(int lim)
           
LoggingInInterceptor(java.io.PrintWriter w)
           
LoggingInInterceptor(java.lang.String phase)
           
 
Method Summary
 void handleMessage(Message message)
          Intercepts a message.
protected  void logging(Message message)
           
 
Methods inherited from class org.apache.cxf.interceptor.AbstractLoggingInterceptor
getLimit, getPrintWriter, isPrettyLogging, log, setLimit, setOutputLocation, setPrettyLogging, setPrintWriter, transform, writePayload
 
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

LoggingInInterceptor

public LoggingInInterceptor()

LoggingInInterceptor

public LoggingInInterceptor(java.lang.String phase)

LoggingInInterceptor

public LoggingInInterceptor(int lim)

LoggingInInterceptor

public LoggingInInterceptor(java.io.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

logging

protected void logging(Message message)
                throws Fault
Throws:
Fault

Apache CXF API

Apache CXF