Top Description Interfaces Classes
module spring.web

Package org.springframework.web.server.i18n

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Locale related support classes. Provides standard LocaleContextResolver implementations.

Interface Summary

Modifier and TypeInterface and Description
public interface
LocaleContextResolver

Interface for web-based locale context resolution strategies that allows for both locale context resolution via the request and locale context modification via the HTTP exchange.

Class Summary

Modifier and TypeClass and Description
public class
AcceptHeaderLocaleContextResolver

LocaleContextResolver implementation that looks for a match between locales in the Accept-Language header and a list of configured supported locales.

public class
FixedLocaleContextResolver

LocaleContextResolver implementation that always returns a fixed locale and optionally time zone.