Package io.micronaut.http.filter
package io.micronaut.http.filter
HTTP filter chain.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
ClassDescriptionBaseFilterProcessor<A extends Annotation>Base class for processing
ServerFilter
andClientFilter
beans.Interface that signals toFilterRunner
that we should wait for the request body to arrive before running this binder.A non-blocking and thread-safe filter chain.A filter continuation gives can be declared as a parameter on afilter method
.Different filter order heuristics, derived from annotations ora bean method
.Dynamic order value (fromOrdered.getOrder()
).Fixed order value.Styles of filter patterns.The filter runner will start processing the filters in the forward order.Base interface for different filter types."Legacy" filter, i.e.Wrapper around a filter that signifies the filter should be run asynchronously on the given executor.Last item in a filter chain, called when all other filters are done.Terminal filter that accepts a reactive type.An HttpClientFilter extendsHttpFilter
and allows the passed request to be mutated.Subinterface for filter resolution specific to HTTP client filters.A interface for classes that can intercept and filterHttpRequest
instances and can either proceed with the request or return a modified result.HttpFilterResolver<T extends AnnotationMetadataProvider>A contract for resolving filters for a given request.A resolved filter entry.An HttpServerFilter extendsHttpFilter
and provides the response as aMutableHttpResponse
.Subinterface for filter resolution specific to HTTP server filters.A non-blocking and thread-safe filter chain.Represents phases of server filters.