Package rocks.xmpp.core.net
Interface WriterInterceptor
-
- All Known Subinterfaces:
XmppDebugger
- All Known Implementing Classes:
ClientStreamManager,ConsoleDebugger,XmppStreamEncoder
public interface WriterInterceptorInterceptsStreamElements before writing them to the wire.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocess(StreamElement streamElement, Writer writer, WriterInterceptorChain chain)The stream element which will be written.
-
-
-
Method Detail
-
process
void process(StreamElement streamElement, Writer writer, WriterInterceptorChain chain) throws Exception
The stream element which will be written.- Parameters:
streamElement- The stream element which will be written.writer- The writer to which the stream element is written.chain- The writer chain, which allows to proceed to the next interceptor.- Throws:
Exception- Any exception happening during interception.
-
-