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, value
lowercaseName, render
fastFind, is, isNot, parse, unapply, unsafeToString
parse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createScalaFlow, getRequestedProtocols, handleMessages, handleMessagesWith, handleMessagesWith, handleMessagesWith, handleMessagesWith, handleMessagesWithSinkSource, requestedProtocols
toString
public 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)