org.apache.cxf.interceptor
Class LoggingInInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
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.
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
addAfter, addAfter, addBefore, addBefore, getAfter, getBefore, getId, getPhase, handleFault, isGET, setAfter, setBefore |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingInInterceptor
public LoggingInInterceptor()
LoggingInInterceptor
public LoggingInInterceptor(java.lang.String phase)
LoggingInInterceptor
public LoggingInInterceptor(int lim)
LoggingInInterceptor
public LoggingInInterceptor(java.io.PrintWriter w)
setPrintWriter
public void setPrintWriter(java.io.PrintWriter w)
getPrintWriter
public java.io.PrintWriter getPrintWriter()
setLimit
public void setLimit(int lim)
getLimit
public int getLimit()
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
Apache CXF