On Sat, 2015-12-19 at 08:54 -0800, Gary Gregory wrote: > Hi All, > > There are a lot of places where we say: > > response.getStatusLine().getStatusCode() > > Should we have a short cut > > response.getStatusCode()
HttpResponse#getCode might do as well. By the way in HTTP/2 there is no longer such thing as a response status line or a request line, so this problem would likely get resolved in the course of HTTP/2 development anyway. Oleg > > ? > > In Core alone, there are 64 such instances. > > Gary > > On Sat, Dec 19, 2015 at 8:52 AM, Gary Gregory <garydgreg...@gmail.com> > wrote: > > > Hi All, > > > > There are a lot of places where we say: > > > > > > -- > > E-Mail: garydgreg...@gmail.com | ggreg...@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 > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org