public class JdkWithJettyBootPlatform extends Platform
org.mortbay.jetty.alpn/alpn-boot 在引导类路径中.| Modifier and Type | Method and Description |
|---|---|
void |
afterHandshake(SSLSocket sslSocket)
|
static Platform |
buildIfSupported() |
void |
configureTlsExtensions(SSLSocket sslSocket,
String hostname,
List<Protocol> protocols)
在
sslSocket上为route配置TLS扩展 |
String |
getSelectedProtocol(SSLSocket socket)
返回协商的协议,如果没有协商协议,则返回null
|
alpnProtocolNames, buildCertificateChainCleaner, buildCertificateChainCleaner, buildTrustRootIndex, configureSslSocketFactory, connectSocket, get, getPrefix, getSSLContext, getStackTraceForCloseable, isCleartextTrafficPermitted, log, logCloseableLeak, toString, trustManagerpublic static Platform buildIfSupported()
public void configureTlsExtensions(SSLSocket sslSocket, String hostname, List<Protocol> protocols)
PlatformsslSocket上为route配置TLS扩展configureTlsExtensions in class PlatformsslSocket - 套接字信息hostname - 客户端握手不为空;服务器端握手为空.protocols - 服务协议public void afterHandshake(SSLSocket sslSocket)
PlatformPlatform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List<org.aoju.bus.http.Protocol>)分配的资源afterHandshake in class PlatformsslSocket - 安全套接字public String getSelectedProtocol(SSLSocket socket)
PlatformgetSelectedProtocol in class Platformsocket - 套接字Copyright © 2019. All rights reserved.