@FunctionalInterface
public static interface AbstractHttpRequesterFilterTest.RequestWithContextHandler
HttpRequester.request(HttpExecutionStrategy, HttpRequest)
calls with ConnectionContext
information as delegated from the filter under test.Modifier and Type | Method and Description |
---|---|
static AbstractHttpRequesterFilterTest.RequestWithContextHandler |
ok()
Default OK response handler.
|
Single<StreamingHttpResponse> |
request(StreamingHttpResponseFactory respFactory,
ConnectionContext context,
StreamingHttpRequest request)
Handle requests with
ConnectionContext information from the filter under test. |
Single<StreamingHttpResponse> request(StreamingHttpResponseFactory respFactory, ConnectionContext context, StreamingHttpRequest request)
ConnectionContext
information from the filter under test.respFactory
- the StreamingHttpResponseFactory
of the StreamingHttpRequester
context
- ConnectionContext
of the StreamingHttpRequester
request
- StreamingHttpRequest
to handleStreamingHttpResponse
to return to the filterstatic AbstractHttpRequesterFilterTest.RequestWithContextHandler ok()