src/java.net.http/share/classes/jdk/internal/net/http/common/SSLFlowDelegate.java
equal
deleted
inserted
replaced
95 private static final ByteBuffer HS_TRIGGER = ByteBuffer.allocate(0); |
95 private static final ByteBuffer HS_TRIGGER = ByteBuffer.allocate(0); |
96 // When handshake is in progress trying to wrap may produce no bytes. |
96 // When handshake is in progress trying to wrap may produce no bytes. |
97 private static final ByteBuffer NOTHING = ByteBuffer.allocate(0); |
97 private static final ByteBuffer NOTHING = ByteBuffer.allocate(0); |
98 private static final String monProp = Utils.getProperty("jdk.internal.httpclient.monitorFlowDelegate"); |
98 private static final String monProp = Utils.getProperty("jdk.internal.httpclient.monitorFlowDelegate"); |
99 private static final boolean isMonitored = |
99 private static final boolean isMonitored = |
100 monProp != null && (monProp.equals("") || monProp.equalsIgnoreCase("true")); |
100 monProp != null && (monProp.isEmpty() || monProp.equalsIgnoreCase("true")); |
101 |
101 |
102 final Executor exec; |
102 final Executor exec; |
103 final Reader reader; |
103 final Reader reader; |
104 final Writer writer; |
104 final Writer writer; |
105 final SSLEngine engine; |
105 final SSLEngine engine; |