@Internal public class ClientServerContextFilter extends Object implements HttpClientFilter
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
ClientServerContextFilter(HttpRequest<?> parentRequest)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Publisher<? extends HttpResponse<?>> |
doFilter(MutableHttpRequest<?> request,
ClientFilterChain chain)
A variation of
HttpFilter.doFilter(HttpRequest, FilterChain) that receives a MutableHttpRequest
allowing the request to be modified. |
int |
getOrder() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doFilter
public ClientServerContextFilter(HttpRequest<?> parentRequest)
parentRequest
- The parent requestpublic int getOrder()
public Publisher<? extends HttpResponse<?>> doFilter(MutableHttpRequest<?> request, ClientFilterChain chain)
HttpClientFilter
HttpFilter.doFilter(HttpRequest, FilterChain)
that receives a MutableHttpRequest
allowing the request to be modified.doFilter
in interface HttpClientFilter
request
- The requestchain
- The filter chainHttpFilter