Package com.iohao.net.external.core.netty.handler
package com.iohao.net.external.core.netty.handler
Provides Netty channel handlers used by the external-server implementation to decode requests,
manage pipelines, and dispatch messages.
- Since:
- 25.1
- Author:
- 渔民小镇
- date:
- 2023-02-21
-
ClassesClassDescriptionCmdCacheHandler, externalServer data cacheCheck for route existence.Closes non-WebSocket HTTP requests after the WebSocket upgrade path handlers are installed.HttpRealIpHandlerSimple log printing, typically for inactive or exception-triggered connections.Netty handler that enforces external route access control and login requirements.Filters out heartbeat messages when no idle handler is configured.Netty idle handler that processes heartbeat frames and idle timeout events.Creates and removes
SocketUserSessioninstances on Netty channel lifecycle events.Netty codec that converts length-prefixed TCP frames to/fromCommunicationMessage.One-time guard that validates the first TCP length-prefixed frame header before normal decoding.Forwards validated user requests to the selected logic server.Netty codec that converts betweenBinaryWebSocketFrameandCommunicationMessage.Optional WebSocket handshake verification handler executed before protocol upgrade completion.