Package | Description |
---|---|
io.undertow.websockets.core | |
io.undertow.websockets.core.protocol.version07 |
Modifier and Type | Field | Description |
---|---|---|
protected WebSocketFrameType |
StreamSourceFrameChannel.type |
Modifier and Type | Method | Description |
---|---|---|
WebSocketFrameType |
StreamSinkFrameChannel.getType() |
Return the
WebSocketFrameType for which the StreamSinkFrameChannel was obtained. |
WebSocketFrameType |
StreamSourceFrameChannel.getType() |
Return the
WebSocketFrameType or null if its not known at the calling time. |
static WebSocketFrameType |
WebSocketFrameType.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static WebSocketFrameType[] |
WebSocketFrameType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
protected abstract StreamSinkFrameChannel |
WebSocketChannel.createStreamSinkChannel(WebSocketFrameType type) |
Create a new StreamSinkFrameChannel which can be used to send a WebSocket Frame of the type
WebSocketFrameType . |
StreamSinkFrameChannel |
WebSocketChannel.send(WebSocketFrameType type) |
Returns a new
StreamSinkFrameChannel for sending the given WebSocketFrameType with the given payload. |
java.lang.IllegalArgumentException |
WebSocketMessages_$bundle.unsupportedFrameType(WebSocketFrameType type) |
|
java.lang.IllegalArgumentException |
WebSocketMessages.unsupportedFrameType(WebSocketFrameType type) |
Constructor | Description |
---|---|
StreamSinkFrameChannel(WebSocketChannel channel,
WebSocketFrameType type) |
|
StreamSourceFrameChannel(WebSocketChannel wsChannel,
WebSocketFrameType type,
int rsv,
boolean finalFragment,
PooledByteBuffer pooled,
long frameLength,
Masker masker,
ChannelFunction... functions) |
|
StreamSourceFrameChannel(WebSocketChannel wsChannel,
WebSocketFrameType type,
PooledByteBuffer pooled,
long frameLength) |
Modifier and Type | Method | Description |
---|---|---|
protected StreamSinkFrameChannel |
WebSocket07Channel.createStreamSinkChannel(WebSocketFrameType type) |
Constructor | Description |
---|---|
WebSocket07FrameSinkChannel(WebSocket07Channel wsChannel,
WebSocketFrameType type) |
Copyright © 2018. All rights reserved.