ナビゲーション・リンクをスキップ
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.Result - com.sun.net.httpserver内のクラス
authenticate()メソッドからの戻り値の型の基底クラスです。
Authenticator.Retry - com.sun.net.httpserver内のクラス
認証を再試行する必要があることを示します。
Authenticator.Success - com.sun.net.httpserver内のクラス
認証が成功し、getPrincipal()を呼び出すことによって認証されたユーザー主体を取得できることを示します。

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

Chain(List<Filter>, HttpHandler) - クラスcom.sun.net.httpserver.Filter.Chainのコンストラクタ
 
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

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

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内のメソッド
指定されたコンテキストをサーバーから削除します。
Result() - クラスcom.sun.net.httpserver.Authenticator.Resultのコンストラクタ
 
Retry(int) - クラスcom.sun.net.httpserver.Authenticator.Retryのコンストラクタ
 

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内のメソッド
待機中のソケットを閉じ、新しい交換を処理できないようにすることで、このサーバーを停止します。
Success(HttpPrincipal) - クラスcom.sun.net.httpserver.Authenticator.Successのコンストラクタ
 

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, 2014, Oracle and/or its affiliates. All rights reserved.