public interface ServerFilterChain extends FilterChain
A non-blocking and thread-safe filter chain. Consumers should call proceed(HttpRequest)
to continue with
the request or return an alternative HttpResponse
Publisher
.
The context instance itself can be passed to other threads as necessary if blocking operations are required to
implement the HttpFilter
Modifier and Type | Method and Description |
---|---|
Publisher<MutableHttpResponse<?>> |
proceed(HttpRequest<?> request)
Proceed to the next interceptor or final request invocation.
|
Publisher<MutableHttpResponse<?>> proceed(HttpRequest<?> request)
proceed
in interface FilterChain
request
- The current requestPublisher
for the Http response