src/java.net.http/share/classes/jdk/internal/net/http/AbstractAsyncSSLConnection.java
equal
deleted
inserted
replaced
78 sslParameters = createSSLParameters(client, serverName, alpn); |
78 sslParameters = createSSLParameters(client, serverName, alpn); |
79 Log.logParams(sslParameters); |
79 Log.logParams(sslParameters); |
80 engine = createEngine(context, serverName.getName(), port, sslParameters); |
80 engine = createEngine(context, serverName.getName(), port, sslParameters); |
81 } |
81 } |
82 |
82 |
83 abstract HttpConnection plainConnection(); |
|
84 abstract SSLTube getConnectionFlow(); |
83 abstract SSLTube getConnectionFlow(); |
85 |
84 |
86 final CompletableFuture<String> getALPN() { |
85 final CompletableFuture<String> getALPN() { |
87 assert connected(); |
|
88 return getConnectionFlow().getALPN(); |
86 return getConnectionFlow().getALPN(); |
89 } |
87 } |
90 |
88 |
91 final SSLEngine getEngine() { return engine; } |
89 final SSLEngine getEngine() { return engine; } |
92 |
90 |