public final class Connection extends Connection implements RequestResponseHeader, scala.Product, java.io.Serializable
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
Constructor and Description |
---|
Connection(scala.collection.immutable.Seq<java.lang.String> tokens) |
Modifier and Type | Method and Description |
---|---|
Connection |
append(scala.collection.immutable.Seq<java.lang.String> tokens) |
static Connection |
apply(java.lang.String first,
scala.collection.immutable.Seq<java.lang.String> more) |
protected Connection$ |
companion() |
java.lang.Iterable<java.lang.String> |
getTokens()
Java API
|
boolean |
hasClose() |
boolean |
hasKeepAlive() |
boolean |
hasUpgrade() |
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) |
static <R extends Rendering> |
render(R r) |
<R extends Rendering> |
renderValue(R r) |
scala.collection.immutable.Seq<java.lang.String> |
tokens() |
static Renderer<scala.collection.immutable.Iterable<java.lang.String>> |
tokensRenderer() |
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
renderInResponses
lowercaseName, name, render, value
$init$, productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
toString
render
public Connection(scala.collection.immutable.Seq<java.lang.String> tokens)
public static Connection apply(java.lang.String first, scala.collection.immutable.Seq<java.lang.String> more)
public static Renderer<scala.collection.immutable.Iterable<java.lang.String>> tokensRenderer()
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 scala.collection.immutable.Seq<java.lang.String> tokens()
public <R extends Rendering> Rendering renderValue(R r)
renderValue
in interface ModeledHeader
public boolean hasClose()
public boolean hasKeepAlive()
public boolean hasUpgrade()
public Connection append(scala.collection.immutable.Seq<java.lang.String> tokens)
protected Connection$ companion()
companion
in interface ModeledHeader
public java.lang.Iterable<java.lang.String> getTokens()
getTokens
in class Connection