|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectelectric.servlet.locales.RequestLocales
RequestLocales is responsible for handling the translation from HTTP Accept-Language headers in a request into a set of java.util.Locale objects. See rfc2616, section 14.4 "Accept Language", and the servlet spec, section SRV 4.8 "Internationalization".
Locale
Field Summary |
Constructor Summary | |
RequestLocales()
|
Method Summary | |
static java.util.Vector |
getSortedLocales(InboundHTTPRequest request)
Return a Vector of Locale objects indicating, in decreasing order starting with the preferred locale, the locales that are acceptable to the client based on the Accept-Language header. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RequestLocales()
Method Detail |
public static java.util.Vector getSortedLocales(InboundHTTPRequest request)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |