src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpClientImpl.java
equal
deleted
inserted
replaced
77 * and delivered when they occur. See AsyncEvent. |
77 * and delivered when they occur. See AsyncEvent. |
78 */ |
78 */ |
79 class HttpClientImpl extends HttpClient { |
79 class HttpClientImpl extends HttpClient { |
80 |
80 |
81 static final boolean DEBUG = Utils.DEBUG; // Revisit: temporary dev flag. |
81 static final boolean DEBUG = Utils.DEBUG; // Revisit: temporary dev flag. |
82 static final boolean DEBUGELAPSED = Utils.ASSERTIONSENABLED || DEBUG; // Revisit: temporary dev flag. |
82 static final boolean DEBUGELAPSED = Utils.TESTING || DEBUG; // Revisit: temporary dev flag. |
83 static final boolean DEBUGTIMEOUT = false; // Revisit: temporary dev flag. |
83 static final boolean DEBUGTIMEOUT = false; // Revisit: temporary dev flag. |
84 final System.Logger debug = Utils.getDebugLogger(this::dbgString, DEBUG); |
84 final System.Logger debug = Utils.getDebugLogger(this::dbgString, DEBUG); |
85 final System.Logger debugelapsed = Utils.getDebugLogger(this::dbgString, DEBUGELAPSED); |
85 final System.Logger debugelapsed = Utils.getDebugLogger(this::dbgString, DEBUGELAPSED); |
86 final System.Logger debugtimeout = Utils.getDebugLogger(this::dbgString, DEBUGTIMEOUT); |
86 final System.Logger debugtimeout = Utils.getDebugLogger(this::dbgString, DEBUGTIMEOUT); |
87 static final AtomicLong CLIENT_IDS = new AtomicLong(); |
87 static final AtomicLong CLIENT_IDS = new AtomicLong(); |