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.LoggingInInterceptor
All Implemented Interfaces:
Interceptor<Message>, PhaseInterceptor<Message>

public class LoggingInInterceptor
extends AbstractPhaseInterceptor<Message>

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


Constructor Summary
LoggingInInterceptor()
           
 
Method Summary
 void handleMessage(Message message)
          Intercepts a message.
 
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addBefore, getAfter, getBefore, getId, getPhase, handleFault, isGET
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingInInterceptor

public LoggingInInterceptor()
Method Detail

handleMessage

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

Throws:
Fault

Apache CXF API

Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.