Uses of Class
org.springframework.web.server.adapter.WebHttpHandlerBuilder
Packages that use WebHttpHandlerBuilder
Package
Description
Implementations to adapt to the underlying
org.springframework.http.client.reactive
reactive HTTP adapter
and HttpHandler
.-
Uses of WebHttpHandlerBuilder in org.springframework.web.server.adapter
Methods in org.springframework.web.server.adapter that return WebHttpHandlerBuilderModifier and TypeMethodDescriptionstatic WebHttpHandlerBuilder
WebHttpHandlerBuilder.applicationContext
(org.springframework.context.ApplicationContext context) Static factory method to create a new builder instance by detecting beans in anApplicationContext
.WebHttpHandlerBuilder.clone()
Clone thisWebHttpHandlerBuilder
.WebHttpHandlerBuilder.codecConfigurer
(ServerCodecConfigurer codecConfigurer) Configure theServerCodecConfigurer
to set on theWebServerExchange
.WebHttpHandlerBuilder.exceptionHandler
(WebExceptionHandler... handlers) Add the given exception handler(s).WebHttpHandlerBuilder.exceptionHandlers
(Consumer<List<WebExceptionHandler>> consumer) Manipulate the "live" list of currently configured exception handlers.Add the given filter(s).Manipulate the "live" list of currently configured filters.WebHttpHandlerBuilder.forwardedHeaderTransformer
(ForwardedHeaderTransformer transformer) Configure theForwardedHeaderTransformer
for extracting and/or removing forwarded headers.WebHttpHandlerBuilder.httpHandlerDecorator
(Function<HttpHandler, HttpHandler> handlerDecorator) Configure aFunction
to decorate theHttpHandler
returned by this builder which effectively wraps the entireWebExceptionHandler
-WebFilter
-WebHandler
processing chain.WebHttpHandlerBuilder.localeContextResolver
(LocaleContextResolver localeContextResolver) Configure theLocaleContextResolver
to set on theWebServerExchange
.WebHttpHandlerBuilder.sessionManager
(WebSessionManager manager) Configure theWebSessionManager
to set on theWebServerExchange
.static WebHttpHandlerBuilder
WebHttpHandlerBuilder.webHandler
(WebHandler webHandler) Static factory method to create a new builder instance.