On Tue, Apr 25, 2017 at 1:37 AM, Oleg Kalnichevski <[email protected]> wrote:

> On Tue, 2017-04-25 at 01:27 -0700, Gary Gregory wrote:
> > On Tue, Apr 25, 2017 at 1:00 AM, Oleg Kalnichevski <[email protected]>
> > wrote:
> >
> > > On Mon, 2017-04-24 at 15:07 -0700, Gary Gregory wrote:
> > > > Hi,
> > > >
> > > > I noticed a couple of "CONNECT" strings hard coded here and there
> > > > and
> > > > wondered why we do not have an HttpConnect class (with a
> > > > METHOD_NAME
> > > > static) like we have HttpGet, and so on.
> > > >
> > > > Gary
> > > >
> > >
> > > CONNECT is a special purpose method that is unlikely to be
> > > applicable
> > > to common scenarios. It is being used internally by HttpClient to
> > > establish multi-hop routes via a proxy or a chain of proxies. I see
> > > no
> > > good reason to have HttpConnect given it can be easily misused.
> > >
> >
> > OK, how about putting this in a Javadoc for a static definition of
> > the
> > "CONNECT" constant? I'm just trying to gather knowledge in
> > comments...
> >
>
> I added an enum with standard methods to HttpClient 5.0. It is still in
> my private branch on GitHub though. Please just bear with me a little
> longer. I'll commit that code to SVN as soon as HttpCore 5.0a3 goes
> out.
>

No rush on the 5.0a3 side as I am deep in 4.4.6 in my current project.

I hope to take the time to create a branch of my project on 5.0 once a3 is
out.

Gary


>
> Oleg
>
> > Gary
> >
> >
> > >
> > > Oleg
> > >
> > > -----------------------------------------------------------------
> > > ----
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > >
> > >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
E-Mail: [email protected] | [email protected]
Java Persistence with Hibernate, Second Edition
<https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459>
JUnit in Action, Second Edition
<https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021>
Spring Batch in Action
<https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action>
<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to