public interface LanguageRange
Modifier and Type | Field and Description |
---|---|
static LanguageRange |
ALL
Deprecated.
because of troublesome initialisation order (with regards to scaladsl class implementing this class).
In some edge cases this field could end up containing a null value.
Will be removed in Akka HTTP 11.x, use
LanguageRanges.ALL instead. |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<java.lang.String> |
getSubTags() |
boolean |
matches(Language language) |
java.lang.String |
primaryTag() |
float |
qValue() |
LanguageRange |
withQValue(float qValue) |
@Deprecated static final LanguageRange ALL
LanguageRanges.ALL
instead.java.lang.String primaryTag()
float qValue()
boolean matches(Language language)
java.lang.Iterable<java.lang.String> getSubTags()
LanguageRange withQValue(float qValue)