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, createfastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, valueparse, renderInRequests, renderInResponsesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrenderInRequestslowercaseName, name, render, renderInResponses, valuetoString$init$, productArity, productElement, productElementName, productElementNames, productIterator, productPrefixtoStringrenderpublic 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 ModeledHeaderprotected Host$ companion()
companion in interface ModeledHeaderpublic boolean equalsIgnoreCase(Host other)