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, 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 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 ModeledHeader
protected Upgrade$ companion()
companion
in interface ModeledHeader
public boolean hasWebSocket()