public class HttpTioServerHandler extends Object implements TioServerHandler
| Modifier and Type | Field and Description |
|---|---|
protected HttpConfig |
httpConfig |
static String |
REQUEST_KEY |
| Constructor and Description |
|---|
HttpTioServerHandler(HttpConfig httpConfig,
HttpRequestHandler requestHandler) |
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
decode(ByteBuffer buffer,
int limit,
int position,
int readableLength,
ChannelContext channelContext) |
ByteBuffer |
encode(Packet packet,
TioConfig tioConfig,
ChannelContext channelContext) |
HttpConfig |
getHttpConfig() |
void |
handler(Packet packet,
ChannelContext channelContext) |
public static final String REQUEST_KEY
protected final HttpConfig httpConfig
public HttpTioServerHandler(HttpConfig httpConfig, HttpRequestHandler requestHandler)
public HttpRequest decode(ByteBuffer buffer, int limit, int position, int readableLength, ChannelContext channelContext) throws TioDecodeException
decode in interface TioHandlerTioDecodeExceptionpublic ByteBuffer encode(Packet packet, TioConfig tioConfig, ChannelContext channelContext)
encode in interface TioHandlerpublic HttpConfig getHttpConfig()
public void handler(Packet packet, ChannelContext channelContext) throws Exception
handler in interface TioHandlerExceptionCopyright © 2025. All rights reserved.