Package akka.http.scaladsl.model.ws
Class ValidUpgrade
- java.lang.Object
-
- akka.http.scaladsl.model.ws.ValidUpgrade
-
- All Implemented Interfaces:
WebSocketUpgradeResponse
,java.io.Serializable
,scala.Equals
,scala.Product
public final class ValidUpgrade extends java.lang.Object implements WebSocketUpgradeResponse, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidUpgrade(HttpResponse response, scala.Option<java.lang.String> chosenSubprotocol)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract static R
apply(T1 v1, T2 v2)
scala.Option<java.lang.String>
chosenSubprotocol()
HttpResponse
response()
static java.lang.String
toString()
-
-
-
Constructor Detail
-
ValidUpgrade
public ValidUpgrade(HttpResponse response, scala.Option<java.lang.String> chosenSubprotocol)
-
-
Method Detail
-
apply
public abstract static R apply(T1 v1, T2 v2)
-
toString
public static java.lang.String toString()
-
response
public HttpResponse response()
- Specified by:
response
in interfaceWebSocketUpgradeResponse
-
chosenSubprotocol
public scala.Option<java.lang.String> chosenSubprotocol()
-
-