src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/AbstractAsyncSSLConnection.java
equal
deleted
inserted
replaced
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 |