Uses of Interface
org.springframework.web.servlet.LocaleResolver
Packages that use LocaleResolver
Package
Description
Support for testing Spring MVC applications via
RestTestClient 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.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package.Support classes for Spring's web MVC framework.
-
Uses of LocaleResolver in org.springframework.test.web.servlet.client
Methods in org.springframework.test.web.servlet.client with parameters of type LocaleResolverModifier and TypeMethodDescriptionMockMvcWebTestClient.ControllerSpec.localeResolver(LocaleResolver localeResolver) Provide the LocaleResolver to use. -
Uses of LocaleResolver in org.springframework.test.web.servlet.setup
Methods in org.springframework.test.web.servlet.setup with parameters of type LocaleResolverModifier and TypeMethodDescriptionStandaloneMockMvcBuilder.setLocaleResolver(LocaleResolver localeResolver) Provide a LocaleResolver instance. -
Uses of LocaleResolver in org.springframework.web.servlet
Subinterfaces of LocaleResolver in org.springframework.web.servletModifier and TypeInterfaceDescriptioninterfaceExtension ofLocaleResolverthat adds support for a rich locale context (potentially including locale and time zone information). -
Uses of LocaleResolver in org.springframework.web.servlet.config.annotation
Methods in org.springframework.web.servlet.config.annotation that return LocaleResolver -
Uses of LocaleResolver in org.springframework.web.servlet.i18n
Classes in org.springframework.web.servlet.i18n that implement LocaleResolverModifier and TypeClassDescriptionclassAbstract base class forLocaleContextResolverimplementations.classAbstract base class forLocaleResolverimplementations.classLocaleResolverimplementation that looks for a match between locales in theAccept-Languageheader and a list of configured supported locales.classLocaleResolverimplementation 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-Languageheader, or the default locale for the server.classLocaleResolverimplementation that always returns a fixed default locale and optionally time zone.classLocaleResolverimplementation 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-Languageheader, or the default locale for the server. -
Uses of LocaleResolver in org.springframework.web.servlet.mvc.method.annotation
Constructors in org.springframework.web.servlet.mvc.method.annotation with parameters of type LocaleResolverModifierConstructorDescriptionResponseBodyEmitterReturnValueHandler(List<HttpMessageConverter<?>> messageConverters, ReactiveAdapterRegistry registry, TaskExecutor executor, ContentNegotiationManager manager, List<ViewResolver> viewResolvers, @Nullable LocaleResolver localeResolver) Constructor that with added arguments for view rendering. -
Uses of LocaleResolver in org.springframework.web.servlet.support
Methods in org.springframework.web.servlet.support that return LocaleResolverModifier and TypeMethodDescriptionstatic @Nullable LocaleResolverRequestContextUtils.getLocaleResolver(jakarta.servlet.http.HttpServletRequest request) Return theLocaleResolverthat has been bound to the request by theDispatcherServlet.