Class Server
java.lang.Object
org.apache.pekko.http.javadsl.model.HttpHeader
org.apache.pekko.http.scaladsl.model.HttpHeader
org.apache.pekko.http.javadsl.model.headers.Server
org.apache.pekko.http.scaladsl.model.headers.Server
- All Implemented Interfaces:
Serializable,Renderable,ToStringRenderable,ModeledHeader,ResponseHeader,scala.Equals,scala.Product
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Serverstatic Serverapply(ProductVersion first, scala.collection.immutable.Seq<ProductVersion> more) protected Server$Java APIstatic Stringstatic Stringname()static scala.util.Either<scala.collection.immutable.List<ErrorInfo>,T> parseFromValueString(String value) scala.collection.immutable.Seq<ProductVersion>products()static Renderer<scala.collection.immutable.Iterable<ProductVersion>>render(R r) renderValue(R r) Methods inherited from class org.apache.pekko.http.scaladsl.model.HttpHeader
fastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, valueMethods inherited from class org.apache.pekko.http.javadsl.model.HttpHeader
parse, renderInRequests, renderInResponsesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface org.apache.pekko.http.scaladsl.model.headers.ModeledHeader
lowercaseName, name, render, renderInRequests, valueMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface org.apache.pekko.http.impl.util.Renderable
renderMethods inherited from interface org.apache.pekko.http.scaladsl.model.headers.ResponseHeader
renderInResponsesMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderable
toString
-
Constructor Details
-
Server
-
-
Method Details
-
apply
-
apply
public static Server apply(ProductVersion first, scala.collection.immutable.Seq<ProductVersion> more) -
productsRenderer
-
name
-
lowercaseName
-
render
-
parseFromValueString
-
products
-
renderValue
- Specified by:
renderValuein interfaceModeledHeader
-
companion
- Specified by:
companionin interfaceModeledHeader
-
getProducts
Java API- Specified by:
getProductsin classServer
-