public final class Host extends Host implements RequestHeader, SensitiveHttpHeader, scala.Product, java.io.Serializable
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
Modifier and Type | Method and Description |
---|---|
static Host |
apply(java.net.InetSocketAddress address) |
static Host |
apply(java.lang.String host) |
static Host |
apply(java.lang.String host,
int port) |
static Host |
apply(Uri.Authority authority) |
protected Host$ |
companion() |
static Host |
empty() |
boolean |
equalsIgnoreCase(Host other) |
Uri.Host |
host() |
boolean |
isEmpty() |
static java.lang.String |
lowercaseName() |
static java.lang.String |
name() |
static scala.util.Either<scala.collection.immutable.List<ErrorInfo>,T> |
parseFromValueString(java.lang.String value) |
int |
port() |
static <R extends Rendering> |
render(R r) |
<R extends Rendering> |
renderValue(R r) |
create, create, create, create
fastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, value
parse, renderInRequests, renderInResponses
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
renderInRequests
lowercaseName, name, render, renderInResponses, value
toString
$init$, productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
toString
render
public Host(Uri.Host host, int port)
public static Host apply(Uri.Authority authority)
public static Host apply(java.net.InetSocketAddress address)
public static Host apply(java.lang.String host)
public static Host apply(java.lang.String host, int port)
public static Host empty()
public static java.lang.String name()
public static java.lang.String lowercaseName()
public static scala.util.Either<scala.collection.immutable.List<ErrorInfo>,T> parseFromValueString(java.lang.String value)
public boolean isEmpty()
public <R extends Rendering> Rendering renderValue(R r)
renderValue
in interface ModeledHeader
protected Host$ companion()
companion
in interface ModeledHeader
public boolean equalsIgnoreCase(Host other)