クラス
com.sun.net.httpserver.HttpExchangeの使用
-
HttpExchangeを使用しているパッケージ パッケージ 説明 com.sun.net.httpserver 組込みのHTTPサーバーの構築に使用できる、単純で高度なHTTPサーバーAPIを提供します。 -
-
com.sun.net.httpserverでのHttpExchangeの使用
com.sun.net.httpserverでのHttpExchangeのサブクラス 修飾子と型 クラス 説明 class
HttpsExchange
このクラスは、受信したHTTPS要求と1回の交換で生成される応答をカプセル化し、HTTPSプロトコルに固有のHttpExchangeへの拡張機能を定義します。HttpExchange型のパラメータを持つcom.sun.net.httpserverのメソッド 修飾子と型 メソッド 説明 abstract Authenticator.Result
Authenticator. authenticate(HttpExchange exch)
各着信要求を認証するために呼び出されます。void
Filter.Chain. doFilter(HttpExchange exchange)
チェーン内の次のフィルタを呼び出します。これがチェーン内の最後のフィルタである場合は、ユーザーの交換ハンドラを呼び出します。abstract void
Filter. doFilter(HttpExchange exchange, Filter.Chain chain)
このフィルタに対し、指定された交換の事前処理または事後処理を要求します。void
HttpHandler. handle(HttpExchange exchange)
指定された要求を処理し、適切な応答を生成します。
-