@FunctionalInterface
public interface StreamingHttpClientFilterFactory
StreamingHttpClientFilter.| Modifier and Type | Method and Description |
|---|---|
default StreamingHttpClientFilterFactory |
append(StreamingHttpClientFilterFactory before)
Deprecated.
Use
HttpClientBuilder.appendClientFilter(StreamingHttpClientFilterFactory) |
default <U> MultiAddressHttpClientFilterFactory<U> |
asMultiAddressClientFilter()
Deprecated.
Use
MultiAddressHttpClientBuilder.initializer(MultiAddressHttpClientBuilder.SingleAddressInitializer) and
SingleAddressHttpClientBuilder.appendClientFilter(StreamingHttpClientFilterFactory)
on the last argument of
MultiAddressHttpClientBuilder.SingleAddressInitializer.initialize(String, Object, SingleAddressHttpClientBuilder). |
StreamingHttpClientFilter |
create(FilterableStreamingHttpClient client)
Creates a
StreamingHttpClientFilter using the provided StreamingHttpClientFilter. |
StreamingHttpClientFilter create(FilterableStreamingHttpClient client)
StreamingHttpClientFilter using the provided StreamingHttpClientFilter.client - FilterableStreamingHttpClient to filterStreamingHttpClientFilter using the provided StreamingHttpClientFilter.@Deprecated default StreamingHttpClientFilterFactory append(StreamingHttpClientFilterFactory before)
HttpClientBuilder.appendClientFilter(StreamingHttpClientFilterFactory)before function to its input, and then applies
this function to the result.
The order of execution of these filters are in order of append. If 3 filters are added as follows:
filter1.append(filter2).append(filter3)
making a request to a client wrapped by this filter chain the order of invocation of these filters will be:
filter1 => filter2 => filter3 => client
before - the function to apply before this function is appliedbefore
function and then applies this function@Deprecated default <U> MultiAddressHttpClientFilterFactory<U> asMultiAddressClientFilter()
MultiAddressHttpClientBuilder.initializer(MultiAddressHttpClientBuilder.SingleAddressInitializer) and
SingleAddressHttpClientBuilder.appendClientFilter(StreamingHttpClientFilterFactory)
on the last argument of
MultiAddressHttpClientBuilder.SingleAddressInitializer.initialize(String, Object, SingleAddressHttpClientBuilder).MultiAddressHttpClientFilterFactory that adapts from a
StreamingHttpClientFilterFactory.U - the type of address before resolution (unresolved address).MultiAddressHttpClientFilterFactory function