クラス
com.sun.net.httpserver.HttpExchangeの使用
HttpExchangeを使用するパッケージ
-
com.sun.net.httpserverでのHttpExchangeの使用
修飾子と型クラス説明classこのクラスは、受信したHTTPSリクエストと、ある交換で生成されるレスポンスをカプセル化し、HTTPSプロトコルに固有のHttpExchangeの拡張機能を定義します。型HttpExchangeのパラメータを持つcom.sun.net.httpserverのメソッド修飾子と型メソッド説明abstract Authenticator.ResultAuthenticator.authenticate(HttpExchange exch)各着信リクエストを認証するために呼び出されます。BasicAuthenticator.authenticate(HttpExchange t)voidFilter.Chain.doFilter(HttpExchange exchange)チェーン内の次のフィルタをコールするか、チェーン内の最後のフィルタの場合はユーザー交換ハンドラをコールします。abstract voidFilter.doFilter(HttpExchange exchange, Filter.Chain chain)このフィルタに対し、指定された交換の事前処理または事後処理を要求します。voidHttpHandler.handle(HttpExchange exchange)指定された要求を処理し、適切な応答を生成します。