/** * The default behavior of this method is to return getLocale() * on the wrapped request object. */ public Locale getLocale() { return this.request.getLocale(); }
/** * The default behavior of this method is to return getLocale() * on the wrapped request object. */ public Locale getLocale() { return this.request.getLocale(); }
/** * The default behavior of this method is to return getLocale() * on the wrapped request object. */ public Locale getLocale() { return this.request.getLocale(); }
/** * @see javax.faces.context.ExternalContext#getRequestLocale() */ public Locale getRequestLocale() { return request.getLocale(); }
/** * The default behavior of this method is to return getLocale() * on the wrapped request object. */ public Locale getLocale() { return this.request.getLocale(); }
/** * The default behavior of this method is to return getLocale() * on the wrapped request object. */ public Locale getLocale() { return this.request.getLocale(); }
/** * The default behavior of this method is to return getLocale() * on the wrapped request object. */ public Locale getLocale() { return this.request.getLocale(); }
/** * The default behavior of this method is to return getLocale() on the * wrapped request object. */ @Override public Locale getLocale() { return this.request.getLocale(); }
/** * The default behavior of this method is to return getLocale() * on the wrapped request object. */ public Locale getLocale() { return this.request.getLocale(); }
/** * The default behavior of this method is to return getLocale() * on the wrapped request object. */ public Locale getLocale() { return this.request.getLocale(); }
/** * The default behavior of this method is to return getLocale() * on the wrapped request object. */ public Locale getLocale() { return this.request.getLocale(); }
/** * The default behavior of this method is to return getLocale() * on the wrapped request object. */ public Locale getLocale() { return this.request.getLocale(); }
/** * The default behavior of this method is to return getLocale() * on the wrapped request object. */ public Locale getLocale() { return this.request.getLocale(); }
/** * The default behavior of this method is to return getLocale() * on the wrapped request object. */ public Locale getLocale() { return this.request.getLocale(); }
/** * The default behavior of this method is to return getLocale() * on the wrapped request object. */ public Locale getLocale() { return this.request.getLocale(); }
/** * The default behavior of this method is to return getLocale() * on the wrapped request object. */ public Locale getLocale() { return this.request.getLocale(); }
@Override public Locale getRequestLocale() { return _servletRequest.getLocale(); }
/** * @see javax.servlet.Filter#doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) */ @Override public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { Locale locale = request.getLocale(); AbstractMessages.setLocale(locale); chain.doFilter(request, response); AbstractMessages.clearLocale(); }
@Override public String readAttribute(final HttpServerExchange exchange) { ServletRequestContext context = exchange.getAttachment(ServletRequestContext.ATTACHMENT_KEY); if (context != null) { ServletRequest req = context.getServletRequest(); return req.getLocale().toString(); } return null; }
@Unwrap @Override public java.util.Locale getLocale() { ServletContexts servletContexts = ServletContexts.getInstance(); ServletRequest request = servletContexts==null ? null : servletContexts.getRequest(); return request==null ? super.getLocale() : request.getLocale(); }