On Thu, 2017-05-04 at 10:58 -0700, Gary Gregory wrote: > I am using: > > - org.apache.http.impl.nio.DefaultHttpClientIODispatch > - org.apache.http.impl.nio.DefaultHttpServerIODispatch > > In both classes, If I use SSL, I call one ctor, if not another. > > I'd like to have factory methods for which I can pass an SSLContext > and if > is is null or not, the right ctor is called. > > Thoughts? > > I would do it for 4.4.x and 5.0x. > > Gary
Sounds reasonable. Please note that there is no longer IODispatch in 5.x. Any individual session can be TLS upgraded at any time with TransportLayerSecurity interface. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
