Go to file
Stephane Landelle 541fe86fe0 Extract SocketAdress logic from NameResolver
Motivation:

As discussed in #4529, NameResolver design shouldn't be resolving SocketAddresses (or String name + port) and return InetSocketAddresses. It should resolve String names and return InetAddresses.
This SocketAddress to InetSocketAddresses resolution is actually a different concern, used by Bootstrap.

Modifications:

Extract SocketAddress to InetSocketAddresses resolution concern to a new class hierarchy named AddressResolver.
These AddressResolvers delegate to NameResolvers.

Result:

Better separation of concerns.

Note that new AddressResolvers generate a bit more allocations because of the intermediate Promise and List<InetAddress>.
2015-12-14 14:58:49 +01:00
all Update Netty to latest netty-tcnative 2015-09-18 12:01:36 -07:00
buffer Move Hex dump related util from ByteBufUtil to inner class 2015-12-11 19:47:37 +01:00
codec Use ByteBuf.*LE methods for write and read LE 2015-12-10 09:34:37 +01:00
codec-dns Provide more control over DnsNameResolver.query() / Add NameResolver.resolveAll() 2015-08-18 17:41:38 +09:00
codec-haproxy Add ProtocolDetectionResult and use it in HAProxyMessageDecoder for allow detect HAProxy protocol. 2015-06-23 08:59:16 +02:00
codec-http Fix compile error introduced by e25a29a180 2015-12-11 08:08:52 +01:00
codec-http2 Allow to set Http2HeaderEncoder.SensitivityDetector in the Http2ConnectionHandler 2015-12-11 07:59:38 +01:00
codec-memcache Fix a buffer leak in BinaryMemcacheEncoderTest 2015-08-29 11:55:33 +09:00
codec-mqtt Fix code styles on MQTT codec classes 2015-08-31 08:25:18 +02:00
codec-socks [maven-release-plugin] prepare for next development iteration 2015-03-03 08:30:59 -05:00
codec-stomp HTTP/2 Headers Type Updates 2015-10-30 14:33:48 -07:00
codec-xml [maven-release-plugin] prepare for next development iteration 2015-03-03 08:30:59 -05:00
common Fix AsciiString.contentEqualsIgnoreCase 2015-12-12 19:48:03 +01:00
example Remove HttpHeadersUtil 2015-11-09 12:03:32 -08:00
handler Remove unused method in SslContext 2015-12-10 08:59:08 +01:00
handler-proxy Extract SocketAdress logic from NameResolver 2015-12-14 14:58:49 +01:00
license [#4331] Helper methods to get charset from Content-Type header of HttpMessage 2015-11-19 15:50:16 -08:00
microbench DefaultChannelConfig maxMessagesPerRead default not always set 2015-11-25 15:14:24 -08:00
resolver Extract SocketAdress logic from NameResolver 2015-12-14 14:58:49 +01:00
resolver-dns Extract SocketAdress logic from NameResolver 2015-12-14 14:58:49 +01:00
tarball [maven-release-plugin] prepare for next development iteration 2015-03-03 08:30:59 -05:00
testsuite Remove HttpHeadersUtil 2015-11-09 12:03:32 -08:00
testsuite-osgi Add a property to disable osgi testsuite run 2015-08-13 09:52:46 +09:00
transport Extract SocketAdress logic from NameResolver 2015-12-14 14:58:49 +01:00
transport-native-epoll [#4449] Remove registered events from eventloop before close 2015-12-13 10:15:19 +01:00
transport-rxtx Use OneTimeTask where possible to reduce object creation 2015-11-20 14:41:41 -08:00
transport-sctp Use OneTimeTask where possible to reduce object creation 2015-11-20 14:41:41 -08:00
transport-udt a48e5c7347 merge build failure 2015-08-06 10:28:39 -07:00
.fbprefs Updated Find Bugs configuration 2009-03-04 10:33:09 +00:00
.gitignore Exclude bin directory from git Motivation: 2014-08-27 06:33:22 +02:00
.travis.yml Travis CI branch whitelisting 2013-03-11 09:55:43 +09:00
CONTRIBUTING.md Move the pull request guide to the developer guide 2014-03-12 13:17:58 +09:00
LICENSE.txt Relicensed to Apache License v2 2009-08-28 07:15:49 +00:00
NOTICE.txt [#4331] Helper methods to get charset from Content-Type header of HttpMessage 2015-11-19 15:50:16 -08:00
pom.xml update pom due to alpn provided 2015-11-23 12:53:12 -08:00
README.md Fix the 'branches to look' section 2015-10-27 13:59:26 +01:00
run-example.sh Add HTTP/2 Netty tiles example 2015-05-18 14:17:48 -07:00

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+) is enough to run your Netty-based application.

Branches to look

The 'master' branch is where the development of the latest major version lives on. The development of all other 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.