public class ExchangeHandler
extends java.lang.Object
| Constructor and Description |
|---|
ExchangeHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
after(Exchange exchange,
com.google.common.collect.FluentIterable<Exchange> partialOutputLog)
Called after the exchange has been replayed.
|
Exchange |
before(Exchange exchange)
Called before un exchange is replayed.
|
boolean |
resetTailOutputLog()
By default, the tail output log is reset before each input exchange.
|
public Exchange before(Exchange exchange) throws java.lang.Exception
exchange - the exchange from input log about to be replayed.java.lang.Exception - Exceptionpublic boolean after(Exchange exchange, com.google.common.collect.FluentIterable<Exchange> partialOutputLog) throws java.lang.Exception
exchange - the actual exchanged. Contains the original request and the actual response of the replay.partialOutputLog - a request log generated by the collector since the last request or according to resetTailOutputLog().java.lang.Exception - Exceptionpublic boolean resetTailOutputLog()