Uses of Interface
org.springframework.web.server.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
Modifier 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
Modifier and TypeClassDescriptionclass
Central dispatcher for HTTP request handlers/controllers. -
Uses of WebHandler in org.springframework.web.reactive.function.server
Modifier 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
Modifier 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
Modifier and TypeClassDescriptionclass
Default adapter ofWebHandler
to theHttpHandler
contract.Modifier and TypeMethodDescriptionstatic WebHttpHandlerBuilder
WebHttpHandlerBuilder.webHandler
(WebHandler webHandler) Static factory method to create a new builder instance. -
Uses of WebHandler in org.springframework.web.server.handler
Modifier and TypeClassDescriptionclass
WebHandler decorator that invokes one or moreWebExceptionHandlers
after the delegateWebHandler
.class
class
WebHandler
that decorates and delegates to anotherWebHandler
.Modifier and TypeMethodDescriptionWebHandlerDecorator.getDelegate()
Return the wrapped delegate.DefaultWebFilterChain.getHandler()
ModifierConstructorDescriptionDefaultWebFilterChain
(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.