MCPcopy Index your code
hub / github.com/netty/netty

github.com/netty/netty @netty-4.2.15.Final sqlite

repository ↗ · DeepWiki ↗ · release netty-4.2.15.Final ↗
40,350 symbols 184,786 edges 3,516 files 7,750 documented · 19% 11 cross-repo links
README

Build project LFX Health Score

Netty Project

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients.

Links

How to build

For the detailed information about building and developing Netty, please visit the developer guide. This page only gives very basic information.

You require the following to build Netty:

Note that this is build-time requirement. JDK 5 (for 3.x) or 6 (for 4.0+ / 4.1+) is enough to run your Netty-based application.

Branches to look

Development of all versions takes place in each branch whose name is identical to <majorVersion>.<minorVersion>. For example, the development of 3.9 and 4.1 resides in the branch '3.9' and the branch '4.1' respectively.

Usage with JDK 9+

You can read the Modular Netty guide to learn more about using Netty with the Java Platform Module System, the guide contains a user section and a developer section for Netty contributors.

Extension points exported contracts — how you extend this code

FullMemcacheMessage (Interface)
Combines MemcacheMessage and LastMemcacheContent into one message. So it represent a complete mem [57 implementers]
codec-memcache/src/main/java/io/netty/handler/codec/memcache/FullMemcacheMessage.java
SocksMessage (Interface)
An interface that all SOCKS protocol messages implement. [13 implementers]
codec-socks/src/main/java/io/netty/handler/codec/socksx/SocksMessage.java
RecvByteBufAllocator (Interface)
Allocates a new receive buffer whose capacity is probably large enough to read all inbound data and small enough not to [15 …
transport/src/main/java/io/netty/channel/RecvByteBufAllocator.java
StompFrame (Interface)
Combines StompHeadersSubframe and LastStompContentSubframe into one frame. So it represent a complete [58 implementers]
codec-stomp/src/main/java/io/netty/handler/codec/stomp/StompFrame.java
FullHttpRequest (Interface)
Combine the HttpRequest and FullHttpMessage, so the request is a complete HTTP request. [7 implementers]
codec-http/src/main/java/io/netty/handler/codec/http/FullHttpRequest.java
QuicTokenHandler (Interface)
Handle token related operations. [7 implementers]
codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicTokenHandler.java
Http3Frame (Interface)
Marker interface that is implemented by all HTTP3 frames. [15 implementers]
codec-http3/src/main/java/io/netty/handler/codec/http3/Http3Frame.java
HostsFileEntriesResolver (Interface)
Resolves a hostname against the hosts file entries. [14 implementers]
resolver/src/main/java/io/netty/resolver/HostsFileEntriesResolver.java

Core symbols most depended-on inside this repo

add
called by 2178
codec-base/src/main/java/io/netty/handler/codec/Headers.java
channel
called by 1582
transport/src/main/java/io/netty/channel/ChannelFuture.java
append
called by 1348
codec-base/src/main/java/io/netty/handler/codec/DateFormatter.java
pipeline
called by 1194
transport/src/main/java/io/netty/channel/Channel.java
release
called by 1122
codec-http/src/main/java/io/netty/handler/codec/http/LastHttpContent.java
writeInbound
called by 1084
transport/src/main/java/io/netty/channel/embedded/EmbeddedChannel.java
checkNotNull
called by 1044
common/src/main/java/io/netty/util/internal/ObjectUtil.java
toString
called by 1031
codec-http/src/main/java/io/netty/handler/codec/http/LastHttpContent.java

Shape

Method 35,727
Class 3,981
Interface 431
Enum 209
Function 2

Languages

Java100%
TypeScript1%

Modules by API surface

buffer/src/test/java/io/netty/buffer/AbstractByteBufTest.java471 symbols
example/src/main/java/io/netty/example/worldclock/WorldClockProtocol.java285 symbols
transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java210 symbols
handler/src/test/java/io/netty/handler/ssl/SSLEngineTest.java203 symbols
resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverTest.java198 symbols
buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java183 symbols
buffer/src/main/java/io/netty/buffer/WrappedCompositeByteBuf.java174 symbols
buffer/src/main/java/io/netty/buffer/AbstractByteBuf.java161 symbols
handler/src/main/java/io/netty/handler/ssl/ReferenceCountedOpenSslEngine.java149 symbols
common/src/main/java/io/netty/util/internal/PlatformDependent.java142 symbols
buffer/src/main/java/io/netty/buffer/ByteBuf.java141 symbols
buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java139 symbols

Dependencies from manifests, versioned

${conscrypt.groupId}:${conscrypt.artifactId}
${project.groupId}:${tcnative.artifactId}
${project.groupId}:netty-buffer
${project.groupId}:netty-build-common
${project.groupId}:netty-codec
${project.groupId}:netty-codec-base
${project.groupId}:netty-codec-classes-quic
${project.groupId}:netty-codec-compression
${project.groupId}:netty-codec-dns
${project.groupId}:netty-codec-haproxy
${project.groupId}:netty-codec-http
${project.groupId}:netty-codec-http2

For agents

$ claude mcp add netty \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact