Package | Description |
---|---|
io.undertow.websockets.core | |
io.undertow.websockets.core.protocol.version07 |
Modifier and Type | Field and Description |
---|---|
protected WebSocketFrameType |
StreamSourceFrameChannel.type |
Modifier and Type | Method and Description |
---|---|
WebSocketFrameType |
StreamSourceFrameChannel.getType()
Return the
WebSocketFrameType or null if its not known at the calling time. |
WebSocketFrameType |
StreamSinkFrameChannel.getType()
Return the
WebSocketFrameType for which the StreamSinkFrameChannel was obtained. |
static WebSocketFrameType |
WebSocketFrameType.valueOf(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 and 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. |
IllegalArgumentException |
WebSocketMessages.unsupportedFrameType(WebSocketFrameType type) |
IllegalArgumentException |
WebSocketMessages_$bundle.unsupportedFrameType(WebSocketFrameType type) |
Constructor and 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 and Description |
---|---|
protected StreamSinkFrameChannel |
WebSocket07Channel.createStreamSinkChannel(WebSocketFrameType type) |
Constructor and Description |
---|
WebSocket07FrameSinkChannel(WebSocket07Channel wsChannel,
WebSocketFrameType type) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.