@Filter(value="/**") @Internal public final class ServerRequestContextFilter extends java.lang.Object implements HttpServerFilter
ServerRequestContext.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
ServerRequestContextFilter(java.util.List<InvocationInstrumenterFactory> invocationInstrumenterFactories)
Creates new filter.
|
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<MutableHttpResponse<?>> |
doFilter(HttpRequest<?> request,
ServerFilterChain chain)
Variation of the
HttpServerFilter.doFilter(HttpRequest, FilterChain) method that accepts a ServerFilterChain
which allows to mutate the outgoing HTTP response. |
int |
getOrder() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoFilterpublic ServerRequestContextFilter(java.util.List<InvocationInstrumenterFactory> invocationInstrumenterFactories)
invocationInstrumenterFactories - the invocationInstrumenterFactoriespublic org.reactivestreams.Publisher<MutableHttpResponse<?>> doFilter(HttpRequest<?> request, ServerFilterChain chain)
HttpServerFilterHttpServerFilter.doFilter(HttpRequest, FilterChain) method that accepts a ServerFilterChain
which allows to mutate the outgoing HTTP response.doFilter in interface HttpServerFilterrequest - The requestchain - The chainPublisher that emits a MutableHttpResponseHttpServerFilter.doFilter(HttpRequest, FilterChain)