Java HTTP Server
A B C D E F G H I K P R S T V

A

add(String, String) - クラス com.sun.net.httpserver.Headers のメソッド
指定されたキーのヘッダーのリストに、指定された値を追加します。
authenticate(HttpExchange) - クラス com.sun.net.httpserver.Authenticator のメソッド
各着信要求を認証するために呼び出されます。
authenticate(HttpExchange) - クラス com.sun.net.httpserver.BasicAuthenticator のメソッド
 
Authenticator - com.sun.net.httpserver の クラス
Authenticator は、HTTP 認証機構の実装を表します。
Authenticator() - クラス com.sun.net.httpserver.Authenticator のコンストラクタ
 
Authenticator.Failure - com.sun.net.httpserver の クラス
認証の失敗を示します。
Authenticator.Failure(int) - クラス com.sun.net.httpserver.Authenticator.Failure のコンストラクタ
 
Authenticator.Result - com.sun.net.httpserver の クラス
authenticate() メソッドからの戻り値の型の基底クラスです。
Authenticator.Result() - クラス com.sun.net.httpserver.Authenticator.Result のコンストラクタ
 
Authenticator.Retry - com.sun.net.httpserver の クラス
認証を再試行する必要があることを示します。
Authenticator.Retry(int) - クラス com.sun.net.httpserver.Authenticator.Retry のコンストラクタ
 
Authenticator.Success - com.sun.net.httpserver の クラス
認証が成功し、getPrincipal() を呼び出すことによって認証されたユーザー主体を取得できることを示します。
Authenticator.Success(HttpPrincipal) - クラス com.sun.net.httpserver.Authenticator.Success のコンストラクタ
 

B

BasicAuthenticator - com.sun.net.httpserver の クラス
BasicAuthenticator は、HTTP 基本認証の実装を提供します。
BasicAuthenticator(String) - クラス com.sun.net.httpserver.BasicAuthenticator のコンストラクタ
指定された HTTP 領域のための BasicAuthenticator を作成します。
bind(InetSocketAddress, int) - クラス com.sun.net.httpserver.HttpServer のメソッド
現在バインドされていない HttpServer を、指定されたアドレスおよびポート番号にバインドします。

C

checkCredentials(String, String) - クラス com.sun.net.httpserver.BasicAuthenticator のメソッド
指定された名前とパスワードをこの Authenticator の領域のコンテキストで検証するために、着信要求ごとに呼び出されます。
clear() - クラス com.sun.net.httpserver.Headers のメソッド
 
close() - クラス com.sun.net.httpserver.HttpExchange のメソッド
次の順序どおりに実行することで、この交換を終了します。
com.sun.net.httpserver - パッケージ com.sun.net.httpserver
組み込みの HTTP サーバーの構築に使用できる、単純で高度な HTTP サーバー API を提供します。
com.sun.net.httpserver.spi - パッケージ com.sun.net.httpserver.spi
プラグイン可能なサービスプロバイダインタフェースを提供します。
configure(HttpsParameters) - クラス com.sun.net.httpserver.HttpsConfigurator のメソッド
現在確立されている HTTPS 接続のパラメータを構成するために、HttpsServer によって呼び出されます。
containsKey(Object) - クラス com.sun.net.httpserver.Headers のメソッド
 
containsValue(Object) - クラス com.sun.net.httpserver.Headers のメソッド
 
create() - クラス com.sun.net.httpserver.HttpServer の static メソッド
最初にローカルアドレス/ポートにバインドされていない HttpServer インスタンスを作成します。
create(InetSocketAddress, int) - クラス com.sun.net.httpserver.HttpServer の static メソッド
指定された InetSocketAddress (IP アドレスとポート番号) にバインドする HttpServer インスタンスを作成します。
create() - クラス com.sun.net.httpserver.HttpsServer の static メソッド
最初にローカルアドレス/ポートにバインドされていない HttpsServer インスタンスを作成します。
create(InetSocketAddress, int) - クラス com.sun.net.httpserver.HttpsServer の static メソッド
指定された InetSocketAddress (IP アドレスとポート番号) にバインドする HttpsServer インスタンスを作成します。
createContext(String, HttpHandler) - クラス com.sun.net.httpserver.HttpServer のメソッド
HttpContext を作成します。
createContext(String) - クラス com.sun.net.httpserver.HttpServer のメソッド
最初にハンドラを指定せずに HttpContext を作成します。
createHttpServer(InetSocketAddress, int) - クラス com.sun.net.httpserver.spi.HttpServerProvider のメソッド
このプロバイダから HttpServer を作成します。
createHttpsServer(InetSocketAddress, int) - クラス com.sun.net.httpserver.spi.HttpServerProvider のメソッド
このプロバイダから HttpsServer を作成します。

D

