Package org.igniterealtime.jbosh
Class BOSHClient.ExchangeInterceptor
- java.lang.Object
-
- org.igniterealtime.jbosh.BOSHClient.ExchangeInterceptor
-
- Enclosing class:
- BOSHClient
abstract static class BOSHClient.ExchangeInterceptor extends java.lang.ObjectClass used in testing to dynamically manipulate received exchanges at test runtime.
-
-
Constructor Summary
Constructors Constructor Description ExchangeInterceptor()Limit construction.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description (package private) abstract HTTPExchangeinterceptExchange(HTTPExchange exch)Hook to manipulate an HTTPExchange as is is about to be processed.
-
-
-
Method Detail
-
interceptExchange
abstract HTTPExchange interceptExchange(HTTPExchange exch)
Hook to manipulate an HTTPExchange as is is about to be processed.- Parameters:
exch- original exchange that would be processed- Returns:
- replacement exchange instance, or
nullto skip processing of this exchange
-
-