|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.jibx.ws.transport.interceptor.CopiedOutputStreamInterceptor
public final class CopiedOutputStreamInterceptor
An interceptor that sniffs the output on the way through.
It can run in two modes.
OutputCompletionListener.
| Constructor Summary | |
|---|---|
CopiedOutputStreamInterceptor(OutputStream copyStream)
Constructor. |
|
CopiedOutputStreamInterceptor(String attributeName)
Constructor. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CopiedOutputStreamInterceptor(String attributeName)
MessageContext.
attributeName - the name of the attribute in which to store the resultpublic CopiedOutputStreamInterceptor(OutputStream copyStream)
copyStream - the stream to copy the output to| Method Detail |
|---|
public void setMessageContext(OutContext ctx)
setMessageContext in interface OutputStreamInterceptorctx - outbound message contextpublic OutputStream intercept(OutputStream outputStream)
intercept in interface OutputStreamInterceptoroutputStream - the input stream of the message from the processor
public void outputComplete()
outputComplete in interface OutputStreamInterceptor
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||