Folks New async protocol handlers are complete and stable enough to get a feel of how the new API is shaping up.
Non-blocking, zero-copy file server example new: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpServer.java old: http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpServer.java Non-blocking client example new: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java old: http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java Non-blocking reverse proxy example new: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java old: http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.1.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java The difference in the client and the proxy code is especially noticeable, even in terms of lines of code necessary it takes to get the same things done. Feel free to take a look and let me know what you think. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
