hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Köhler <skoeh...@upb.de>
Subject Re: Sockets and Java NIO?
Date Fri, 19 Dec 2003 20:58:04 GMT
> Does HttpClient make use of Java NIO when in a Java 1.4.x
> context? If not, is there any work being done in this direction?

wherefor?

it doesn't make sense since reading and writing to the socket is done in 
the thread, from which the methods are called. NIO would make sense, if 
the API of HttpClient would be somehow asynchronious. That would mean 
that you can drop a "Job" into a Queue and that it's executed in the 
background. As this is not the case, using NIO doesn't make any sense.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message