インタフェース
com.sun.net.httpserver.HttpHandlerの使用
-
HttpHandlerを使用しているパッケージ パッケージ 説明 com.sun.net.httpserver 組込みのHTTPサーバーの構築に使用できる、単純で高度なHTTPサーバーAPIを提供します。 -
-
com.sun.net.httpserverでのHttpHandlerの使用
HttpHandlerを返すcom.sun.net.httpserverのメソッド 修飾子と型 メソッド 説明 abstract HttpHandler
HttpContext. getHandler()
このコンテキストのハンドラを返します。HttpHandler型のパラメータを持つcom.sun.net.httpserverのメソッド 修飾子と型 メソッド 説明 abstract HttpContext
HttpServer. createContext(String path, HttpHandler handler)
HttpContextを作成します。abstract void
HttpContext. setHandler(HttpHandler h)
このコンテキストのハンドラがまだ設定されていない場合は設定します。HttpHandler型のパラメータを持つcom.sun.net.httpserverのコンストラクタ コンストラクタ 説明 Chain(List<Filter> filters, HttpHandler handler)
-