src/java.net.http/share/classes/jdk/internal/net/http/AbstractAsyncSSLConnection.java
branchhttp-client-branch
changeset 56868 67c7659ecda5
parent 56833 be0819373531
parent 51364 31d9e82b2e64
equal deleted inserted replaced
56842:43c3b82728eb 56868:67c7659ecda5
    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