A B C D E G H I L M O P R S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(Exchange) - Method in class org.swisspush.gateleen.player.log.BufferingRequestLog
- after(Exchange, FluentIterable<Exchange>) - Method in class org.swisspush.gateleen.player.player.ExchangeHandler
-
Called after the exchange has been replayed.
- afterConnectionClosed(WebSocketSession, CloseStatus) - Method in class org.swisspush.gateleen.player.log.EventBusCollector
- afterConnectionEstablished(WebSocketSession) - Method in class org.swisspush.gateleen.player.log.EventBusCollector
- apply(Long) - Method in class org.swisspush.gateleen.player.timing.LinearTimingFunction
- apply(Exchange) - Method in class org.swisspush.gateleen.player.exchange.IgnoreHeadersTransformer
- apply(Exchange) - Method in class org.swisspush.gateleen.player.exchange.ReplaceStringTransformer
- assertSameExchange(Exchange, Exchange) - Static method in class org.swisspush.gateleen.player.exchange.Exchange
-
Convenience method for unit tests.
B
- before(Exchange) - Method in class org.swisspush.gateleen.player.player.ExchangeHandler
-
Called before un exchange is replayed.
- body(Predicate) - Static method in class org.swisspush.gateleen.player.exchange.Exchange
-
Predicate that applies to a request or response body.
- BufferingRequestLog - Class in org.swisspush.gateleen.player.log
-
A request log implemented with an in-memory buffer.
- BufferingRequestLog() - Constructor for class org.swisspush.gateleen.player.log.BufferingRequestLog
C
- clear() - Method in class org.swisspush.gateleen.player.log.BufferingRequestLog
- clearTimestamps() - Static method in class org.swisspush.gateleen.player.exchange.ReplaceStringTransformer
-
Predefined transformer replacing all timestamps with the epoch (1970-01-01T00:00:00Z).
- clearUUIDs() - Static method in class org.swisspush.gateleen.player.exchange.ReplaceStringTransformer
-
Predefined transformer placing all UUIDs with a blank one (00000000-0000-0000-0000-000000000000).
- Client - Class in org.swisspush.gateleen.player.player
-
HTTP Client abstraction, suitable for mocking.
- Client() - Constructor for class org.swisspush.gateleen.player.player.Client
- Collector - Interface in org.swisspush.gateleen.player.log
-
Interface for an active element providing a request log.
- convertInterval(long) - Method in interface org.swisspush.gateleen.player.timing.TimingFunction
D
- dump(BufferingRequestLog) - Method in class org.swisspush.gateleen.player.log.BufferingRequestLog
-
Move all exchange from this request log to another one.
E
- equals(Object) - Method in class org.swisspush.gateleen.player.exchange.Exchange
- EventBusCollector - Class in org.swisspush.gateleen.player.log
-
Collects a request log live from a vert.x eventbus exposed with SockJS.
- EventBusCollector(String, String, String, Predicate<? super Exchange>) - Constructor for class org.swisspush.gateleen.player.log.EventBusCollector
- exchange(RequestEntity<JSONObject>) - Method in class org.swisspush.gateleen.player.player.Client
- Exchange - Class in org.swisspush.gateleen.player.exchange
-
Models a request log entry.
- Exchange(String, JSONObject) - Constructor for class org.swisspush.gateleen.player.exchange.Exchange
- Exchange(RequestEntity<JSONObject>, ResponseEntity<JSONObject>) - Constructor for class org.swisspush.gateleen.player.exchange.Exchange
- ExchangeHandler - Class in org.swisspush.gateleen.player.player
-
Allows to intercept the exchanges before and after performing the request.
- ExchangeHandler() - Constructor for class org.swisspush.gateleen.player.player.ExchangeHandler
G
- getId() - Method in class org.swisspush.gateleen.player.exchange.Exchange
-
Convenience method to retrieve the
x-request-idheader. - getInputLog() - Method in class org.swisspush.gateleen.player.player.Player
- getOutputLog() - Method in class org.swisspush.gateleen.player.player.Player
- getReader() - Method in class org.swisspush.gateleen.player.log.ReaderRequestLog
- getReader() - Method in class org.swisspush.gateleen.player.log.ResourceRequestLog
- getRequest() - Method in class org.swisspush.gateleen.player.exchange.Exchange
- getRequestLog() - Method in interface org.swisspush.gateleen.player.log.Collector
- getRequestLog() - Method in class org.swisspush.gateleen.player.log.EventBusCollector
- getResponse() - Method in class org.swisspush.gateleen.player.exchange.Exchange
- getTimestamp() - Method in class org.swisspush.gateleen.player.exchange.Exchange
-
Convenience method to retrieve the
x-client-timestampheader.
H
- handleTextMessage(WebSocketSession, TextMessage) - Method in class org.swisspush.gateleen.player.log.EventBusCollector
- handleTransportError(WebSocketSession, Throwable) - Method in class org.swisspush.gateleen.player.log.EventBusCollector
- hashCode() - Method in class org.swisspush.gateleen.player.exchange.Exchange
- header(String, Predicate<U>) - Static method in class org.swisspush.gateleen.player.exchange.Exchange
-
Predicate that applies to a given request or response header.
- headers(Predicate<HttpHeaders>) - Static method in class org.swisspush.gateleen.player.exchange.Exchange
-
Predicate that applies to request or response headers.
I
- ignoreCommonHeaders() - Static method in class org.swisspush.gateleen.player.exchange.IgnoreHeadersTransformer
-
Predefined transformer removing common headers unnecessary in comparisons: connection host accept user-agent accept-encoding content-length x-client-timestamp x-server-timestamp
- IgnoreHeadersTransformer - Class in org.swisspush.gateleen.player.exchange
-
Transforms an exchange into a new one where given headers are removed.
- IgnoreHeadersTransformer(String...) - Constructor for class org.swisspush.gateleen.player.exchange.IgnoreHeadersTransformer
- isResetElapsedTime() - Method in class org.swisspush.gateleen.player.player.Player
- iterator() - Method in class org.swisspush.gateleen.player.log.BufferingRequestLog
- iterator() - Method in class org.swisspush.gateleen.player.log.ReaderRequestLog
L
- LinearTimingFunction - Class in org.swisspush.gateleen.player.timing
-
Speeds up timings by a constant factor.
- LinearTimingFunction(double) - Constructor for class org.swisspush.gateleen.player.timing.LinearTimingFunction
M
- method(Predicate<HttpMethod>) - Static method in class org.swisspush.gateleen.player.exchange.Exchange
-
Predicate that applies to the request HTTP method.
O
- org.swisspush.gateleen.player.exchange - package org.swisspush.gateleen.player.exchange
- org.swisspush.gateleen.player.log - package org.swisspush.gateleen.player.log
- org.swisspush.gateleen.player.player - package org.swisspush.gateleen.player.player
- org.swisspush.gateleen.player.timing - package org.swisspush.gateleen.player.timing
P
- play() - Method in class org.swisspush.gateleen.player.player.Player
- Player - Class in org.swisspush.gateleen.player.player
-
Replays requests from a request log.
- Player() - Constructor for class org.swisspush.gateleen.player.player.Player
R
- ReaderRequestLog - Class in org.swisspush.gateleen.player.log
-
Request log providing exchanges from a serialized JSON stream, as the one generated by the logging filter.
- ReaderRequestLog(String) - Constructor for class org.swisspush.gateleen.player.log.ReaderRequestLog
- ReplaceStringTransformer - Class in org.swisspush.gateleen.player.exchange
-
Transform an exchange into a new one by replacing all string pattern occurences in URL, headers and body.
- ReplaceStringTransformer(String, String) - Constructor for class org.swisspush.gateleen.player.exchange.ReplaceStringTransformer
- request(Predicate<? super RequestEntity<JSONObject>>) - Static method in class org.swisspush.gateleen.player.exchange.Exchange
-
Predicate that applies to the request part.
- RequestLog - Class in org.swisspush.gateleen.player.log
-
Abstraction for a request log, be it read from a file, from memory or from network.
- RequestLog() - Constructor for class org.swisspush.gateleen.player.log.RequestLog
- resetTailOutputLog() - Method in class org.swisspush.gateleen.player.player.ExchangeHandler
-
By default, the tail output log is reset before each input exchange.
- resolve(String) - Method in class org.swisspush.gateleen.player.exchange.TimeResolver
- ResourceRequestLog - Class in org.swisspush.gateleen.player.log
-
Request log implementation fetching a request log resource containing JSON lines as written by the log filter.
- ResourceRequestLog(String, String) - Constructor for class org.swisspush.gateleen.player.log.ResourceRequestLog
- response(Predicate<? super ResponseEntity<JSONObject>>) - Static method in class org.swisspush.gateleen.player.exchange.Exchange
-
Predicate that applies to the response part.
S
- setClient(Client) - Method in class org.swisspush.gateleen.player.player.Player
- setExchangeHandler(ExchangeHandler) - Method in class org.swisspush.gateleen.player.player.Player
- setGracePeriod(long) - Method in class org.swisspush.gateleen.player.player.Player
-
The time (ms) at the end of the scenario to wait before closing the collector.
- setInputLog(FluentIterable<Exchange>) - Method in class org.swisspush.gateleen.player.player.Player
- setInputLog(String, String) - Method in class org.swisspush.gateleen.player.player.Player
- setInputLog(String, String, Predicate<? super Exchange>) - Method in class org.swisspush.gateleen.player.player.Player
- setOutputCollector(String, String, String) - Method in class org.swisspush.gateleen.player.player.Player
- setOutputCollector(String, String, String, Predicate<? super Exchange>) - Method in class org.swisspush.gateleen.player.player.Player
- setOutputCollector(Collector) - Method in class org.swisspush.gateleen.player.player.Player
- setRequest(RequestEntity<JSONObject>) - Method in class org.swisspush.gateleen.player.exchange.Exchange
- setResetElapsedTime(boolean) - Method in class org.swisspush.gateleen.player.player.Player
- setResponse(ResponseEntity<JSONObject>) - Method in class org.swisspush.gateleen.player.exchange.Exchange
- setTimingFunction(Function<Long, Long>) - Method in class org.swisspush.gateleen.player.player.Player
- start() - Method in interface org.swisspush.gateleen.player.log.Collector
- start() - Method in class org.swisspush.gateleen.player.log.EventBusCollector
- status(Predicate<HttpStatus>) - Static method in class org.swisspush.gateleen.player.exchange.Exchange
-
Predicate that applies to the response HTTP status code.
- stop() - Method in interface org.swisspush.gateleen.player.log.Collector
- stop() - Method in class org.swisspush.gateleen.player.log.EventBusCollector
T
- TimeResolver - Class in org.swisspush.gateleen.player.exchange
-
Obtain the elapsed time relatively to a reference.
- TimeResolver(String) - Constructor for class org.swisspush.gateleen.player.exchange.TimeResolver
- TimingFunction - Interface in org.swisspush.gateleen.player.timing
-
Converts real time intervals into simulated time intervals.
- toString() - Method in class org.swisspush.gateleen.player.exchange.Exchange
- toString() - Method in class org.swisspush.gateleen.player.log.BufferingRequestLog
U
- url(Predicate<? super CharSequence>) - Static method in class org.swisspush.gateleen.player.exchange.Exchange
-
Predicate that applies to the request URL.
W
- withId(String...) - Static method in class org.swisspush.gateleen.player.exchange.Exchange
-
Predicate matching exchanges having one of the specified
x-request-idheader.
All Classes All Packages