hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: org.apache.http.HttpMessage<T extends HttpEntity> ?
Date Fri, 28 Aug 2015 17:26:34 GMT
On Wed, 2015-08-26 at 16:27 -0700, Gary Gregory wrote:
> Right now we have:
> 
> org.apache.http.HttpMessage<T>
> 
> Do we really want to have any kind of object in there or would this be
> better:
> 
> org.apache.http.HttpMessage<T extends HttpEntity>
> 
> ?
> 

Gary

It was done with HTTP/2 support in mind. Most likely HttpEntity
interface will no longer work well for HTTP/2 transport. However I would
still like to have a common message class shared by both HTTP/1.1 and
HTTP/2 transports.

Oleg



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


Mime
View raw message