Package akka.http.scaladsl.model.headers
Class ProductVersion
- java.lang.Object
-
- akka.http.javadsl.model.headers.ProductVersion
-
- akka.http.scaladsl.model.headers.ProductVersion
-
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ValueRenderable
,java.io.Serializable
,scala.Equals
,scala.Product
public final class ProductVersion extends ProductVersion implements ValueRenderable, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProductVersion(java.lang.String product, java.lang.String version, java.lang.String comment)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
comment()
static scala.collection.immutable.Seq<ProductVersion>
parseMultiple(java.lang.String string)
parses a string of multiple ProductVersionsjava.lang.String
product()
static Renderer<scala.collection.immutable.Seq<ProductVersion>>
productsRenderer()
<R extends Rendering>
Renderingrender(R r)
java.lang.String
version()
-
Methods inherited from class akka.http.javadsl.model.headers.ProductVersion
create, create
-
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
-
-
-
-
Method Detail
-
productsRenderer
public static Renderer<scala.collection.immutable.Seq<ProductVersion>> productsRenderer()
-
parseMultiple
public static scala.collection.immutable.Seq<ProductVersion> parseMultiple(java.lang.String string)
parses a string of multiple ProductVersions
-
product
public java.lang.String product()
- Specified by:
product
in classProductVersion
-
version
public java.lang.String version()
- Specified by:
version
in classProductVersion
-
comment
public java.lang.String comment()
- Specified by:
comment
in classProductVersion
-
render
public <R extends Rendering> Rendering render(R r)
- Specified by:
render
in interfaceRenderable
-
-