public class WsServerEncoder extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_HEADER_LENGTH |
| Constructor and Description |
|---|
WsServerEncoder() |
| Modifier and Type | Method and Description |
|---|---|
static ByteBuffer |
encode(WsResponse wsResponse,
TioConfig tioConfig,
ChannelContext channelContext) |
static void |
int2Byte(byte[] bytes,
int value,
int offset) |
public static final int MAX_HEADER_LENGTH
public static ByteBuffer encode(WsResponse wsResponse, TioConfig tioConfig, ChannelContext channelContext)
public static void int2Byte(byte[] bytes,
int value,
int offset)
Copyright © 2021. All rights reserved.