Modifier and Type | Class and Description |
---|---|
class |
AioDecodeException
Deprecated.
用TioDecodeException
|
Modifier and Type | Method and Description |
---|---|
Packet |
AioHandler.decode(ByteBuffer buffer,
int limit,
int position,
int readableLength,
ChannelContext channelContext)
根据ByteBuffer解码成业务需要的Packet对象.
|
Modifier and Type | Method and Description |
---|---|
FlashPolicyPacket |
FlashPolicyServerAioHandler.decode(ByteBuffer buffer,
int limit,
int position,
int readableLength,
ChannelContext channelContext)
|
Modifier and Type | Method and Description |
---|---|
static HttpRequest |
HttpRequestDecoder.decode(ByteBuffer buffer,
int limit,
int position,
int readableLength,
ChannelContext channelContext,
HttpConfig httpConfig) |
static void |
HttpMultiBodyDecoder.decode(HttpRequest request,
RequestLine firstLine,
byte[] bodyBytes,
String initboundary,
ChannelContext channelContext,
HttpConfig httpConfig) |
static void |
HttpRequestDecoder.decodeParams(Map<String,Object[]> params,
String queryString,
String charset,
ChannelContext channelContext) |
static HttpMultiBodyDecoder.Step |
HttpMultiBodyDecoder.parseBody(HttpMultiBodyDecoder.Header header,
HttpRequest request,
ByteBuffer buffer,
String boundary,
String endBoundary,
ChannelContext channelContext,
HttpConfig httpConfig) |
static void |
HttpMultiBodyDecoder.parseHeader(List<String> lines,
HttpMultiBodyDecoder.Header header,
ChannelContext channelContext)
【
Content-Disposition: form-data; name="uploadFile"; filename=""
Content-Type: application/octet-stream
】
【
Content-Disposition: form-data; name="end"
】
|
static boolean |
HttpRequestDecoder.parseHeaderLine(ByteBuffer buffer,
Map<String,String> headers,
int hasReceivedHeaderLength,
HttpConfig httpConfig)
解析请求头的每一行
|
static RequestLine |
HttpRequestDecoder.parseRequestLine(ByteBuffer buffer,
ChannelContext channelContext)
parse request line(the first line)
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
HttpServerAioHandler.decode(ByteBuffer buffer,
int limit,
int position,
int readableLength,
ChannelContext channelContext) |
Modifier and Type | Method and Description |
---|---|
Packet |
WsClientAioHander.decode(ByteBuffer buffer,
int limit,
int position,
int readableLength,
ChannelContext ctx) |
Modifier and Type | Method and Description |
---|---|
static HttpResponse |
HttpResponseDecoder.decode(ByteBuffer buffer,
int limit,
int position,
int readableLength,
ChannelContext channelContext) |
static boolean |
HttpResponseDecoder.parseHeaderLine(ByteBuffer buffer,
Map<String,String> headers,
int headerLength)
解析请求头的每一行
|
static ResponseLine |
HttpResponseDecoder.parseResponseLine(ByteBuffer buffer,
ChannelContext channelContext)
parse response line(the first line)
|
Modifier and Type | Method and Description |
---|---|
static WsResponse |
WsClientDecoder.decode(ByteBuffer buf,
ChannelContext channelContext) |
static WsRequest |
WsServerDecoder.decode(ByteBuffer buf,
ChannelContext channelContext) |
Modifier and Type | Method and Description |
---|---|
WsRequest |
WsServerAioHandler.decode(ByteBuffer buffer,
int limit,
int position,
int readableLength,
ChannelContext channelContext) |
Copyright © 2021. All rights reserved.