description() - クラス com.sun.net.httpserver.Filter のメソッド
このフィルタの短い記述を返します。
doFilter(HttpExchange) - クラス com.sun.net.httpserver.Filter.Chain のメソッド
チェーン内の次のフィルタを呼び出します。
doFilter(HttpExchange, Filter.Chain) - クラス com.sun.net.httpserver.Filter のメソッド
このフィルタに対し、指定された交換の事前処理または事後処理を要求します。

E

entrySet() - クラス com.sun.net.httpserver.Headers のメソッド
 
equals(Object) - クラス com.sun.net.httpserver.Headers のメソッド
 
equals(Object) - クラス com.sun.net.httpserver.HttpPrincipal のメソッド
2 つの HttpPrincipal を比較します。

F

Filter - com.sun.net.httpserver の クラス
着信要求の事前処理および事後処理に使用されるフィルタです。
Filter() - クラス com.sun.net.httpserver.Filter のコンストラクタ
 
Filter.Chain - com.sun.net.httpserver の クラス
HttpServer に関連付けられたフィルタのチェーンです。
Filter.Chain(List<Filter>, HttpHandler) - クラス com.sun.net.httpserver.Filter.Chain のコンストラクタ
 

G

get(Object) - クラス com.sun.net.httpserver.Headers のメソッド
 
getAddress() - クラス com.sun.net.httpserver.HttpServer のメソッド
このサーバーが待機しているアドレスを返します。
getAttribute(String) - クラス com.sun.net.httpserver.HttpExchange のメソッド
フィルタモジュールは、帯域外通信機構として HttpExchange インスタンスを持つ任意のオブジェクトを格納できます。
getAttributes() - クラス com.sun.net.httpserver.HttpContext のメソッド
変更可能なマップを返します。
getAuthenticator() - クラス com.sun.net.httpserver.HttpContext のメソッド
このコンテキストに現在設定されているオーセンティケータが存在する場合は、それを返します。
getCipherSuites() - クラス com.sun.net.httpserver.HttpsParameters のメソッド
暗号化方式群の配列のコピーを返します。
getClientAddress() - クラス com.sun.net.httpserver.HttpsParameters のメソッド
接続を開始するリモートクライアントのアドレスを返します。
getExecutor() - クラス com.sun.net.httpserver.HttpServer のメソッド
このサーバーの executor オブジェクトが HttpServer.setExecutor(Executor) で指定された場合は、それを返します。
getFilters() - クラス com.sun.net.httpserver.HttpContext のメソッド
このコンテキストのフィルタリストを返します。
getFirst(String) - クラス com.sun.net.httpserver.Headers のメソッド
指定されたキーについて、文字列値のリストの最初の値を返します (少なくとも 1 つ存在する場合)。
getHandler() - クラス com.sun.net.httpserver.HttpContext のメソッド
このコンテキストのハンドラを返します。
getHttpContext() - クラス com.sun.net.httpserver.HttpExchange のメソッド
この交換の HttpContext を取得します。
getHttpsConfigurator() - クラス com.sun.net.httpserver.HttpsParameters のメソッド
この HttpsParameters の HttpsConfigurator を返します。
getHttpsConfigurator() - クラス com.sun.net.httpserver.HttpsServer のメソッド
このサーバーの HttpsConfigurator オブジェクトが設定されている場合は、それを取得します。
getLocalAddress() - クラス com.sun.net.httpserver.HttpExchange のメソッド
要求を受信したローカルアドレスを返します。
getName() - クラス com.sun.net.httpserver.HttpPrincipal のメソッド
この主体の内容を「領域:ユーザー名」の形式で返します。
getNeedClientAuth() - クラス com.sun.net.httpserver.HttpsParameters のメソッド
クライアント認証を必須とするかどうかを返します。
getPath() - クラス com.sun.net.httpserver.HttpContext のメソッド
このコンテキストの作成に使ったパスを返します。
getPrincipal() - クラス com.sun.net.httpserver.Authenticator.Success のメソッド
認証されたユーザー主体を返します。
getPrincipal() - クラス com.sun.net.httpserver.HttpExchange のメソッド
オーセンティケータが、この交換を所有する HttpContext に設定されている場合、このメソッドは、この HttpExchange に対して認証されたユーザーを表す HttpPrincipal を返します。
getProtocol() - クラス com.sun.net.httpserver.HttpExchange のメソッド
protocol/majorVersion.minorVersion の形式で要求からのプロトコル文字列を返します。
getProtocols() - クラス com.sun.net.httpserver.HttpsParameters のメソッド
プロトコルの配列のコピーを返します。
getRealm() - クラス com.sun.net.httpserver.BasicAuthenticator のメソッド
この BasicAuthenticator が作成された領域を返します。
getRealm() - クラス com.sun.net.httpserver.HttpPrincipal のメソッド
このオブジェクトの作成に使った領域を返します。
getRemoteAddress() - クラス com.sun.net.httpserver.HttpExchange のメソッド
この要求を呼び出すリモートエンティティーのアドレスを返します。
getRequestBody() - クラス com.sun.net.httpserver.HttpExchange のメソッド
要求本体を読み取ることができるストリームを返します。
getRequestHeaders() - クラス com.sun.net.httpserver.HttpExchange のメソッド
この要求に組み込まれた HTTP ヘッダーを含む不変のマップを返します。
getRequestMethod() - クラス com.sun.net.httpserver.HttpExchange のメソッド
要求メソッドを取得します。
getRequestURI() - クラス com.sun.net.httpserver.HttpExchange のメソッド
要求 URI を取得します。
getResponseBody() - クラス com.sun.net.httpserver.HttpExchange のメソッド
応答本体の書き込み先となるストリームを返します。
getResponseCode() - クラス com.sun.net.httpserver.Authenticator.Failure のメソッド
クライアントに送信する応答コードを返します。
getResponseCode() - クラス com.sun.net.httpserver.Authenticator.Retry のメソッド
クライアントに送信する応答コードを返します。
getResponseCode() - クラス com.sun.net.httpserver.HttpExchange のメソッド
応答コードがすでに設定されている場合は、それを返します。
getResponseHeaders() - クラス com.sun.net.httpserver.HttpExchange のメソッド
HTTP 応答ヘッダーを格納でき、この応答の一部として送信される、変更可能なマップを返します。
getServer() - クラス com.sun.net.httpserver.HttpContext のメソッド
このコンテキストの作成に使ったサーバーを返します。
getSSLContext() - クラス com.sun.net.httpserver.HttpsConfigurator のメソッド
この HttpsConfigurator の SSLContext を返します。
getSSLSession() - クラス com.sun.net.httpserver.HttpsExchange のメソッド
この交換の SSLSession を取得します。
getUsername() - クラス com.sun.net.httpserver.HttpPrincipal のメソッド
このオブジェクトの作成に使ったユーザー名を返します。
getWantClientAuth() - クラス com.sun.net.httpserver.HttpsParameters のメソッド
クライアント認証を要求するかどうかを返します。

