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