Java org.springframework.web.servlet.i18n FixedLocaleResolver fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.servlet.i18n FixedLocaleResolver fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.servlet.i18n FixedLocaleResolver.

The text is from its open source code.

Constructor

FixedLocaleResolver(Locale locale)
Create a FixedLocaleResolver that exposes the given locale.
FixedLocaleResolver()
Create a default FixedLocaleResolver, exposing a configured default locale (or the JVM's default locale as fallback).

Method

voidsetDefaultLocale(@Nullable Locale defaultLocale)
Set a default Locale that this resolver will return if no other locale found.