Package akka.http.scaladsl.server
Class UnsupportedWebSocketSubprotocolRejection
- java.lang.Object
-
- akka.http.scaladsl.server.UnsupportedWebSocketSubprotocolRejection
-
- All Implemented Interfaces:
Rejection,UnsupportedWebSocketSubprotocolRejection,Rejection,java.io.Serializable,scala.Equals,scala.Product
public final class UnsupportedWebSocketSubprotocolRejection extends java.lang.Object implements UnsupportedWebSocketSubprotocolRejection, Rejection, scala.Product, java.io.Serializable
Rejection created when a websocket request was not handled because none of the given subprotocols was supported.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnsupportedWebSocketSubprotocolRejection(java.lang.String supportedProtocol)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract static Rapply(T1 v1)java.lang.StringsupportedProtocol()static java.lang.StringtoString()
-
-
-
Method Detail
-
apply
public abstract static R apply(T1 v1)
-
toString
public static java.lang.String toString()
-
supportedProtocol
public java.lang.String supportedProtocol()
- Specified by:
supportedProtocolin interfaceUnsupportedWebSocketSubprotocolRejection
-
-