Top Inners Fields Constructors Methods
io.undertow.websockets.core.protocol.version07

pack-priv Class WebSocket07CloseFrameSourceChannel

extends StreamSourceFrameChannel
Class Inheritance
Imports
io.undertow.websockets.core.StreamSourceFrameChannel, .WebSocketFrameType, .WebSocketMessages, io.undertow.connector.PooledByteBuffer, java.io.IOException, java.nio.ByteBuffer

Author
Norman Maurer

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Inherited from io.undertow.websockets.core.StreamSourceFrameChannel:
type

Constructor Summary

AccessConstructor and Description
pack-priv
WebSocket07CloseFrameSourceChannel(WebSocket07Channel wsChannel, int rsv, Masker masker, PooledByteBuffer pooled, long frameLength)

pack-priv
WebSocket07CloseFrameSourceChannel(WebSocket07Channel wsChannel, int rsv, PooledByteBuffer pooled, long frameLength)

Method Summary

Inherited from io.undertow.websockets.core.StreamSourceFrameChannel:
afterReadcheckerfinalFramegetFramedChannelgetRsvgetTypegetWebSocketChannelhandleHeaderDataisFinalFragmentprocessFrameDatareadreadreadtransferTotransferTo

Constructor Detail

WebSocket07CloseFrameSourceChannelback to summary
pack-priv WebSocket07CloseFrameSourceChannel(WebSocket07Channel wsChannel, int rsv, Masker masker, PooledByteBuffer pooled, long frameLength)
WebSocket07CloseFrameSourceChannelback to summary
pack-priv WebSocket07CloseFrameSourceChannel(WebSocket07Channel wsChannel, int rsv, PooledByteBuffer pooled, long frameLength)
io.undertow.websockets.core.protocol.version07 back to summary

public Class WebSocket07CloseFrameSourceChannel.CloseFrameValidatorChannelFunction

extends UTF8Checker
Class Inheritance

Field Summary

Modifier and TypeField and Description
private int
private int
private final WebSocket07Channel

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
afterRead(ByteBuffer
the ByteBuffer to operate on
buf
,
int
the index in the ByteBuffer to start from
position
,
int
the number of bytes to operate on
length
)

Overrides io.undertow.websockets.core.protocol.version07.UTF8Checker.afterRead.

Implements io.undertow.websockets.core.function.ChannelFunction.afterRead.

Is called on the ByteBuffer after a read operation completes

Inherited from io.undertow.websockets.core.protocol.version07.UTF8Checker:
beforeWritecompletenewFrame

Field Detail

statusback to summary
private int status
statusBytesReadback to summary
private int statusBytesRead
wsChannelback to summary
private final WebSocket07Channel wsChannel

Constructor Detail

CloseFrameValidatorChannelFunctionback to summary
pack-priv CloseFrameValidatorChannelFunction(WebSocket07Channel wsChannel)

Method Detail

afterReadback to summary
public void afterRead(ByteBuffer buf, int position, int length) throws IOException

Overrides io.undertow.websockets.core.protocol.version07.UTF8Checker.afterRead.

Implements io.undertow.websockets.core.function.ChannelFunction.afterRead.

Doc from io.undertow.websockets.core.function.ChannelFunction.afterRead.

Is called on the ByteBuffer after a read operation completes

Parameters
buf:ByteBuffer

the ByteBuffer to operate on

position:int

the index in the ByteBuffer to start from

length:int

the number of bytes to operate on

Annotations
@Override
Exceptions
IOException:
thrown if an error occurs