public final class ValidUpgrade extends java.lang.Object implements WebSocketUpgradeResponse, scala.Product, java.io.Serializable
Constructor and Description |
---|
ValidUpgrade(HttpResponse response,
scala.Option<java.lang.String> chosenSubprotocol) |
Modifier and Type | Method and Description |
---|---|
abstract static R |
apply(T1 v1,
T2 v2) |
scala.Option<java.lang.String> |
chosenSubprotocol() |
HttpResponse |
response() |
static java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ValidUpgrade(HttpResponse response, scala.Option<java.lang.String> chosenSubprotocol)
public abstract static R apply(T1 v1, T2 v2)
public static java.lang.String toString()
public HttpResponse response()
response
in interface WebSocketUpgradeResponse
public scala.Option<java.lang.String> chosenSubprotocol()