hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: org.apache.http.HttpMessage<T extends HttpEntity> ?
Date Fri, 28 Aug 2015 17:38:41 GMT
On Fri, Aug 28, 2015 at 10:26 AM, Oleg Kalnichevski <olegk@apache.org>
wrote:

> 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.
>

OK, so that sounds like leave it as HttpMessage<T> for now.

Gary


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


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message