src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/AbstractAsyncSSLConnection.java
branchhttp-client-branch
changeset 55892 9f345a976249
parent 55815 4f699653026b
child 55973 4d9b002587db
equal deleted inserted replaced
55891:050803da27e5 55892:9f345a976249
    38 import javax.net.ssl.SSLEngineResult;
    38 import javax.net.ssl.SSLEngineResult;
    39 import javax.net.ssl.SSLParameters;
    39 import javax.net.ssl.SSLParameters;
    40 
    40 
    41 import jdk.incubator.http.internal.common.SSLTube;
    41 import jdk.incubator.http.internal.common.SSLTube;
    42 import jdk.incubator.http.internal.common.Log;
    42 import jdk.incubator.http.internal.common.Log;
    43 import jdk.incubator.http.internal.common.ExceptionallyCloseable;
       
    44 import jdk.incubator.http.internal.common.Utils;
    43 import jdk.incubator.http.internal.common.Utils;
    45 
    44 
    46 
    45 
    47 /**
    46 /**
    48  * Asynchronous version of SSLConnection.
    47  * Asynchronous version of SSLConnection.
    61  *       a single class - and simply use different factory methods to
    60  *       a single class - and simply use different factory methods to
    62  *       create different wrappees, but this is left up for further cleanup.
    61  *       create different wrappees, but this is left up for further cleanup.
    63  *
    62  *
    64  */
    63  */
    65 abstract class AbstractAsyncSSLConnection extends HttpConnection
    64 abstract class AbstractAsyncSSLConnection extends HttpConnection
    66     implements ExceptionallyCloseable
       
    67 {
    65 {
    68     protected final SSLEngine engine;
    66     protected final SSLEngine engine;
    69     protected final String serverName;
    67     protected final String serverName;
    70     protected final SSLParameters sslParameters;
    68     protected final SSLParameters sslParameters;
    71 
    69