public class ExchangeHandler extends 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 Exception
exchange - the exchange from input log about to be replayed.Exception - Exceptionpublic boolean after(Exchange exchange, com.google.common.collect.FluentIterable<Exchange> partialOutputLog) throws 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().Exception - Exceptionpublic boolean resetTailOutputLog()
Copyright © 2016–2017. All rights reserved.