A parsed language header. Delivers a more direct access to the individual elements of the header it represents
Anything
LanguageHeader
Locale
Basic
Identifiable
Object
Anything
no subtypes hierarchy
Initializer |
LanguageHeader(LanguageHeader unknown) |
Inherited Attributes |
Attributes inherited from: Object hash , string |
Methods | |
isMatchedBy | shared actual default Boolean isMatchedBy(ParsedHeaderValue matchTry) Test if this header is matched by matchTry header Parameters:
Refines ParsedHeaderValue.isMatchedBy |
isPermitted | shared actual default Boolean isPermitted() Is this an allowed operation as specified by the corresponding header? Refines ParsedHeaderValue.isPermitted |
parameter | shared actual default String? parameter(String key) The value of the parameter specified by this key. Each is one of 3 things:
Note: The Refines ParsedHeaderValue.parameter |
parameters | shared actual default Map<String,String> parameters() The parameters specified in this header value.
Note: The Refines ParsedHeaderValue.parameters |
rawValue | shared actual default String rawValue() Contains the raw value that was received from the user agent Refines ParsedHeaderValue.rawValue |
subtag | shared default String? subtag() The subtag of the language as specified by
rfc7231#section-3.1.3.1. |
subtag | shared default String? subtag(Integer level) A subtag of this language header.
|
subtagCount | shared default Integer subtagCount() |
tag | shared default String tag() The tag of the language as specified by
rfc7231#section-3.1.3.1. |
value | shared actual default String value() Holds the unparsed value of the header. Refines ParsedHeaderValue.value |
weight | shared actual default Float weight() Holds the weight specified in the “q” parameter of the header. Refines ParsedHeaderValue.weight |
weightedOrder | shared actual default Integer weightedOrder() An integer that represents the absolute order position of this header Refines ParsedHeaderValue.weightedOrder |
Inherited Methods |
Methods inherited from: Locale |
Methods inherited from: Object equals |
Methods inherited from: ParsedHeaderValue |