On Tue, 2017-05-16 at 01:32 -0700, Gary Gregory wrote:
> On Tue, May 16, 2017 at 12:34 AM, Oleg Kalnichevski <[email protected]
> >
> wrote:
> 
> > On Mon, 2017-05-15 at 18:29 -0700, Gary Gregory wrote:
> > > In order to my HttpAsyncService to be coded cleanly, I would like
> > > to
> > > add
> > > getter methods to HttpAsyncService for subclasses to access
> > > instance
> > > variables:
> > > 
> > > https://issues.apache.org/jira/browse/HTTPCORE-467
> > > 
> > > Any objections?
> > > 
> > > Gary
> > > 
> > 
> > Is this really needed? One can easily create a private instance
> > variable in the constructor, can't one? This would eliminate the
> > need
> > to expose the internals of the class to its subclasses and to
> > increase
> > the API footprint.
> > 
> 
> Hi Oleg,
> 
> 

...

> My proposed remedy is https://issues.apache.org/jira/browse/HTTPCORE-
> 468
> which refactors HttpAsyncService.handleException such that a subclass
> can
> simply override the new method protected int toStatusCode(final
> Exception
> ex, final HttpContext context)
> 
> Thoughts on that one?
> 

Looks good to me. Feel free to merge it. Try to avoid follow-ups though
if possible ;)

Oleg

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

Reply via email to