src/java.net.http/share/classes/jdk/internal/net/http/common/SSLFlowDelegate.java
changeset 52902 e3398b2e1ab0
parent 50985 cd41f34e548c
child 53350 a47b8125b7cc
equal deleted inserted replaced
52901:3ba9ff4d4aaf 52902:e3398b2e1ab0
    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;