|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocaleResolver
Return the locale to use while handling a request object.
Method Summary | |
---|---|
java.util.Locale |
getLocale(javax.servlet.http.HttpServletRequest request)
Extract the locale from the user request, null if it no serialized locale could be found. |
void |
setLocale(javax.servlet.http.HttpServletResponse response,
java.util.Locale locale)
Change the locale on the user request |
Method Detail |
---|
java.util.Locale getLocale(javax.servlet.http.HttpServletRequest request)
request
- the current user request
void setLocale(javax.servlet.http.HttpServletResponse response, java.util.Locale locale)
response
- the response to set the locale intolocale
- the new Locale to apply
java.lang.UnsupportedOperationException
- if this LocaleResolver cannot set a new Locale value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |