cc4f705029
... 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*. |
||
---|---|---|
all | ||
buffer | ||
codec | ||
codec-http | ||
common | ||
example | ||
handler | ||
license | ||
testsuite | ||
transport | ||
.fbfilter.xml | ||
.fbprefs | ||
.gitignore | ||
LICENSE.txt | ||
NOTICE.txt | ||
pom.xml | ||
README.md |
The Netty Project
Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients.
Links
-
Web Site: http://netty.io/
-
Docs: http://netty.io/docs/
-
Blog: http://netty.io/blog/
-
Twitter: @netty_project
Getting Netty
-
Download Page: http://netty.io/downloads/
-
Maven Repository:
<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