Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
WebTestClient.RouterFunctionSpec |
WebTestClient.RouterFunctionSpec.handlerStrategies(HandlerStrategies handlerStrategies)
Configure handler strategies.
|
Modifier and Type | Method and Description |
---|---|
HandlerStrategies |
HandlerStrategies.Builder.build()
Builds the
HandlerStrategies . |
static HandlerStrategies |
HandlerStrategies.withDefaults()
Return a new
HandlerStrategies with default initialization. |
Modifier and Type | Method and Description |
---|---|
static HttpHandler |
RouterFunctions.toHttpHandler(RouterFunction<?> routerFunction,
HandlerStrategies strategies)
Convert the given router function into a
HttpHandler ,
using the given strategies. |
static WebHandler |
RouterFunctions.toWebHandler(RouterFunction<?> routerFunction,
HandlerStrategies strategies)
Convert the given router function into a
WebHandler ,
using the given strategies. |