クラス
java.net.CookieHandlerの使用
-
CookieHandlerを使用しているパッケージ パッケージ 説明 java.net ネットワーク・アプリケーションを実装するためのクラスを提供します。jdk.incubator.http 高レベルのHTTPとWebSocket API -
-
java.netでのCookieHandlerの使用
java.netでのCookieHandlerのサブクラス 修飾子と型 クラス 説明 class
CookieManager
CookieManagerはCookieHandler
の具象実装を提供し、CookieのストレージとCookieの受け入れ/拒否に関するポリシーとを分離します。CookieHandlerを返すjava.netのメソッド 修飾子と型 メソッド 説明 static CookieHandler
CookieHandler. getDefault()
システム全体のCookieハンドラを取得します。CookieHandler型のパラメータを持つjava.netのメソッド 修飾子と型 メソッド 説明 static void
CookieHandler. setDefault(CookieHandler cHandler)
システム全体のCookieハンドラを設定(または設定解除)します。 -
jdk.incubator.httpでのCookieHandlerの使用
型CookieHandlerの引数を持つ型を返すjdk.incubator.httpのメソッド 修飾子と型 メソッド 説明 abstract Optional<CookieHandler>
HttpClient. cookieHandler()
このクライアントCookieHandlerを含むOptional
を返します。型CookieHandlerのパラメータを持つjdk.incubator.httpのメソッド 修飾子と型 メソッド 説明 abstract HttpClient.Builder
HttpClient.Builder. cookieHandler(CookieHandler cookieHandler)
Cookieハンドラを設定します。
-