Package | Description |
---|---|
org.springframework.http.server.reactive |
Abstractions for reactive HTTP server support including a
ServerHttpRequest and
ServerHttpResponse along with an
HttpHandler for processing. |
org.springframework.test.web.reactive.server |
Support for testing Spring WebFlux server endpoints via
WebTestClient . |
org.springframework.web.reactive.function.server |
Provides the types that make up Spring's functional web framework for Reactive environments.
|
org.springframework.web.server.adapter |
Implementations to adapt to the underlying
org.springframework.http.client.reactive reactive HTTP adapter
and HttpHandler . |
Modifier and Type | Class and Description |
---|---|
class |
ContextPathCompositeHandler
HttpHandler delegating requests to one of several HttpHandler 's
based on simple, prefix-based mappings. |
Constructor and Description |
---|
JettyHttpHandlerAdapter(HttpHandler httpHandler) |
ReactorHttpHandlerAdapter(HttpHandler httpHandler) |
ServletHttpHandlerAdapter(HttpHandler httpHandler) |
TomcatHttpHandlerAdapter(HttpHandler httpHandler) |
UndertowHttpHandlerAdapter(HttpHandler httpHandler) |
Constructor and Description |
---|
ContextPathCompositeHandler(Map<String,? extends HttpHandler> handlerMap) |
Constructor and Description |
---|
HttpHandlerConnector(HttpHandler handler)
Constructor with the
HttpHandler to handle requests with. |
Modifier and Type | Method and Description |
---|---|
static HttpHandler |
RouterFunctions.toHttpHandler(RouterFunction<?> routerFunction)
Convert the given router function into a
HttpHandler . |
static HttpHandler |
RouterFunctions.toHttpHandler(RouterFunction<?> routerFunction,
HandlerStrategies strategies)
Convert the given router function into a
HttpHandler ,
using the given strategies. |
Modifier and Type | Class and Description |
---|---|
class |
HttpWebHandlerAdapter
Default adapter of
WebHandler to the HttpHandler contract. |
Modifier and Type | Method and Description |
---|---|
HttpHandler |
WebHttpHandlerBuilder.build()
Build the
HttpHandler . |
Modifier and Type | Method and Description |
---|---|
WebHttpHandlerBuilder |
WebHttpHandlerBuilder.httpHandlerDecorator(Function<HttpHandler,HttpHandler> handlerDecorator)
Configure a
Function to decorate the HttpHandler returned
by this builder which effectively wraps the entire
WebExceptionHandler - WebFilter - WebHandler
processing chain. |
WebHttpHandlerBuilder |
WebHttpHandlerBuilder.httpHandlerDecorator(Function<HttpHandler,HttpHandler> handlerDecorator)
Configure a
Function to decorate the HttpHandler returned
by this builder which effectively wraps the entire
WebExceptionHandler - WebFilter - WebHandler
processing chain. |