@Test public void shouldNotAddAuthorityToAbsoluteFormRequestTarget() { request.requestTarget("https: filter.request(noOffloadsStrategy(), request); verify(delegate).request(any(), requestCapture.capture()); final StreamingHttpRequest capturedRequest = requestCapture.getValue(); assertThat(capturedRequest.requestTarget(), is("https: }
private Single<StreamingHttpResponse> request(final StreamingHttpRequester delegate, final HttpExecutionStrategy strategy, final StreamingHttpRequest request) { final String effectiveRequestUri = getEffectiveRequestUri(request, scheme, authority, false); request.requestTarget(effectiveRequestUri); return delegate.request(strategy, request); }
AbsoluteAddressHttpRequesterFilter implements StreamingHttpClientFilterFactory,
                                                          StreamingHttpConnectionFilterFactory,
                                                          HttpExecutionStrategyInfluencer { private Single<StreamingHttpResponse> request(final StreamingHttpRequester delegate, final HttpExecutionStrategy strategy, final StreamingHttpRequest request) { final String effectiveRequestUri = getEffectiveRequestUri(request, scheme, authority, false); request.requestTarget(effectiveRequestUri); return delegate.request(strategy, request); } }
AbsoluteAddressHttpRequesterFilter implements StreamingHttpClientFilterFactory,
                                                          StreamingHttpConnectionFilterFactory,
                                                          HttpExecutionStrategyInfluencer { private Single<StreamingHttpResponse> request(final StreamingHttpRequester delegate, final HttpExecutionStrategy strategy, final StreamingHttpRequest request) { final String effectiveRequestUri = getEffectiveRequestUri(request, scheme, authority, false); request.requestTarget(effectiveRequestUri); return delegate.request(strategy, request); } AbsoluteAddressHttpRequesterFilter(String scheme, CharSequence authority); }
AbsoluteAddressHttpRequesterFilter implements StreamingHttpClientFilterFactory,
                                                          StreamingHttpConnectionFilterFactory,
                                                          HttpExecutionStrategyInfluencer { private Single<StreamingHttpResponse> request(final StreamingHttpRequester delegate, final HttpExecutionStrategy strategy, final StreamingHttpRequest request) { final String effectiveRequestUri = getEffectiveRequestUri(request, scheme, authority, false); request.requestTarget(effectiveRequestUri); return delegate.request(strategy, request); } AbsoluteAddressHttpRequesterFilter(String scheme, CharSequence authority); @Override StreamingHttpClientFilter create(final FilterableStreamingHttpClient client); @Override StreamingHttpConnectionFilter create(final FilterableStreamingHttpConnection connection); @Override HttpExecutionStrategy influenceStrategy(final HttpExecutionStrategy strategy); }
AbsoluteAddressHttpRequesterFilter implements StreamingHttpClientFilterFactory,
                                                          StreamingHttpConnectionFilterFactory,
                                                          HttpExecutionStrategyInfluencer { private Single<StreamingHttpResponse> request(final StreamingHttpRequester delegate, final HttpExecutionStrategy strategy, final StreamingHttpRequest request) { final String effectiveRequestUri = getEffectiveRequestUri(request, scheme, authority, false); request.requestTarget(effectiveRequestUri); return delegate.request(strategy, request); } AbsoluteAddressHttpRequesterFilter(String scheme, CharSequence authority); @Override StreamingHttpClientFilter create(final FilterableStreamingHttpClient client); @Override StreamingHttpConnectionFilter create(final FilterableStreamingHttpConnection connection); @Override HttpExecutionStrategy influenceStrategy(final HttpExecutionStrategy strategy);  }