Uses of Interface
org.springframework.web.server.WebHandler
Packages that use WebHandler Package Description org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient
.org.springframework.web.reactive Top-level package for thespring-webflux
module that containsDispatcherHandler
, the main entry point for WebFlux server endpoint processing including key contracts used to map requests to handlers, invoke them, and process the result.org.springframework.web.reactive.function.server Provides the types that make up Spring's functional web framework for Reactive environments.org.springframework.web.reactive.resource Support classes for serving static resources.org.springframework.web.server.adapter Implementations to adapt to the underlyingorg.springframework.http.client.reactive
reactive HTTP adapter andHttpHandler
.org.springframework.web.server.handler Provides common WebHandler implementations and aWebHandlerDecorator
.Uses of WebHandler in org.springframework.test.web.reactive.server
Methods in org.springframework.test.web.reactive.server with parameters of type WebHandler Modifier and Type Method Description static 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 WebHandler Modifier and Type Class Description class
DispatcherHandler
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 WebHandler Modifier and Type Method Description static 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 WebHandler Modifier and Type Class Description class
ResourceWebHandler
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 WebHandler Modifier and Type Class Description class
HttpWebHandlerAdapter
Default adapter ofWebHandler
to theHttpHandler
contract.Methods in org.springframework.web.server.adapter with parameters of type WebHandler Modifier and Type Method Description static 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 Constructor Description HttpWebHandlerAdapter(WebHandler delegate)
Uses of WebHandler in org.springframework.web.server.handler
Classes in org.springframework.web.server.handler that implement WebHandler Modifier and Type Class Description class
ExceptionHandlingWebHandler
WebHandler decorator that invokes one or moreWebExceptionHandlers
after the delegateWebHandler
.class
FilteringWebHandler
class
WebHandlerDecorator
WebHandler
that decorates and delegates to anotherWebHandler
.Methods in org.springframework.web.server.handler that return WebHandler Modifier and Type Method Description WebHandler
WebHandlerDecorator. getDelegate()
Return the wrapped delegate.WebHandler
DefaultWebFilterChain. getHandler()
Constructors in org.springframework.web.server.handler with parameters of type WebHandler Constructor Description DefaultWebFilterChain(WebHandler handler, List<WebFilter> filters)
Public constructor with the list of filters and the target handler to use.DefaultWebFilterChain(WebHandler handler, WebFilter... filters)
Deprecated.as of 5.1 this constructor is deprecated in favor ofDefaultWebFilterChain(WebHandler, List)
.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.