Package akka.http.scaladsl.model.headers
Class Language
- java.lang.Object
-
- akka.http.javadsl.model.headers.Language
-
- akka.http.scaladsl.model.headers.Language
-
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ValueRenderable
,WithQValue<LanguageRange>
,java.io.Serializable
,scala.Equals
,scala.Product
public final class Language extends Language implements ValueRenderable, WithQValue<LanguageRange>, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Language(java.lang.String primaryTag, scala.collection.immutable.Seq<java.lang.String> subTags)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Language
apply(java.lang.String compoundTag)
static Language
apply(java.lang.String primaryTag, java.lang.String firstSubTag, scala.collection.immutable.Seq<java.lang.String> otherSubTags)
java.lang.Iterable<java.lang.String>
getSubTags()
Java APIjava.lang.String
primaryTag()
<R extends Rendering>
Renderingrender(R r)
scala.collection.immutable.Seq<java.lang.String>
subTags()
LanguageRange
withQValue(float qValue)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
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
-
-
-
-
Method Detail
-
apply
public static Language apply(java.lang.String compoundTag)
-
apply
public static Language apply(java.lang.String primaryTag, java.lang.String firstSubTag, scala.collection.immutable.Seq<java.lang.String> otherSubTags)
-
primaryTag
public java.lang.String primaryTag()
- Specified by:
primaryTag
in classLanguage
-
subTags
public scala.collection.immutable.Seq<java.lang.String> subTags()
-
withQValue
public LanguageRange withQValue(float qValue)
- Specified by:
withQValue
in interfaceWithQValue<LanguageRange>
- Specified by:
withQValue
in classLanguage
-
render
public <R extends Rendering> Rendering render(R r)
- Specified by:
render
in interfaceRenderable
-
getSubTags
public java.lang.Iterable<java.lang.String> getSubTags()
Java API- Specified by:
getSubTags
in classLanguage
-
-