Uses of Interface
org.springframework.web.server.WebHandler
Packages that use WebHandler
Package
Description
Support for testing Spring WebFlux server endpoints via
WebTestClient
.Top-level package for the
spring-webflux
module that contains
DispatcherHandler
, the main entry
point for WebFlux server endpoint processing including key contracts used to
map requests to handlers, invoke them, and process the result.Provides the types that make up Spring's functional web framework for Reactive environments.
Support classes for serving static resources.
Implementations to adapt to the underlying
org.springframework.http.client.reactive
reactive HTTP adapter
and HttpHandler
.Provides common WebHandler implementations and a
WebHandlerDecorator
.-
Uses of WebHandler in org.springframework.test.web.reactive.server
Methods in org.springframework.test.web.reactive.server with parameters of type WebHandlerModifier and TypeMethodDescriptionstatic WebTestClient.MockServerSpec<?>
WebTestClient.bindToWebHandler
(WebHandler webHandler) Integration testing with a "mock" server targeting the given WebHandler. -
Uses of WebHandler in org.springframework.web.reactive
Classes in org.springframework.web.reactive that implement WebHandlerModifier and TypeClassDescriptionclass
Central dispatcher for HTTP request handlers/controllers. -
Uses of WebHandler in org.springframework.web.reactive.function.server
Methods in org.springframework.web.reactive.function.server that return WebHandlerModifier and TypeMethodDescriptionstatic WebHandler
RouterFunctions.toWebHandler
(RouterFunction<?> routerFunction) Convert the given router function into aWebHandler
.static WebHandler
RouterFunctions.toWebHandler
(RouterFunction<?> routerFunction, HandlerStrategies strategies) Convert the given router function into aWebHandler
, using the given strategies. -
Uses of WebHandler in org.springframework.web.reactive.resource
Classes in org.springframework.web.reactive.resource that implement WebHandlerModifier and TypeClassDescriptionclass
HttpRequestHandler
that serves static resources in an optimized way according to the guidelines of Page Speed, YSlow, etc. -
Uses of WebHandler in org.springframework.web.server.adapter
Classes in org.springframework.web.server.adapter that implement WebHandlerModifier and TypeClassDescriptionclass
Default adapter ofWebHandler
to theHttpHandler
contract.Methods in org.springframework.web.server.adapter with parameters of type WebHandlerModifier and TypeMethodDescriptionstatic WebHttpHandlerBuilder
WebHttpHandlerBuilder.webHandler
(WebHandler webHandler) Static factory method to create a new builder instance.Constructors in org.springframework.web.server.adapter with parameters of type WebHandler -
Uses of WebHandler in org.springframework.web.server.handler
Classes in org.springframework.web.server.handler that implement WebHandlerModifier and TypeClassDescriptionclass
WebHandler decorator that invokes one or moreWebExceptionHandlers
after the delegateWebHandler
.class
class
WebHandler
that decorates and delegates to anotherWebHandler
.Methods in org.springframework.web.server.handler that return WebHandlerModifier and TypeMethodDescriptionWebHandlerDecorator.getDelegate()
Return the wrapped delegate.DefaultWebFilterChain.getHandler()
Constructors in org.springframework.web.server.handler with parameters of type WebHandlerModifierConstructorDescriptionDefaultWebFilterChain
(WebHandler handler, List<WebFilter> filters) Public constructor with the list of filters and the target handler to use.ExceptionHandlingWebHandler
(WebHandler delegate, List<WebExceptionHandler> handlers) Create anExceptionHandlingWebHandler
for the given delegate.FilteringWebHandler
(WebHandler handler, List<WebFilter> filters) Constructor.WebHandlerDecorator
(WebHandler delegate) Create aWebHandlerDecorator
for the given delegate.