You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Pavel Bucek <pa...@oracle.com> on 2014/04/14 17:05:19 UTC

HTTP Upgrade support

Hi all,

is Http(Async)Client capable of handling upgraded request? I mean - can 
I somehow plug in my HttpUpgradeHandler [1][2], something similar to 
what was introduced in Servlet 3.1 - non blocking read/write access to 
the underlying connection.

Thanks and regards,
Pavel

[1] 
http://docs.oracle.com/javaee/7/api/javax/servlet/http/HttpUpgradeHandler.html
[2] 
http://docs.oracle.com/javaee/7/api/javax/servlet/http/WebConnection.html

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


Re: HTTP Upgrade support

Posted by Oleg Kalnichevski <ol...@apache.org>.
On April 14, 2014 5:05:19 PM CEST, Pavel Bucek <pa...@oracle.com> wrote:
>Hi all,
>
>is Http(Async)Client capable of handling upgraded request? I mean - can
>
>I somehow plug in my HttpUpgradeHandler [1][2], something similar to 
>what was introduced in Servlet 3.1 - non blocking read/write access to 
>the underlying connection.
>
>Thanks and regards,
>Pavel
>

No, currently not. We will need to support protocol upgrade should we decide to provide support for websockets but there are no immediate plans to do so.

Oleg

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