On Mon, 2012-11-05 at 20:51 +0800, Wei Gao wrote: > hi, dears > I'd like to use jdk'7 new feature aio together with httpclient or > httpcore api, but do not know if new httpcore api support it > or if anyone has the experience, could you give me some examples? > > many tks~ >
HttpCore 4.x line has to maintain JRE 1.5 compatibility and therefore can not make use of JRE 1.7 specific APIs. However, as far as I understand NIO.2 is primarily about asynchronous file i/o and should not make a big difference for socket bound i/o. It may prove quite beneficial for file based caches, though. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
