Package dev.tachyonmcp.core.transport.netty.http
@NullMarked
@InternalApi
package dev.tachyonmcp.core.transport.netty.http
Netty HTTP channel initialization and pipeline configuration.
-
ClassesClassDescriptionEnforces MCP Accept-header rules per spec (`MUST include application/json, text/event-stream` on POST; `MUST include text/event-stream` on GET).Guards against DNS-rebinding attacks by validating the
HostandOriginheaders.Rejects requests whose URI does not match the configured MCP endpoint path with a404 Not Foundresponse.Guards stateless-mode channels: rejects requests carrying session-related headers (MCP-Session-Id,Last-Event-ID) and DELETE methods.