public final class Upgrade extends HttpHeader implements RequestResponseHeader, scala.Product, java.io.Serializable
HttpHeader.ParsingResult, HttpHeader.ParsingResult$| Constructor and Description |
|---|
Upgrade(scala.collection.immutable.Seq<UpgradeProtocol> protocols) |
| Modifier and Type | Method and Description |
|---|---|
protected Upgrade$ |
companion() |
boolean |
hasWebSocket() |
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) |
scala.collection.immutable.Seq<UpgradeProtocol> |
protocols() |
static Renderer<scala.collection.immutable.Iterable<UpgradeProtocol>> |
protocolsRenderer() |
static <R extends Rendering> |
render(R r) |
protected <R extends Rendering> |
renderValue(R r) |
fastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, valueparse, renderInRequests, renderInResponsesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrenderInRequestsrenderInResponseslowercaseName, name, render, value$init$, productArity, productElement, productElementName, productElementNames, productIterator, productPrefixtoStringrenderpublic Upgrade(scala.collection.immutable.Seq<UpgradeProtocol> protocols)
public static Renderer<scala.collection.immutable.Iterable<UpgradeProtocol>> protocolsRenderer()
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<UpgradeProtocol> protocols()
protected <R extends Rendering> Rendering renderValue(R r)
renderValue in interface ModeledHeaderprotected Upgrade$ companion()
companion in interface ModeledHeaderpublic boolean hasWebSocket()