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

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

Create a CachedOutputStream on the message that can be used to Wiretap the content. Additionally it registers an optional interceptor that is called as soon as the output stream is closed


Constructor Summary
WireTapOut(org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message> wireTap, 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

WireTapOut

public WireTapOut(org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message> wireTap,
                  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.