|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.jibx.ws.transport.interceptor.CopiedInputStreamInterceptor
public final class CopiedInputStreamInterceptor
An interceptor that sniffs the input on the way through.
It can run in two modes.
MessageContext. This is convenient for use on the server side.
| Constructor Summary | |
|---|---|
CopiedInputStreamInterceptor(OutputStream copyStream)
Constructor. |
|
CopiedInputStreamInterceptor(String attributeName)
Constructor. |
|
| Method Summary | |
|---|---|
void |
inputComplete()
Notifies the interceptor that input is complete. |
InputStream |
intercept(InputStream inputStream)
Allows the interceptor to hook into the input stream. |
void |
setMessageContext(InContext ctx)
Sets the inbound 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 CopiedInputStreamInterceptor(String attributeName)
MessageContext.
attributeName - the name of the attribute in which to store the resultpublic CopiedInputStreamInterceptor(OutputStream copyStream)
copyStream - the stream to copy the input to| Method Detail |
|---|
public void setMessageContext(InContext ctx)
setMessageContext in interface InputStreamInterceptorctx - inbound message contextpublic InputStream intercept(InputStream inputStream)
intercept in interface InputStreamInterceptorinputStream - the input stream of the request from the transport
public void inputComplete()
inputComplete in interface InputStreamInterceptor
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||