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 classLanguageRange.$timesstatic classLanguageRange.$times$static classLanguageRange.Onestatic classLanguageRange.One$
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Iterable<java.lang.String>getSubTags()booleanmatches(Language language)Java APIbooleanmatches(Language lang)java.lang.StringprimaryTag()floatqValue()<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:
qValuein interfaceLanguageRange
-
primaryTag
java.lang.String primaryTag()
- Specified by:
primaryTagin 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:
renderin interfaceRenderable
-
matches
boolean matches(Language language)
Java API- Specified by:
matchesin interfaceLanguageRange
-
getSubTags
java.lang.Iterable<java.lang.String> getSubTags()
- Specified by:
getSubTagsin interfaceLanguageRange
-
-