Package akka.http.scaladsl.model.headers
Class Host
java.lang.Object
akka.http.javadsl.model.HttpHeader
akka.http.scaladsl.model.HttpHeader
akka.http.javadsl.model.headers.Host
akka.http.scaladsl.model.headers.Host
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ModeledHeader
,RequestHeader
,SensitiveHttpHeader
,Serializable
,scala.Equals
,scala.Product
public final class Host
extends Host
implements RequestHeader, SensitiveHttpHeader, scala.Product, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class akka.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Host
apply
(Uri.Authority authority) static Host
static Host
static Host
apply
(InetSocketAddress address) protected Host$
static Host
empty()
boolean
equalsIgnoreCase
(Host other) host()
boolean
isEmpty()
static String
static String
name()
static scala.util.Either<scala.collection.immutable.List<ErrorInfo>,
T> parseFromValueString
(String value) int
port()
render
(R r) renderValue
(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 scala.Equals
canEqual, equals
Methods inherited from interface akka.http.scaladsl.model.headers.ModeledHeader
lowercaseName, name, render, renderInResponses, 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.RequestHeader
renderInRequests
Methods inherited from interface akka.http.scaladsl.model.SensitiveHttpHeader
toString
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
Constructor Details
-
Host
-
-
Method Details
-
apply
-
apply
-
apply
-
apply
-
empty
-
name
-
lowercaseName
-
render
-
parseFromValueString
-
host
-
port
public int port() -
isEmpty
public boolean isEmpty() -
renderValue
- Specified by:
renderValue
in interfaceModeledHeader
-
companion
- Specified by:
companion
in interfaceModeledHeader
-
equalsIgnoreCase
-