Package | Description |
---|---|
org.springframework.web.reactive.config |
Spring WebFlux configuration infrastructure.
|
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 . |
org.springframework.web.server.i18n |
Locale related support classes.
|
Modifier and Type | Method and Description |
---|---|
protected LocaleContextResolver |
WebFluxConfigurationSupport.createLocaleContextResolver()
Override to plug a subclass of
LocaleContextResolver . |
LocaleContextResolver |
WebFluxConfigurationSupport.localeContextResolver() |
Modifier and Type | Method and Description |
---|---|
LocaleContextResolver |
HandlerStrategies.localeContextResolver()
Return the
LocaleContextResolver to be used for resolving locale context. |
Modifier and Type | Method and Description |
---|---|
HandlerStrategies.Builder |
HandlerStrategies.Builder.localeContextResolver(LocaleContextResolver localeContextResolver)
Add the given locale context resolver to this builder.
|
Modifier and Type | Method and Description |
---|---|
LocaleContextResolver |
HttpWebHandlerAdapter.getLocaleContextResolver()
Return the configured
LocaleContextResolver . |
Modifier and Type | Method and Description |
---|---|
WebHttpHandlerBuilder |
WebHttpHandlerBuilder.localeContextResolver(LocaleContextResolver localeContextResolver)
Configure the
LocaleContextResolver to set on the
WebServerExchange . |
void |
HttpWebHandlerAdapter.setLocaleContextResolver(LocaleContextResolver resolver)
Configure a custom
LocaleContextResolver . |
Constructor and Description |
---|
DefaultServerWebExchange(ServerHttpRequest request,
ServerHttpResponse response,
WebSessionManager sessionManager,
ServerCodecConfigurer codecConfigurer,
LocaleContextResolver localeContextResolver) |
Modifier and Type | Class and Description |
---|---|
class |
AcceptHeaderLocaleContextResolver
LocaleContextResolver implementation that simply uses the primary locale
specified in the "Accept-Language" header of the HTTP request (that is,
the locale sent by the client browser, normally that of the client's OS). |
class |
FixedLocaleContextResolver
LocaleContextResolver implementation that always returns a fixed locale
and optionally time zone. |