Package io.undertow.websockets.core
Interface WebSocketChannel.PartialFrame
- All Superinterfaces:
FrameHeaderData
- All Known Subinterfaces:
WebSocketFrame
- Enclosing class:
- WebSocketChannel
Interface that represents a frame channel that is in the process of being created
-
Method Summary
Modifier and TypeMethodDescriptiongetChannel
(PooledByteBuffer data) void
handle
(ByteBuffer data) Handles the data, any remaining data will be pushed backboolean
isDone()
Methods inherited from interface io.undertow.server.protocol.framed.FrameHeaderData
getExistingChannel, getFrameLength
-
Method Details
-
getChannel
- Returns:
- The channel, or null if the channel is not available yet
-
handle
Handles the data, any remaining data will be pushed back- Throws:
WebSocketException
-
isDone
boolean isDone()- Returns:
- true if the channel is available
-