@FunctionalInterface
public interface StreamingHttpConnectionFilterFactory
StreamingHttpConnectionFilter.| Modifier and Type | Method and Description |
|---|---|
default StreamingHttpConnectionFilterFactory |
append(StreamingHttpConnectionFilterFactory before)
Deprecated.
Use
HttpClientBuilder.appendConnectionFilter(StreamingHttpConnectionFilterFactory) |
StreamingHttpConnectionFilter |
create(FilterableStreamingHttpConnection connection)
Create a
StreamingHttpConnectionFilter using the provided FilterableStreamingHttpConnection. |
StreamingHttpConnectionFilter create(FilterableStreamingHttpConnection connection)
StreamingHttpConnectionFilter using the provided FilterableStreamingHttpConnection.connection - FilterableStreamingHttpConnection to filterStreamingHttpConnectionFilter using the provided FilterableStreamingHttpConnection.@Deprecated default StreamingHttpConnectionFilterFactory append(StreamingHttpConnectionFilterFactory before)
HttpClientBuilder.appendConnectionFilter(StreamingHttpConnectionFilterFactory)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 connection wrapped by this filter chain the order of invocation of these filters will
be:
filter1 => filter2 => filter3 => connection
before - the function to apply before this function is appliedbefore
function and then applies this function