jira-importer opened a new issue, #974: URL: https://github.com/apache/httpcomponents-core/issues/974
**[Gary D. Gregory](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=garydgregory)** opened **[HTTPCORE-460](https://issues.apache.org/jira/browse/HTTPCORE-460?redirect=false)** and commented Add factory methods to `DefaultHttpClientIODispatch` to handle a null `SSLContext`: ```java /** * Creates a new instance of this class to be used for dispatching I/O event * notifications to the given protocol handler. * * @param handler the client protocol handler. * @param sslContext an SSLContext or null (for a plain text connection.) * @param config a connection configuration * @return a new instance * @since 4.4.7 */ public static DefaultHttpClientIODispatch create(final NHttpClientEventHandler handler, final SSLContext sslContext, final ConnectionConfig config) { return sslContext == null ? new DefaultHttpClientIODispatch(handler, config) : new DefaultHttpClientIODispatch(handler, sslContext, config); } /** * Creates a new instance of this class to be used for dispatching I/O event * notifications to the given protocol handler. * * @param handler the client protocol handler. * @param sslContext an SSLContext or null (for a plain text connection.) * @param sslHandler customizes various aspects of the TLS/SSL protocol. * @param config a connection configuration * @return a new instance * @since 4.4.7 */ public static DefaultHttpClientIODispatch create(final NHttpClientEventHandler handler, final SSLContext sslContext, final SSLSetupHandler sslHandler, final ConnectionConfig config) { return sslContext == null ? new DefaultHttpClientIODispatch(handler, config) : new DefaultHttpClientIODispatch(handler, sslContext, sslHandler, config); } ``` --- **Issue Links:** - [HTTPCORE-461](https://issues.apache.org/jira/browse/HTTPCORE-461) Add factory methods to DefaultHttpServerIODispatch to handle a null SSLContext (_**"is cloned by"**_) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
