Java HTTP サーバー
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
プラグイン可能なサービスプロバイダインタフェースを提供します。これにより、HTTP サーバー実装をその他の実装と置き換えることができます。
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 内のメソッド
暗号化方式群の配列のコピーを返します。設定されていない場合は null を返します。
getClientAddress() - クラス com.sun.net.httpserver.HttpsParameters 内のメソッド
接続を開始するリモートクライアントのアドレスを返します。
getExecutor() - クラス com.sun.net.httpserver.HttpServer 内のメソッド
このサーバーの executor オブジェクトが HttpServer.setExecutor(Executor) で指定された場合は、それを返します。何も指定されていない場合は、null を返します。
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 内のメソッド
プロトコルの配列のコピーを返します。設定されていない場合は null を返します。
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 パスのマッピングを表します。これは、関連付けられた HttpServer または HttpsServer 上のそのパスに対する要求を処理するために呼び出されます。
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 のいずれかまたは両方をラップするためにフィルタで使用されます。これにより、HttpExchange.getRequestBody() の後続の呼び出しは指定された InputStream を返し、HttpExchange.getResponseBody() の後続の呼び出しは指定された 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 サーバー


Copyright © 2005, 2013, Oracle and/or its affiliates. All rights reserved.