Go to file
Norman Maurer b7de868003 [#677] Overhaul HTTP codec
This commit tries to simplify the handling of Http easier and more consistent. This has a effect of many channges. Including:
 - HttpMessage was renamed to HttpHeader and the setContent and getContent methods were removed
 - HttpChunk was renamed to HttpContent
 - HttpChunkTrailer was renamed to LastHttpContent
 - HttpCodecUtil was merged into HttpHeaders

Now a "complete" Http message (request or response) contains of the following parts:
 - HttpHeader (HttpRequestHeader or HttpResponseHeader)
 - 0 - n HttpContent objects which contains parts of the content of the message
 - 1 LastHttpContent which marks the end of the message and contains the remaining data of the content

I also changed the sematic of HttpResponse and HttpRequest, these now represent a "complete" message which contains the HttpHeader and the HttpLastContent, and so can be used to eeasily send requests. The HttpMessageAggregator was renamed to HttpObjectAggregator and produce HttpResponse / HttpRequest message.
2013-01-15 17:51:12 +01:00
all Fix the incorrect snapshot version number 2012-12-13 22:49:31 +09:00
buffer Automatic diagnosis of resource leaks 2013-01-15 14:15:27 +09:00
codec Replace and merge DetectionUtil and DirectByteBufUtil into PlatformDependent and PlatformDependent0 2013-01-11 14:03:27 +09:00
codec-http [#677] Overhaul HTTP codec 2013-01-15 17:51:12 +01:00
codec-socks Fix various inspection warnings 2013-01-10 15:23:58 +09:00
common Automatic diagnosis of resource leaks 2013-01-15 14:15:27 +09:00
example [#677] Overhaul HTTP codec 2013-01-15 17:51:12 +01:00
handler Replace and merge DetectionUtil and DirectByteBufUtil into PlatformDependent and PlatformDependent0 2013-01-11 14:03:27 +09:00
license Add Snappy compression codec 2012-12-18 21:09:31 +01:00
metrics-yammer Clean up netty-metrics-yammer pom.xml 2013-01-11 00:16:06 +09:00
microbench Remove ChannelBuf/ByteBuf.Unsafe 2012-12-17 17:41:21 +09:00
tarball [#840] Generate the tarball with top level directory 2012-12-30 21:26:08 +01:00
testsuite Moved sctp transport classes from io.netty.channel.socket.sctp to it's own subpackage io.netty.channel.sctp 2013-01-14 21:27:49 +01:00
transport Overhaul pipeline implementation for clarity and memory efficiency 2013-01-16 00:38:14 +09:00
transport-rxtx Rename from io.netty.transport.* to io.netty.channel.* 2013-01-14 21:34:58 +01:00
transport-sctp Moved sctp transport classes from io.netty.channel.socket.sctp to it's own subpackage io.netty.channel.sctp 2013-01-14 21:27:49 +01:00
transport-udt Rename from io.netty.transport.* to io.netty.channel.* 2013-01-14 21:34:58 +01: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
LICENSE.txt Relicensed to Apache License v2 2009-08-28 07:15:49 +00:00
NOTICE.txt Add some of the metrics mentioned in #718 2013-01-04 11:27:49 +01:00
pom.xml Remove the memory option previously added to avoid OOME 2013-01-10 16:25:41 +09:00
README.md Fix README 2012-09-08 20:20:45 +02:00

The Netty Project

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

Getting Netty

    <dependencies>
      ...
      <dependency>
        <groupId>io.netty</groupId>
        <artifactId>netty</artifactId>
        <version>X.Y.Z.Q</version>
        <scope>compile</scope>
      </dependency>
      ...
    </dependencies>

Developer Information

  • Netty is setup to build using Maven

  • You need JDK 7 to build Netty. Netty will run with JDK 5 (3.x) and JDK 6 (4).

  • master branch contains code for Netty 4.x

  • 3 branch contains code for Netty 3.x