Uses of Interface
org.springframework.web.servlet.LocaleResolver
Package
Description
Support for testing Spring MVC applications via
WebTestClient
with MockMvc
for server request
handling.Contains built-in
MockMvcBuilder
implementations.Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
Annotation-based setup for Spring MVC.
Locale support classes for Spring's web MVC framework.
Support classes for Spring's web MVC framework.
-
Uses of LocaleResolver in org.springframework.test.web.servlet.client
Modifier and TypeMethodDescriptionMockMvcWebTestClient.ControllerSpec.localeResolver
(LocaleResolver localeResolver) Provide the LocaleResolver to use. -
Uses of LocaleResolver in org.springframework.test.web.servlet.setup
Modifier and TypeMethodDescriptionStandaloneMockMvcBuilder.setLocaleResolver
(LocaleResolver localeResolver) Provide a LocaleResolver instance. -
Uses of LocaleResolver in org.springframework.web.servlet
Modifier and TypeInterfaceDescriptioninterface
Extension ofLocaleResolver
that adds support for a rich locale context (potentially including locale and time zone information). -
Uses of LocaleResolver in org.springframework.web.servlet.config.annotation
-
Uses of LocaleResolver in org.springframework.web.servlet.i18n
Modifier and TypeClassDescriptionclass
Abstract base class forLocaleContextResolver
implementations.class
Abstract base class forLocaleResolver
implementations.class
LocaleResolver
implementation that looks for a match between locales in theAccept-Language
header and a list of configured supported locales.class
LocaleResolver
implementation that uses a cookie sent back to the user in case of a custom setting, with a fallback to the configured default locale, the request'sAccept-Language
header, or the default locale for the server.class
LocaleResolver
implementation that always returns a fixed default locale and optionally time zone.class
LocaleResolver
implementation that uses a locale attribute in the user's session in case of a custom setting, with a fallback to the configured default locale, the request'sAccept-Language
header, or the default locale for the server. -
Uses of LocaleResolver in org.springframework.web.servlet.support
Modifier and TypeMethodDescriptionstatic LocaleResolver
RequestContextUtils.getLocaleResolver
(HttpServletRequest request) Return theLocaleResolver
that has been bound to the request by theDispatcherServlet
.