org.appfuse.webapp.filter
Class LocaleRequestWrapper
java.lang.Object
javax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
org.appfuse.webapp.filter.LocaleRequestWrapper
- All Implemented Interfaces:
- HttpServletRequest, ServletRequest
public class LocaleRequestWrapper
- extends HttpServletRequestWrapper
HttpRequestWrapper overriding methods getLocale(), getLocales() to include
the user's preferred locale.
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper |
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole |
Methods inherited from class javax.servlet.ServletRequestWrapper |
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.ServletRequest |
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding |
LocaleRequestWrapper
public LocaleRequestWrapper(HttpServletRequest decorated,
Locale userLocale)
getLocale
public Locale getLocale()
- Specified by:
getLocale
in interface ServletRequest
- Overrides:
getLocale
in class ServletRequestWrapper
- See Also:
ServletRequestWrapper.getLocale()
getLocales
public Enumeration getLocales()
- Specified by:
getLocales
in interface ServletRequest
- Overrides:
getLocales
in class ServletRequestWrapper
- See Also:
ServletRequestWrapper.getLocales()
Copyright � 2002-2006