Netty project - an event-driven asynchronous network application framework
Java C Shell Groovy C++ Makefile
Switch branches/tags
netty-5.0.0.Alpha2 netty-5.0.0.Alpha1 netty-4.1.28.Final netty-4.1.27.Final netty-4.1.26.Final netty-4.1.25.Final netty-4.1.24.Final netty-4.1.23.Final netty-4.1.22.Final netty-4.1.21.Final netty-4.1.20.Final netty-4.1.19.Final netty-4.1.18.Final netty-4.1.17.Final netty-4.1.16.Final netty-4.1.15.Final netty-4.1.14.Final netty-4.1.13.Final netty-4.1.12.Final netty-4.1.11.Final netty-4.1.10.Final netty-4.1.9.Final netty-4.1.8.Final netty-4.1.7.Final netty-4.1.6.Final netty-4.1.5.Final netty-4.1.4.Final netty-4.1.3.Final netty-4.1.2.Final netty-4.1.1.Final netty-4.1.0.Final netty-4.1.0.CR7 netty-4.1.0.CR6 netty-4.1.0.CR5 netty-4.1.0.CR4 netty-4.1.0.CR3 netty-4.1.0.CR2 netty-4.1.0.CR1 netty-4.1.0.Beta8 netty-4.1.0.Beta7 netty-4.1.0.Beta6 netty-4.1.0.Beta5 netty-4.1.0.Beta4 netty-4.1.0.Beta3 netty-4.1.0.Beta2 netty-4.1.0.Beta1 netty-4.0.56.Final netty-4.0.55.Final netty-4.0.54.Final netty-4.0.53.Final netty-4.0.52.Final netty-4.0.51.Final netty-4.0.50.Final netty-4.0.49.Final netty-4.0.48.Final netty-4.0.47.Final netty-4.0.46.Final netty-4.0.45.Final netty-4.0.44.Final netty-4.0.43.Final netty-4.0.42.Final netty-4.0.41.Final netty-4.0.40.Final netty-4.0.39.Final netty-4.0.38.Final netty-4.0.37.Final netty-4.0.36.Final netty-4.0.35.Final netty-4.0.34.Final netty-4.0.33.Final netty-4.0.32.Final netty-4.0.31.Final netty-4.0.30.Final netty-4.0.29.Final netty-4.0.28.Final netty-4.0.27.Final netty-4.0.26.Final netty-4.0.25.Final netty-4.0.24.Final netty-4.0.23.Final netty-4.0.22.Final netty-4.0.21.Final netty-4.0.20.Final netty-4.0.19.Final netty-4.0.18.Final netty-4.0.17.Final netty-4.0.16.Final netty-4.0.15.Final netty-4.0.14.Final netty-4.0.14.Beta1 netty-4.0.13.Final netty-4.0.12.Final netty-4.0.11.Final netty-4.0.10.Final netty-4.0.9.Final netty-4.0.8.Final netty-4.0.7.Final netty-4.0.6.Final netty-4.0.5.Final netty-4.0.4.Final
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github Use GitHub Issue/PR Template Feature Dec 7, 2016
.mvn/wrapper Include mvn wrapper to make setup of development env easier Jan 26, 2018
all [maven-release-plugin] prepare for next development iteration Jul 27, 2018
bom [maven-release-plugin] prepare for next development iteration Jul 27, 2018
buffer CompositeByteBuf nioBuffer doesn't always alloc (#8176) Aug 7, 2018
codec-dns [maven-release-plugin] prepare for next development iteration Jul 27, 2018
codec-haproxy [maven-release-plugin] prepare for next development iteration Jul 27, 2018
codec-http [maven-release-plugin] prepare for next development iteration Jul 27, 2018
codec-http2 [maven-release-plugin] prepare for next development iteration Jul 27, 2018
codec-memcache [maven-release-plugin] prepare for next development iteration Jul 27, 2018
codec-mqtt [maven-release-plugin] prepare for next development iteration Jul 27, 2018
codec-redis [maven-release-plugin] prepare for next development iteration Jul 27, 2018
codec-smtp [maven-release-plugin] prepare for next development iteration Jul 27, 2018
codec-socks [maven-release-plugin] prepare for next development iteration Jul 27, 2018
codec-stomp [maven-release-plugin] prepare for next development iteration Jul 27, 2018
codec-xml [maven-release-plugin] prepare for next development iteration Jul 27, 2018
codec [maven-release-plugin] prepare for next development iteration Jul 27, 2018
common Only use manual safepoint polling in PlatformDependent0.copyMemory(..… Aug 18, 2018
dev-tools [maven-release-plugin] prepare for next development iteration Jul 27, 2018
docker Update to java 11+ea19 Jun 25, 2018
example [maven-release-plugin] prepare for next development iteration Jul 27, 2018
handler-proxy [maven-release-plugin] prepare for next development iteration Jul 27, 2018
handler Allow to load PrivateKey via OpenSSL Engine (#8200) Aug 18, 2018
license Add the NOTICE of the forked portion of Apache Harmony Jan 30, 2018
microbench [maven-release-plugin] prepare for next development iteration Jul 27, 2018
resolver-dns Keep the amount of scheduled tasks for DefaultDnsCache at a minimum (#… Aug 15, 2018
resolver [maven-release-plugin] prepare for next development iteration Jul 27, 2018
tarball [maven-release-plugin] prepare for next development iteration Jul 27, 2018
testsuite-autobahn [maven-release-plugin] prepare for next development iteration Jul 27, 2018
testsuite-http2 [maven-release-plugin] prepare for next development iteration Jul 27, 2018
testsuite-osgi [maven-release-plugin] prepare for next development iteration Jul 27, 2018
testsuite-shading Disable test as it sometimes fails on the CI Aug 1, 2018
testsuite Adjust SSL related tests to be more correct and so pass in the next E… Aug 1, 2018
transport-native-epoll (Nio|Epoll)EventLoop.pendingTasks does not need to dispatch to the Ev… Aug 18, 2018
transport-native-kqueue (Nio|Epoll)EventLoop.pendingTasks does not need to dispatch to the Ev… Aug 18, 2018
transport-native-unix-common-tests [maven-release-plugin] prepare for next development iteration Jul 27, 2018
transport-native-unix-common [maven-release-plugin] prepare for next development iteration Jul 27, 2018
transport-rxtx [maven-release-plugin] prepare for next development iteration Jul 27, 2018
transport-sctp [maven-release-plugin] prepare for next development iteration Jul 27, 2018
transport-udt [maven-release-plugin] prepare for next development iteration Jul 27, 2018
transport (Nio|Epoll)EventLoop.pendingTasks does not need to dispatch to the Ev… Aug 18, 2018
.fbprefs Updated Find Bugs configuration Mar 4, 2009
.gitattributes Include mvn wrapper to make setup of development env easier Jan 26, 2018
.gitignore Add docker-sync files to .gitignore May 15, 2018
CONTRIBUTING.md Move the pull request guide to the developer guide Mar 12, 2014
LICENSE.txt Relicensed to Apache License v2 Aug 28, 2009
NOTICE.txt Add the NOTICE of the forked portion of Apache Harmony Jan 30, 2018
README.md Provide an Automatic-Module-Name for the netty-all artifact fixes #7644 Jan 27, 2018
mvnw Include mvn wrapper to make setup of development env easier Jan 26, 2018
mvnw.cmd Include mvn wrapper to make setup of development env easier Jan 26, 2018
pom.xml Allow to load PrivateKey via OpenSSL Engine (#8200) Aug 18, 2018
run-example.sh Add UptimeServer and adjust UptimeClient's code style. Apr 28, 2017

README.md

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+) 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.0 resides in the branch '3.9' and the branch '4.0' 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.netty.all
  • io.netty.buffer
  • io.netty.codec
  • io.netty.codec.dns
  • io.netty.codec.haproxy
  • io.netty.codec.http
  • io.netty.codec.http2
  • io.netty.codec.memcache
  • io.netty.codec.mqtt
  • io.netty.codec.redis
  • io.netty.codec.smtp
  • io.netty.codec.socks
  • io.netty.codec.stomp
  • io.netty.codec.xml
  • io.netty.common
  • io.netty.handler
  • io.netty.handler.proxy
  • io.netty.resolver
  • io.netty.resolver.dns
  • io.netty.transport
  • io.netty.transport.epoll (native omitted - reserved keyword in Java)
  • io.netty.transport.kqueue (native omitted - reserved keyword in Java)
  • io.netty.transport.unix.common (native omitted - reserved keyword in Java)
  • io.netty.transport.rxtx
  • io.netty.transport.sctp
  • io.netty.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.