Interface LanguageHeader
- All Superinterfaces:
ParsedHeaderValue
A parsed language header.
Delivers a more direct access to the individual elements of the header it represents
-
Field Summary
Fields inherited from interface ParsedHeaderValue
DEFAULT_WEIGHT -
Method Summary
Modifier and TypeMethodDescriptionsubtag()subtag(int level) A subtag of this language header.
+ info: rfc7231#section-3.1.3.1inttag()Methods inherited from interface ParsedHeaderValue
findMatchedBy, isMatchedBy, isPermitted, parameter, parameters, rawValue, value, weight, weightedOrder
-
Method Details
-
tag
String tag()- Returns:
- The language tag
-
subtag
String subtag()- Returns:
- The language subtag
-
subtag
A subtag of this language header.
+ info: rfc7231#section-3.1.3.1- Returns:
- The language subtag at specified position
-
subtagCount
int subtagCount()- Returns:
- the number of subtags this value has
-