equal
deleted
inserted
replaced
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() && |