Uses of Class
org.swisspush.gateleen.player.exchange.Exchange
-
Packages that use Exchange Package Description org.swisspush.gateleen.player.exchange org.swisspush.gateleen.player.log org.swisspush.gateleen.player.player -
-
Uses of Exchange in org.swisspush.gateleen.player.exchange
Methods in org.swisspush.gateleen.player.exchange that return Exchange Modifier and Type Method Description ExchangeIgnoreHeadersTransformer. apply(Exchange exchange)ExchangeReplaceStringTransformer. apply(Exchange exchange)Methods in org.swisspush.gateleen.player.exchange that return types with arguments of type Exchange Modifier and Type Method 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-timestampstatic 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-timestampstatic 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(java.lang.String... requestIds)Predicate matching exchanges having one of the specifiedx-request-idheader.Methods in org.swisspush.gateleen.player.exchange with parameters of type Exchange Modifier and Type Method Description ExchangeIgnoreHeadersTransformer. apply(Exchange exchange)ExchangeReplaceStringTransformer. apply(Exchange exchange)static voidExchange. assertSameExchange(Exchange expected, Exchange actual)Convenience method for unit tests. -
Uses of Exchange in org.swisspush.gateleen.player.log
Methods in org.swisspush.gateleen.player.log that return types with arguments of type Exchange Modifier and Type Method Description java.util.Iterator<Exchange>BufferingRequestLog. iterator()java.util.Iterator<Exchange>ReaderRequestLog. iterator()Methods in org.swisspush.gateleen.player.log with parameters of type Exchange Modifier and Type Method Description voidBufferingRequestLog. add(Exchange exchange)Constructor parameters in org.swisspush.gateleen.player.log with type arguments of type Exchange Constructor Description EventBusCollector(java.lang.String urlPrefix, java.lang.String sockPath, java.lang.String address, com.google.common.base.Predicate<? super Exchange> filter) -
Uses of Exchange in org.swisspush.gateleen.player.player
Methods in org.swisspush.gateleen.player.player that return Exchange Modifier and Type Method Description ExchangeExchangeHandler. before(Exchange exchange)Called before un exchange is replayed.Methods in org.swisspush.gateleen.player.player that return types with arguments of type Exchange Modifier and Type Method Description com.google.common.collect.FluentIterable<Exchange>Player. getInputLog()Methods in org.swisspush.gateleen.player.player with parameters of type Exchange Modifier and Type Method Description booleanExchangeHandler. after(Exchange exchange, com.google.common.collect.FluentIterable<Exchange> partialOutputLog)Called after the exchange has been replayed.ExchangeExchangeHandler. before(Exchange exchange)Called before un exchange is replayed.Method parameters in org.swisspush.gateleen.player.player with type arguments of type Exchange Modifier and Type Method Description booleanExchangeHandler. after(Exchange exchange, com.google.common.collect.FluentIterable<Exchange> partialOutputLog)Called after the exchange has been replayed.PlayerPlayer. setInputLog(com.google.common.collect.FluentIterable<Exchange> inputLog)PlayerPlayer. setInputLog(java.lang.String urlPrefix, java.lang.String inputLogLocation, com.google.common.base.Predicate<? super Exchange> inputFilter)PlayerPlayer. setOutputCollector(java.lang.String urlPrefix, java.lang.String sockPath, java.lang.String eventBusAddress, com.google.common.base.Predicate<? super Exchange> outputFilter)
-