Package akka.http.scaladsl.model.headers
Interface LanguageRange
-
- All Superinterfaces:
LanguageRange
,Renderable
,ToStringRenderable
,ValueRenderable
,WithQValue<LanguageRange>
- All Known Implementing Classes:
LanguageRange.$times
,LanguageRange.$times$
,LanguageRange.One
public interface LanguageRange extends LanguageRange, ValueRenderable, WithQValue<LanguageRange>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
LanguageRange.$times
static class
LanguageRange.$times$
static class
LanguageRange.One
static class
LanguageRange.One$
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Iterable<java.lang.String>
getSubTags()
boolean
matches(Language language)
Java APIboolean
matches(Language lang)
java.lang.String
primaryTag()
float
qValue()
<R extends Rendering>
Renderingrender(R r)
scala.collection.immutable.Seq<java.lang.String>
subTags()
-
Methods inherited from interface akka.http.javadsl.model.headers.LanguageRange
withQValue
-
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
Methods inherited from interface akka.http.impl.util.ValueRenderable
value
-
Methods inherited from interface akka.http.scaladsl.model.WithQValue
withQValue, withQValue
-
-
-
-
Method Detail
-
qValue
float qValue()
- Specified by:
qValue
in interfaceLanguageRange
-
primaryTag
java.lang.String primaryTag()
- Specified by:
primaryTag
in interfaceLanguageRange
-
subTags
scala.collection.immutable.Seq<java.lang.String> subTags()
-
matches
boolean matches(Language lang)
-
render
<R extends Rendering> Rendering render(R r)
- Specified by:
render
in interfaceRenderable
-
matches
boolean matches(Language language)
Java API- Specified by:
matches
in interfaceLanguageRange
-
getSubTags
java.lang.Iterable<java.lang.String> getSubTags()
- Specified by:
getSubTags
in interfaceLanguageRange
-
-