org.jibx.ws.transport.interceptor
Interface OutputStreamInterceptor

All Known Implementing Classes:
CopiedOutputStreamInterceptor

public interface OutputStreamInterceptor

Provides the ability to intercept the output stream for an outbound message.


Method Summary
 OutputStream intercept(OutputStream outputStream)
          Allows the interceptor to hook into the output stream.
 void outputComplete()
          Notifies the interceptor that output is complete.
 void setMessageContext(OutContext ctx)
          Sets the outbound message context for the interceptor to store data in.
 

Method Detail

setMessageContext

void setMessageContext(OutContext ctx)
Sets the outbound message context for the interceptor to store data in.

Parameters:
ctx - outbound message context

outputComplete

void outputComplete()
Notifies the interceptor that output is complete.


intercept

OutputStream intercept(OutputStream outputStream)
Allows the interceptor to hook into the output stream.

Parameters:
outputStream - the input stream of the message from the processor
Returns:
the output stream that will be presented to the transport


Project Web Site