Go to file
Trustin Lee cc4f705029 Replace ChannelBuffer.toByteBuffer() with hasNioBuffer() and nioBuffer()
... just like we do with byte arrays.  toByteBuffer() and
toByteBuffers() had an indeterministic behavior and thus it could not
tell when the returned NIO buffer is shared or not.  nioBuffer() always
returns a view buffer of the Netty buffer.  The only case where
hasNioBuffer() returns false and nioBuffer() fails is the
CompositeChannelBuffer, which is not very commonly used and *slow*.
2012-06-02 01:30:55 -07:00
all Remove duplicate groupId 2012-05-14 23:09:13 +09:00
buffer Replace ChannelBuffer.toByteBuffer() with hasNioBuffer() and nioBuffer() 2012-06-02 01:30:55 -07:00
codec Replace ChannelBuffer.toByteBuffer() with hasNioBuffer() and nioBuffer() 2012-06-02 01:30:55 -07:00
codec-http Replace ChannelBuffer.toByteBuffer() with hasNioBuffer() and nioBuffer() 2012-06-02 01:30:55 -07:00
common Fix a bug where DetectionUtil.hasUnsafe() returns a wrong value 2012-06-01 18:25:56 -07:00
example Strict thread model / Allow assign an executor to a handler 2012-06-01 17:51:19 -07:00
handler Replace ChannelBuffer.toByteBuffer() with hasNioBuffer() and nioBuffer() 2012-06-02 01:30:55 -07:00
license Added webbit license and credits 2011-10-27 10:34:37 +11:00
testsuite Apply missing changes in the branch '3' 2012-05-31 11:50:08 -07:00
transport Replace ChannelBuffer.toByteBuffer() with hasNioBuffer() and nioBuffer() 2012-06-02 01:30:55 -07:00
.fbfilter.xml Update license header / Remove JBoss style 2011-12-09 14:18:34 +09: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 More copyright updates 2011-12-09 14:28:48 +09:00
pom.xml Add JBoss Marshalling Encoder/Decoder. See #324 2012-05-30 19:09:54 -07:00
README.md Update README 2012-05-30 13:31:17 -07: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