Go to file
2021-09-17 16:28:14 +02:00
bom
buffer
codec/src/test/resources
common
dev-tools
example/src/main/resources/io/net5/example/http2/tiles
handler/src
license
transport-udt/lib/bin/lib/x86_64-MacOSX-gpp/jni
.fbprefs
.gitattributes
.gitignore
.lgtm.yml
CONTRIBUTING.md
LICENSE.txt
mvnw
mvnw.cmd
nohttp-checkstyle-suppressions.xml
nohttp-checkstyle.xml
NOTICE.txt
pom.xml
README.md
run-example.sh
SECURITY.md

Build project

Netty Project

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

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+

Netty can be used in modular JDK9+ applications as a collection of automatic modules. The module names follow the reverse-DNS style, and are derived from subproject names rather than root packages due to historical reasons. They are listed below:

  • io.net5.all
  • io.net5.buffer
  • io.net5.codec
  • io.net5.codec.dns
  • io.net5.codec.haproxy
  • io.net5.codec.http
  • io.net5.codec.http2
  • io.net5.codec.memcache
  • io.net5.codec.mqtt
  • io.net5.codec.redis
  • io.net5.codec.smtp
  • io.net5.codec.socks
  • io.net5.codec.stomp
  • io.net5.codec.xml
  • io.net5.common
  • io.net5.handler
  • io.net5.handler.proxy
  • io.net5.resolver
  • io.net5.resolver.dns
  • io.net5.transport
  • io.net5.transport.epoll (native omitted - reserved keyword in Java)
  • io.net5.transport.kqueue (native omitted - reserved keyword in Java)
  • io.net5.transport.unix.common (native omitted - reserved keyword in Java)
  • io.net5.transport.rxtx
  • io.net5.transport.sctp
  • io.net5.transport.udt

Automatic modules do not provide any means to declare dependencies, so you need to list each used module separately in your module-info file.