public abstract class

AbstractLocaleResolver

extends Object
implements LocaleResolver
java.lang.Object
   ↳ org.springframework.web.servlet.i18n.AbstractLocaleResolver
Known Direct Subclasses

Class Overview

Abstract base class for LocaleResolver implementations. Provides support for a default locale.

Summary

Public Constructors
AbstractLocaleResolver()
Public Methods
void setDefaultLocale(Locale defaultLocale)
Set a default Locale that this resolver will return if no other locale found.
Protected Methods
Locale getDefaultLocale()
Return the default Locale that this resolver is supposed to fall back to, if any.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.web.servlet.LocaleResolver

Public Constructors

public AbstractLocaleResolver ()

Public Methods

public void setDefaultLocale (Locale defaultLocale)

Set a default Locale that this resolver will return if no other locale found.

Protected Methods

protected Locale getDefaultLocale ()

Return the default Locale that this resolver is supposed to fall back to, if any.