クラス
java.net.ProxySelectorの使用
- 
ProxySelectorを使用しているパッケージ パッケージ 説明 java.net ネットワーク・アプリケーションを実装するためのクラスを提供します。java.net.http HTTPクライアントおよびWebSocket API
- 
- 
java.netでのProxySelectorの使用ProxySelectorを返すjava.netのメソッド 修飾子と型 メソッド 説明 static ProxySelectorProxySelector. getDefault()システム全体のプロキシ・セレクタを取得します。static ProxySelectorProxySelector. of(InetSocketAddress proxyAddress)指定されたプロキシ・アドレスをすべてのHTTPおよびHTTPSリクエストに使用するProxySelectorを返します。ProxySelector型のパラメータを持つjava.netのメソッド 修飾子と型 メソッド 説明 static voidProxySelector. setDefault(ProxySelector ps)システム全体のプロキシ・セレクタを設定(または設定解除)します。
- 
java.net.httpでのProxySelectorの使用ProxySelectorとして宣言されたjava.net.httpのフィールド 修飾子と型 フィールド 説明 static ProxySelectorHttpClient.Builder. NO_PROXY直接接続を意味するProxy.NO_PROXYを常に返すプロキシ・セレクタ。型ProxySelectorの引数を持つ型を返すjava.net.httpのメソッド 修飾子と型 メソッド 説明 abstract Optional<ProxySelector>HttpClient. proxy()このクライアントに提供されたProxySelectorを含むOptionalを返します。型ProxySelectorのパラメータを持つjava.net.httpのメソッド 修飾子と型 メソッド 説明 HttpClient.BuilderHttpClient.Builder. proxy(ProxySelector proxySelector)ProxySelectorを設定します。
 
-