You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andrea Cavalli c0ddce316b Rename package 1 month ago
bom Rename package 1 month ago
buffer Rename package 1 month ago
codec/src/test/resources Rename package 1 month ago
common Rename package 1 month ago
dev-tools Rename package 1 month ago
example/src/main/resources/io/net5/example/http2/tiles Rename package 1 month ago
handler/src Rename package 1 month ago
license Introduce BrotliEncoder (#11256) 3 months ago
transport-udt/lib/bin/lib/x86_64-MacOSX-gpp/jni Replace reflection usage with MethodHandles when performance matters (#10097) 2 years ago
.fbprefs Updated Find Bugs configuration 13 years ago
.gitattributes Include mvn wrapper to make setup of development env easier 4 years ago
.gitignore Ignore `.shelf/` folder generated by IntelliJ IDEA (#10445) 1 year ago
.lgtm.yml Enables lgtm.com to process this project and create a CodeQL database 2 years ago
CONTRIBUTING.md Change the netty.io homepage scheme(http -> https) (#9344) 2 years ago
LICENSE.txt Enable nohttp check during the build (#10708) 1 year ago
NOTICE.txt Introduce BrotliEncoder (#11256) 3 months ago
README.md Rename package 1 month ago
SECURITY.md Added a security policy (#10692) 1 year ago
mvnw Enable nohttp check during the build (#10708) 1 year ago
mvnw.cmd Enable nohttp check during the build (#10708) 1 year ago
nohttp-checkstyle-suppressions.xml Ensure Checkstyle suppression for dependency-reduced-pom.xml on Windows (#10899) 10 months ago
nohttp-checkstyle.xml Enable nohttp check during the build (#10708) 1 year ago
pom.xml Rename package 1 month ago
run-example.sh Rename package 1 month ago

README.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.