public class AcceptLanguageParser extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.regex.Pattern |
ACCEPT_LANG_PATTERN_ALL |
static java.util.regex.Pattern |
ACCEPT_LANG_PATTERN_NO_COUNTRY |
static java.util.regex.Pattern |
ACCEPT_LANG_PATTERN_NO_QUALITY |
static java.lang.String |
HEADER_NAME |
Constructor and Description |
---|
AcceptLanguageParser() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<AcceptLanguageEntry> |
parseHeader(HttpServletRequest request) |
static java.util.List<AcceptLanguageEntry> |
parseHeader(java.lang.String header) |
public static final java.lang.String HEADER_NAME
public static final java.util.regex.Pattern ACCEPT_LANG_PATTERN_ALL
public static final java.util.regex.Pattern ACCEPT_LANG_PATTERN_NO_QUALITY
public static final java.util.regex.Pattern ACCEPT_LANG_PATTERN_NO_COUNTRY
public AcceptLanguageParser()
public static java.util.List<AcceptLanguageEntry> parseHeader(HttpServletRequest request)
public static java.util.List<AcceptLanguageEntry> parseHeader(java.lang.String header)