Package io.micronaut.http.filter
Interface ServerFilterChain
-
- All Superinterfaces:
FilterChain
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 alternativeHttpResponse
Publisher
.The context instance itself can be passed to other threads as necessary if blocking operations are required to implement the
HttpFilter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.reactivestreams.Publisher<MutableHttpResponse<?>>
proceed(HttpRequest<?> request)
Proceed to the next interceptor or final request invocation.
-
-
-
Method Detail
-
proceed
org.reactivestreams.Publisher<MutableHttpResponse<?>> proceed(HttpRequest<?> request)
Proceed to the next interceptor or final request invocation.- Specified by:
proceed
in interfaceFilterChain
- Parameters:
request
- The current request- Returns:
- A
Publisher
for the Http response
-
-