| Modifier and Type | Field and Description |
|---|---|
| pack-priv volatile SSLTube | |
| pack-priv final PlainTunnelingConnection | |
| pack-priv final HttpConnection. |
| Access | Constructor and Description |
|---|---|
| pack-priv | AsyncSSLTunnelConnection(Origin originServer, InetSocketAddress addr, HttpClientImpl client, String[] alpn, InetSocketAddress proxy, Utils.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv ConnectionPool. | |
| pack-priv SocketChannel | |
| public void | close()
Implements abstract jdk. Implements java. Closes this connection. |
| pack-priv void | close(Throwable cause)
Implements abstract jdk. Closes this connection due to the given cause. |
| public CompletableFuture | connectAsync(Exchange<?> exchange)
Implements abstract jdk. Initiates the connect phase. |
| pack-priv boolean | connected()
Implements abstract jdk. Tells whether, or not, this connection is connected to its destination. |
| public CompletableFuture | finishConnect()
Implements abstract jdk. Finishes the connection phase. |
| pack-priv SSLTube | getConnectionFlow()
Implements abstract jdk. Returns the underlying connection flow, if applicable. |
| pack-priv boolean | isProxied()
Implements abstract jdk. Tells whether, or not, this connection is proxied. |
| pack-priv boolean | |
| pack-priv InetSocketAddress | proxy()
Implements abstract jdk. Returns the address of the proxy used by this connection. |
| pack-priv HttpConnection. | publisher()
Implements abstract jdk. Returns the HTTP publisher associated with this connection. |
| public String | toString()
Overrides jdk. Returns a string representation of the object. |
| flow | back to summary |
|---|---|
| pack-priv volatile SSLTube flow | |
| plainConnection | back to summary |
|---|---|
| pack-priv final PlainTunnelingConnection plainConnection | |
| writePublisher | back to summary |
|---|---|
| pack-priv final HttpConnection. | |
| AsyncSSLTunnelConnection | back to summary |
|---|---|
| pack-priv AsyncSSLTunnelConnection(Origin originServer, InetSocketAddress addr, HttpClientImpl client, String[] alpn, InetSocketAddress proxy, Utils. | |
| cacheKey | back to summary |
|---|---|
| pack-priv ConnectionPool. Implements abstract jdk.
| |
| channel | back to summary |
|---|---|
| pack-priv SocketChannel channel() Implements abstract jdk.
| |
| close | back to summary |
|---|---|
| public void close() Implements abstract jdk. Implements java. Doc from jdk. Closes this connection.
| |
| close | back to summary |
|---|---|
| pack-priv void close(Throwable cause) Implements abstract jdk. Doc from jdk. Closes this connection due to the given cause.
| |
| connectAsync | back to summary |
|---|---|
| public CompletableFuture Implements abstract jdk. Doc from jdk. Initiates the connect phase. Returns a CompletableFuture that completes when the underlying TCP connection has been established or an error occurs.
| |
| connected | back to summary |
|---|---|
| pack-priv boolean connected() Implements abstract jdk. Doc from jdk. Tells whether, or not, this connection is connected to its destination.
| |
| finishConnect | back to summary |
|---|---|
| public CompletableFuture Implements abstract jdk. Doc from jdk. Finishes the connection phase. Returns a CompletableFuture that completes when any additional, type specific, setup has been done. Must be called after connectAsync.
| |
| getConnectionFlow | back to summary |
|---|---|
| pack-priv SSLTube getConnectionFlow() Implements abstract jdk. Doc from jdk. Returns the underlying connection flow, if applicable.
| |
| isProxied | back to summary |
|---|---|
| pack-priv boolean isProxied() Implements abstract jdk. Doc from jdk. Tells whether, or not, this connection is proxied. Returns true for tunnel connections, or clear connection to any host through proxy.
| |
| isTunnel | back to summary |
|---|---|
| pack-priv boolean isTunnel() Overrides jdk.
| |
| proxy | back to summary |
|---|---|
| pack-priv InetSocketAddress proxy() Implements abstract jdk. Doc from jdk. Returns the address of the proxy used by this connection.
Returns the proxy address for tunnel connections, or
clear connection to any host through proxy.
Returns
| |
| publisher | back to summary |
|---|---|
| pack-priv HttpConnection. Implements abstract jdk. Doc from jdk. Returns the HTTP publisher associated with this connection. May be null if invoked before connecting.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides jdk. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |