public abstract class UpgradeToWebSocketLowLevel extends InternalCustomHeader implements UpgradeToWebSocket, WebSocketUpgrade
INTERNAL API
HttpHeader.ParsingResult, HttpHeader.ParsingResult$| Constructor and Description |
|---|
UpgradeToWebSocketLowLevel() |
| Modifier and Type | Method and Description |
|---|---|
abstract HttpResponse |
handleFrames(org.apache.pekko.stream.Graph<org.apache.pekko.stream.FlowShape<FrameEvent,FrameEvent>,java.lang.Object> handlerFlow,
scala.Option<java.lang.String> subprotocol)
The low-level interface to create WebSocket server based on "frames".
|
name, renderInRequests, renderInResponses, valuelowercaseName, renderfastFind, is, isNot, parse, unapply, unsafeToStringparseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateScalaFlow, getRequestedProtocols, handleMessages, handleMessagesWith, handleMessagesWith, handleMessagesWith, handleMessagesWith, handleMessagesWithSinkSource, requestedProtocolstoStringpublic abstract HttpResponse handleFrames(org.apache.pekko.stream.Graph<org.apache.pekko.stream.FlowShape<FrameEvent,FrameEvent>,java.lang.Object> handlerFlow, scala.Option<java.lang.String> subprotocol)
Returns a response to return in a request handler that will signal the low-level HTTP implementation to upgrade the connection to WebSocket and use the supplied handler to handle incoming WebSocket frames.
INTERNAL API (for now)
handlerFlow - (undocumented)subprotocol - (undocumented)