Package akka.http.scaladsl.model.headers
Class Server
- java.lang.Object
-
- akka.http.javadsl.model.HttpHeader
-
- akka.http.scaladsl.model.HttpHeader
-
- akka.http.javadsl.model.headers.Server
-
- akka.http.scaladsl.model.headers.Server
-
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ModeledHeader
,ResponseHeader
,java.io.Serializable
,scala.Equals
,scala.Product
public final class Server extends Server implements ResponseHeader, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
-
-
Constructor Summary
Constructors Constructor Description Server(scala.collection.immutable.Seq<ProductVersion> products)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Server
apply(ProductVersion first, scala.collection.immutable.Seq<ProductVersion> more)
static Server
apply(java.lang.String products)
protected Server$
companion()
java.lang.Iterable<ProductVersion>
getProducts()
Java APIstatic java.lang.String
lowercaseName()
static java.lang.String
name()
static scala.util.Either<scala.collection.immutable.List<ErrorInfo>,T>
parseFromValueString(java.lang.String value)
scala.collection.immutable.Seq<ProductVersion>
products()
static Renderer<scala.collection.immutable.Iterable<ProductVersion>>
productsRenderer()
static <R extends Rendering>
Renderingrender(R r)
<R extends Rendering>
RenderingrenderValue(R r)
-
Methods inherited from class akka.http.scaladsl.model.HttpHeader
fastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, value
-
Methods inherited from class akka.http.javadsl.model.HttpHeader
parse, renderInRequests, renderInResponses
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.http.scaladsl.model.headers.ModeledHeader
lowercaseName, name, render, renderInRequests, value
-
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Methods inherited from interface akka.http.impl.util.Renderable
render
-
Methods inherited from interface akka.http.scaladsl.model.headers.ResponseHeader
renderInResponses
-
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
-
-
-
Constructor Detail
-
Server
public Server(scala.collection.immutable.Seq<ProductVersion> products)
-
-
Method Detail
-
apply
public static Server apply(java.lang.String products)
-
apply
public static Server apply(ProductVersion first, scala.collection.immutable.Seq<ProductVersion> more)
-
productsRenderer
public static Renderer<scala.collection.immutable.Iterable<ProductVersion>> productsRenderer()
-
name
public static java.lang.String name()
-
lowercaseName
public static java.lang.String lowercaseName()
-
parseFromValueString
public static scala.util.Either<scala.collection.immutable.List<ErrorInfo>,T> parseFromValueString(java.lang.String value)
-
products
public scala.collection.immutable.Seq<ProductVersion> products()
-
renderValue
public <R extends Rendering> Rendering renderValue(R r)
- Specified by:
renderValue
in interfaceModeledHeader
-
companion
protected Server$ companion()
- Specified by:
companion
in interfaceModeledHeader
-
getProducts
public java.lang.Iterable<ProductVersion> getProducts()
Java API- Specified by:
getProducts
in classServer
-
-