hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Can HttpClient work with Servlet 3.0 asynchronization
Date Sat, 07 Jan 2012 16:48:49 GMT
On Sat, 2012-01-07 at 05:46 -0800, Brent Groves wrote:
> I can use xSocket to get responses from the sample async-request-war servlet
> that comes with netbeans ide 7.1 RC2, but have had no luck using HttpClient
> to receive the servlets responses.
> 
> /**
>  * This class illustrates the usage of Servlet 3.0 asynchronization APIs.
>  * It is ported from Grizzly Comet sample and use Servlet 3.0 API here.
>  *
>  * @author Shing Wai Chan
>  * @author JeanFrancois Arcand
>  */
> @WebServlet(urlPatterns = {"/chat"}, asyncSupported = true)
> public class AjaxCometServlet extends HttpServlet {
> 

HttpClient can handle any HTTP/1.0 and HTTP/1.1 compliant response
messages regardless of technology used to generate them.

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message