H

handle(HttpExchange) - インタフェース com.sun.net.httpserver.HttpHandler のメソッド
指定された要求を処理し、適切な応答を生成します。
hashCode() - クラス com.sun.net.httpserver.Headers のメソッド
 
hashCode() - クラス com.sun.net.httpserver.HttpPrincipal のメソッド
この HttpPrincipal のハッシュコードを返します。
Headers - com.sun.net.httpserver の クラス
HTTP 要求および応答ヘッダーは、インタフェース Map< String,List<String>> を実装するこのクラスによって表されます。
Headers() - クラス com.sun.net.httpserver.Headers のコンストラクタ
 
HttpContext - com.sun.net.httpserver の クラス
HttpContext は、HttpHandler へのアプリケーションのルート URI パスのマッピングを表します。
HttpContext() - クラス com.sun.net.httpserver.HttpContext のコンストラクタ
 
HttpExchange - com.sun.net.httpserver の クラス
このクラスは、一回の交換で、受信する HTTP 要求と生成される応答をカプセル化します。
HttpExchange() - クラス com.sun.net.httpserver.HttpExchange のコンストラクタ
 
HttpHandler - com.sun.net.httpserver の インタフェース
HTTP 交換を処理するために呼び出されるハンドラです。
HttpPrincipal - com.sun.net.httpserver の クラス
HTTP 基本認証またはダイジェスト認証によって認証されたユーザーを表します。
HttpPrincipal(String, String) - クラス com.sun.net.httpserver.HttpPrincipal のコンストラクタ
指定されたユーザー名または領域から HttpPrincipal を作成します。
HttpsConfigurator - com.sun.net.httpserver の クラス
このクラスは、HttpsServer 上の各着信 HTTPS 接続の HTTPS パラメータを構成するために使用します。
HttpsConfigurator(SSLContext) - クラス com.sun.net.httpserver.HttpsConfigurator のコンストラクタ
指定された SSLContext を持つ HTTPS 構成を作成します。
HttpServer - com.sun.net.httpserver の クラス
このクラスは、単純な HTTP サーバーを実装します。
HttpServer() - クラス com.sun.net.httpserver.HttpServer のコンストラクタ
 
HttpServerProvider - com.sun.net.httpserver.spi の クラス
HttpServer のためのサービスプロバイダクラス。
HttpServerProvider() - クラス com.sun.net.httpserver.spi.HttpServerProvider のコンストラクタ
このクラスの新しいインスタンスを初期化します。
HttpsExchange - com.sun.net.httpserver の クラス
このクラスは、受信した HTTPS 要求と 1 回の交換で生成される応答をカプセル化し、HTTPS プロトコルに固有の HttpExchange への拡張機能を定義します。
HttpsExchange() - クラス com.sun.net.httpserver.HttpsExchange のコンストラクタ
 
