src/java.net.http/share/classes/jdk/internal/net/http/HttpConnection.java
branchhttp-client-branch
changeset 56128 249a863b0aca
parent 56092 fd85b2bf2b0d
child 56165 8a6065d830b9
equal deleted inserted replaced
56127:e2a780d8c6f0 56128:249a863b0aca
   117     abstract boolean connected();
   117     abstract boolean connected();
   118 
   118 
   119     /** Tells whether, or not, this connection is secure ( over SSL ) */
   119     /** Tells whether, or not, this connection is secure ( over SSL ) */
   120     abstract boolean isSecure();
   120     abstract boolean isSecure();
   121 
   121 
   122     /** Tells whether, or not, this connection is proxied. */
   122     /**
       
   123      * Tells whether, or not, this connection is proxied.
       
   124      * Returns true for tunnel connections, or clear connection to
       
   125      * any host through proxy.
       
   126      */
   123     abstract boolean isProxied();
   127     abstract boolean isProxied();
   124 
   128 
   125     /** Tells whether, or not, this connection is open. */
   129     /** Tells whether, or not, this connection is open. */
   126     final boolean isOpen() {
   130     final boolean isOpen() {
   127         return channel().isOpen() &&
   131         return channel().isOpen() &&