| Package | Description |
|---|---|
| org.swisspush.gateleen.player.exchange | |
| org.swisspush.gateleen.player.log | |
| org.swisspush.gateleen.player.player |
| Modifier and Type | Method and Description |
|---|---|
Exchange |
ReplaceStringTransformer.apply(Exchange exchange) |
Exchange |
IgnoreHeadersTransformer.apply(Exchange exchange) |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Function<Exchange,Exchange> |
IgnoreHeadersTransformer.ignoreCommonHeaders()
Predefined transformer removing common headers unnecessary in comparisons:
connection
host
accept
user-agent
accept-encoding
content-length
x-client-timestamp
x-server-timestamp
|
static com.google.common.base.Function<Exchange,Exchange> |
IgnoreHeadersTransformer.ignoreCommonHeaders()
Predefined transformer removing common headers unnecessary in comparisons:
connection
host
accept
user-agent
accept-encoding
content-length
x-client-timestamp
x-server-timestamp
|
static com.google.common.base.Predicate<Exchange> |
Exchange.request(com.google.common.base.Predicate<? super org.springframework.http.RequestEntity<org.json.JSONObject>> requestPredicate)
Predicate that applies to the request part.
|
static com.google.common.base.Predicate<Exchange> |
Exchange.response(com.google.common.base.Predicate<? super org.springframework.http.ResponseEntity<org.json.JSONObject>> responsePredicate)
Predicate that applies to the response part.
|
static com.google.common.base.Predicate<Exchange> |
Exchange.withId(String... requestIds)
Predicate matching exchanges having one of the specified
x-request-id header. |
| Modifier and Type | Method and Description |
|---|---|
Exchange |
ReplaceStringTransformer.apply(Exchange exchange) |
Exchange |
IgnoreHeadersTransformer.apply(Exchange exchange) |
static void |
Exchange.assertSameExchange(Exchange expected,
Exchange actual)
Convenience method for unit tests.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Exchange> |
BufferingRequestLog.iterator() |
Iterator<Exchange> |
ReaderRequestLog.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
BufferingRequestLog.add(Exchange exchange) |
| Constructor and Description |
|---|
EventBusCollector(String urlPrefix,
String sockPath,
String address,
com.google.common.base.Predicate<? super Exchange> filter) |
| Modifier and Type | Method and Description |
|---|---|
Exchange |
ExchangeHandler.before(Exchange exchange)
Called before un exchange is replayed.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.FluentIterable<Exchange> |
Player.getInputLog() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ExchangeHandler.after(Exchange exchange,
com.google.common.collect.FluentIterable<Exchange> partialOutputLog)
Called after the exchange has been replayed.
|
Exchange |
ExchangeHandler.before(Exchange exchange)
Called before un exchange is replayed.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ExchangeHandler.after(Exchange exchange,
com.google.common.collect.FluentIterable<Exchange> partialOutputLog)
Called after the exchange has been replayed.
|
Player |
Player.setInputLog(com.google.common.collect.FluentIterable<Exchange> inputLog) |
Player |
Player.setInputLog(String urlPrefix,
String inputLogLocation,
com.google.common.base.Predicate<? super Exchange> inputFilter) |
Player |
Player.setOutputCollector(String urlPrefix,
String sockPath,
String eventBusAddress,
com.google.common.base.Predicate<? super Exchange> outputFilter) |
Copyright © 2016–2017. All rights reserved.