Example usage for org.springframework.web.servlet.i18n AbstractLocaleResolver subclass-usage

List of usage examples for org.springframework.web.servlet.i18n AbstractLocaleResolver subclass-usage

Introduction

In this page you can find the example usage for org.springframework.web.servlet.i18n AbstractLocaleResolver subclass-usage.

Usage

From source file com.nominanuda.springmvc.QueryParamLocaleResolver.java

public class QueryParamLocaleResolver extends AbstractLocaleResolver {
    private String paramName = "lang";

    public Locale resolveLocale(HttpServletRequest request) {
        String lang = request.getParameter(paramName);
        if (lang != null) {

From source file de.berlios.jhelpdesk.web.tools.LocaleCustomResolver.java

/**
 *
 * @author jjhop
 */
public class LocaleCustomResolver extends AbstractLocaleResolver {

From source file de.iteratec.iteraplan.presentation.EnforceLocaleResolver.java

/**
 * The class allows to enforce that a particular Locale is used for the application, regardless of the users' browser preferences. It replaces the
 * previous use of {@link org.springframework.web.servlet.i18n.SessionLocaleResolver}
 * 
 * <p>By default, English is enforced.</p>
 *