HeaderFinalizingFilter

@Filter(value = ["/**"])
class HeaderFinalizingFilter : HttpServerFilter

Provides an HttpServerFilter which cleans response headers by de-duplicating certain values, ensuring consistent casing, and applying settings specified by the developer within static configuration.

The header finalizing filter does not touch headers except ones which are registered on a local allow-list.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun doFilter(request: HttpRequest<*>, chain: ServerFilterChain): Publisher<MutableHttpResponse<*>>
open override fun doFilter(request: HttpRequest<*>, chain: FilterChain): Publisher<out HttpResponse<*>>
Link copied to clipboard
open fun getOrder(): Int