Go to file
Norman Maurer af4b71a00e Remove special handling of Object[] in codec framework (a.k.a unfolding)
- Fixes #1229
- Primarily written by @normanmaurer and revised by @trustin

This commit removes the notion of unfolding from the codec framework
completely.  Unfolding was introduced in Netty 3.x to work around the
shortcoming of the codec framework where encode() and decode() did not
allow generating multiple messages.

Such a shortcoming can be fixed by changing the signature of encode()
and decode() instead of introducing an obscure workaround like
unfolding.  Therefore, we changed the signature of them in 4.0.

The change is simple, but backward-incompatible.  encode() and decode()
do not return anything.  Instead, the codec framework will pass a
MessageBuf<Object> so encode() and decode() can add the generated
messages into the MessageBuf.
2013-04-03 21:44:54 +09:00
all Fix version numbering 2013-03-25 08:01:11 +01:00
buffer Remove special handling of Object[] in codec framework (a.k.a unfolding) 2013-04-03 21:44:54 +09:00
codec Remove special handling of Object[] in codec framework (a.k.a unfolding) 2013-04-03 21:44:54 +09:00
codec-http Remove special handling of Object[] in codec framework (a.k.a unfolding) 2013-04-03 21:44:54 +09:00
codec-socks Remove special handling of Object[] in codec framework (a.k.a unfolding) 2013-04-03 21:44:54 +09:00
common Add MultithreadEventLoopGroup.DEFAULT_EVENT_LOOP_THREADS / Add DefaultThreadFactory 2013-04-03 17:49:30 +09:00
example Remove special handling of Object[] in codec framework (a.k.a unfolding) 2013-04-03 21:44:54 +09:00
handler enable checkstyle for test source directory and fix checkstyle errors 2013-03-30 13:18:57 +01:00
license Add back jzlib license file and notice 2013-02-21 14:00:59 -08:00
microbench enable checkstyle for test source directory and fix checkstyle errors 2013-03-30 13:18:57 +01:00
tarball Fix version numbering 2013-03-25 08:01:11 +01:00
testsuite Keep Socket/SctpTestPermutation from creating too many event loops 2013-04-03 18:06:46 +09:00
testsuite-osgi enable checkstyle for test source directory and fix checkstyle errors 2013-03-30 13:18:57 +01:00
transport Remove special handling of Object[] in codec framework (a.k.a unfolding) 2013-04-03 21:44:54 +09:00
transport-rxtx Fix version numbering 2013-03-25 08:01:11 +01:00
transport-sctp Fix version numbering 2013-03-25 08:01:11 +01:00
transport-udt Deprecate Bootstrap.shutdown() and use EventLoopGroup.shutdown() wherever possible 2013-04-03 16:15:33 +09:00
.fbfilter.xml Update license headers 2012-06-04 13:31:44 -07:00
.fbprefs Updated Find Bugs configuration 2009-03-04 10:33:09 +00:00
.gitignore ignore .idea/ folder 2012-01-16 16:01:00 +08:00
.travis.yml Travis CI branch whitelisting 2013-03-11 09:55:43 +09:00
LICENSE.txt Relicensed to Apache License v2 2009-08-28 07:15:49 +00:00
NOTICE.txt Add back jzlib license file and notice 2013-02-21 14:00:59 -08:00
pom.xml enable checkstyle for test source directory and fix checkstyle errors 2013-03-30 13:18:57 +01:00
README.md Fix broken url 2013-02-26 16:29:24 -08: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