Package io.vertx.ext.web
Interface LanguageHeader
-
- All Superinterfaces:
ParsedHeaderValue
public interface LanguageHeader extends 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 io.vertx.ext.web.ParsedHeaderValue
DEFAULT_WEIGHT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
subtag()
String
subtag(int level)
A subtag of this language header.
+ info: rfc7231#section-3.1.3.1int
subtagCount()
String
tag()
-
Methods inherited from interface io.vertx.ext.web.ParsedHeaderValue
findMatchedBy, isMatchedBy, isPermitted, parameter, parameters, rawValue, value, weight, weightedOrder
-
-
-
-
Method Detail
-
tag
String tag()
- Returns:
- The language tag
-
subtag
String subtag()
- Returns:
- The language subtag
-
subtag
String subtag(int level)
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
-
-