Top Fields Constructors Methods
jdk.internal.net.http

pack-priv Class PlainProxyConnection

extends PlainHttpConnection
Class Inheritance
Imports
java.net.InetSocketAddress

Field Summary

Inherited from jdk.internal.net.http.PlainHttpConnection:
chan

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv ConnectionPool.CacheKey
public boolean
isProxied()

Overrides jdk.internal.net.http.PlainHttpConnection.isProxied.

Tells whether, or not, this connection is proxied.

pack-priv InetSocketAddress
proxy()

Overrides jdk.internal.net.http.PlainHttpConnection.proxy.

Returns the address of the proxy used by this connection.

Inherited from jdk.internal.net.http.PlainHttpConnection:
channelclosecloseconnectAsyncconnectedconnectionOpenedfinishConnectgetConnectionFlowisSecurepublishertoString

Constructor Detail

PlainProxyConnectionback to summary
pack-priv PlainProxyConnection(InetSocketAddress proxy, HttpClientImpl client)

Method Detail

cacheKeyback to summary
pack-priv ConnectionPool.CacheKey cacheKey()

Overrides jdk.internal.net.http.PlainHttpConnection.cacheKey.

Annotations
@Override
isProxiedback to summary
public boolean isProxied()

Overrides jdk.internal.net.http.PlainHttpConnection.isProxied.

Doc from jdk.internal.net.http.HttpConnection.isProxied.

Tells whether, or not, this connection is proxied. Returns true for tunnel connections, or clear connection to any host through proxy.

Annotations
@Override
proxyback to summary
pack-priv InetSocketAddress proxy()

Overrides jdk.internal.net.http.PlainHttpConnection.proxy.

Doc from jdk.internal.net.http.HttpConnection.proxy.

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 null otherwise.

Annotations
@Override