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.The condition for instances ofRequestFilter
andResponseFilter
filters.Additional interface thatArgumentBinder
s can implement to restrict when a filter method with this argument will run.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.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.