org.talend.esb.sam.agent.wiretap
Class WireTapIn

java.lang.Object
  extended by org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
      extended by org.talend.esb.sam.agent.wiretap.WireTapIn
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 WireTapIn
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>

Creates a CachedOutPutStream in the message that can be used to wiretap the content The interceptor does not yet work streaming so it first copies all the content to the CachedOutputStream and only then lets CXF continue on the message


Constructor Summary
WireTapIn(boolean logMessageContent)
           
 
Method Summary
 void handleMessage(org.apache.cxf.message.Message message)
           
 
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

WireTapIn

public WireTapIn(boolean logMessageContent)
Method Detail

handleMessage

public void handleMessage(org.apache.cxf.message.Message message)
                   throws org.apache.cxf.interceptor.Fault
Throws:
org.apache.cxf.interceptor.Fault


Copyright © 2011 Talend Inc.. All Rights Reserved.