HttpsParameters - com.sun.net.httpserver の クラス
クライアントとネゴシエーションを行う各 HTTPS 接続のパラメータのセットを表します。
HttpsParameters() - クラス com.sun.net.httpserver.HttpsParameters のコンストラクタ
 
HttpsServer - com.sun.net.httpserver の クラス
このクラスは、HTTPS に対するサポートを提供する HttpServer の拡張です。
HttpsServer() - クラス com.sun.net.httpserver.HttpsServer のコンストラクタ
 

I

isEmpty() - クラス com.sun.net.httpserver.Headers のメソッド
 

K

keySet() - クラス com.sun.net.httpserver.Headers のメソッド
 

P

provider() - クラス com.sun.net.httpserver.spi.HttpServerProvider の static メソッド
この Java 仮想マシン呼び出しのためのシステム全体のデフォルト HttpServerProvider を返します。
put(String, List<String>) - クラス com.sun.net.httpserver.Headers のメソッド
 
putAll(Map<? extends String, ? extends List<String>>) - クラス com.sun.net.httpserver.Headers のメソッド
 

R

realm - クラス com.sun.net.httpserver.BasicAuthenticator の変数
 
remove(Object) - クラス com.sun.net.httpserver.Headers のメソッド
 
removeContext(String) - クラス com.sun.net.httpserver.HttpServer のメソッド
指定されたパスによって識別されるコンテキストをサーバーから削除します。
removeContext(HttpContext) - クラス com.sun.net.httpserver.HttpServer のメソッド
指定されたコンテキストをサーバーから削除します。

S

sendResponseHeaders(int, long) - クラス com.sun.net.httpserver.HttpExchange のメソッド
応答ヘッダーと数値の応答コードの現在のセットをこのメソッドの指定どおりに使用して、クライアントへの応答の送り返しを開始します。
set(String, String) - クラス com.sun.net.httpserver.Headers のメソッド
指定された値を指定されたキーの唯一のヘッダー値として設定します。
setAttribute(String, Object) - クラス com.sun.net.httpserver.HttpExchange のメソッド
フィルタモジュールは、帯域外通信機構として HttpExchange インスタンスを持つ任意のオブジェクトを格納できます。
setAuthenticator(Authenticator) - クラス com.sun.net.httpserver.HttpContext のメソッド
この HttpContext の Authenticator を設定します。
setCipherSuites(String[]) - クラス com.sun.net.httpserver.HttpsParameters のメソッド
暗号化方式群の配列を設定します。
setExecutor(Executor) - クラス com.sun.net.httpserver.HttpServer のメソッド
このサーバーの Executor オブジェクトを設定します。
setHandler(HttpHandler) - クラス com.sun.net.httpserver.HttpContext のメソッド
このコンテキストのハンドラがまだ設定されていない場合は設定します。
setHttpsConfigurator(HttpsConfigurator) - クラス com.sun.net.httpserver.HttpsServer のメソッド
このサーバーの HttpsConfigurator オブジェクトを設定します。
setNeedClientAuth(boolean) - クラス com.sun.net.httpserver.HttpsParameters のメソッド
クライアント認証を必須とするかどうかを設定します。
setProtocols(String[]) - クラス com.sun.net.httpserver.HttpsParameters のメソッド
プロトコルの配列を設定します。
setSSLParameters(SSLParameters) - クラス com.sun.net.httpserver.HttpsParameters のメソッド
この HttpsParameters に使用する SSLParameters を設定します。
setStreams(InputStream, OutputStream) - クラス com.sun.net.httpserver.HttpExchange のメソッド
フィルタされる特定のストリームで、この交換の InputStream と OutputStream のいずれかまたは両方をラップするためにフィルタで使用されます。
setWantClientAuth(boolean) - クラス com.sun.net.httpserver.HttpsParameters のメソッド
クライアント認証を要求するかどうかを設定します。
size() - クラス com.sun.net.httpserver.Headers のメソッド
 
start() - クラス com.sun.net.httpserver.HttpServer のメソッド
新しいバックグラウンドスレッドでこのサーバーを起動します。
stop(int) - クラス com.sun.net.httpserver.HttpServer のメソッド
待機中のソケットを閉じ、新しい交換を処理できないようにすることで、このサーバーを停止します。

T

toString() - クラス com.sun.net.httpserver.HttpPrincipal のメソッド
getName() と同じ文字列を返します。

V

values() - クラス com.sun.net.httpserver.Headers のメソッド
 

A B C D E F G H I K P R S T V
Java HTTP Server