Package akka.http.scaladsl.model.ws
Class InvalidUpgradeResponse
- java.lang.Object
-
- akka.http.scaladsl.model.ws.InvalidUpgradeResponse
-
- All Implemented Interfaces:
WebSocketUpgradeResponse
,java.io.Serializable
,scala.Equals
,scala.Product
public final class InvalidUpgradeResponse extends java.lang.Object implements WebSocketUpgradeResponse, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidUpgradeResponse(HttpResponse response, java.lang.String cause)
-
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)
java.lang.String
cause()
HttpResponse
response()
static java.lang.String
toString()
-
-
-
Constructor Detail
-
InvalidUpgradeResponse
public InvalidUpgradeResponse(HttpResponse response, java.lang.String cause)
-
-
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
-
cause
public java.lang.String cause()
-
-