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

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

Introduction

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

Usage

From source file org.openmrs.web.OpenmrsCookieLocaleResolver.java

public class OpenmrsCookieLocaleResolver extends CookieLocaleResolver {

    public Locale resolveLocale(HttpServletRequest request) {

        Locale locale;

From source file org.obiba.mica.config.locale.AngularCookieLocaleResolver.java

/**
 * Angular cookie saved the locale with a double quote (%22en%22).
 * So the default CookieLocaleResolver#StringUtils.parseLocaleString(localePart)
 * is not able to parse the locale.
 * <p>
 * This class will check if a double quote has been added, if so it will remove it.

From source file eu.delving.core.util.ThemeCookieLocaleResolver.java

/**
 * Fetch the default language from the theme
 *
 * @author Gerald de Jong <geralddejong@gmail.com>
 */

From source file org.orcid.frontend.spring.CookieLocaleResolver.java

/**
 *
 * <p>Extends CookieLocaleResolver to support subdomain cookies
 *
 * @author Robert Peters
 */

From source file org.craftercms.engine.targeting.impl.ConfigAwareCookieLocaleResolver.java

    /*
 * Copyright (C) 2007-2015 Crafter Software Corporation.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by

From source file io.github.jhipster.config.locale.AngularCookieLocaleResolver.java

/**
 * Angular cookie saved the locale with a double quote (%22en%22).
 * So the default CookieLocaleResolver#StringUtils.parseLocaleString(localePart)
 * is not able to parse the locale.
 *
 * This class will check if a double quote has been added, if so it will remove it.

From source file fi.helsinki.opintoni.config.locale.AngularCookieLocaleResolver.java

/**
 * Angular cookie saved the locale with a double quotes (%22en%22).
 * The default CookieLocaleResolver#StringUtils.parseLocaleString(localePart)
 * is not able to parse the locale.
 */
public class AngularCookieLocaleResolver extends CookieLocaleResolver {