您可能要跟踪https://issues.apache.org/jira/browse/HTTPCLIENT-1119
Java
7的底层客户端实现能够支持它,并通过SSLSocketImpl#setHost(由sun.net.www.protocol.https.HttpsClient调用)公开该功能。
在Java 7上使用
new URL("https://cmbntr.sni.velox.ch/").openStream()直到修复HTTPCLIENT-1119

您可能要跟踪https://issues.apache.org/jira/browse/HTTPCLIENT-1119
Java
7的底层客户端实现能够支持它,并通过SSLSocketImpl#setHost(由sun.net.www.protocol.https.HttpsClient调用)公开该功能。
在Java 7上使用
new URL("https://cmbntr.sni.velox.ch/").openStream()直到修复HTTPCLIENT-1119