On Fri, 2017-03-31 at 16:34 -0700, Gary Gregory wrote: > I am always casting when I call HttpContext.getAttribute(String) for > well-known keys defined HttpCoreContext like HTTP_CONNECTION. > > It seems we could make > > org.apache.http.protocol.HttpCoreContext.getAttribute(String, > Class<T>) > > part of the interface HttpContext. > > Thoughts? > > Gayr >
Hi Gary Usually one would probably want to use an adapter class such HttpCoreContext or HttpClientContext to get access to context specific attributes but I am fine with moving the method to the generic HttpContext interface. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
