クラス
com.sun.net.httpserver.Authenticatorの使用
パッケージ | 説明 |
---|---|
com.sun.net.httpserver |
組込みのHTTPサーバーの構築に使用できる、単純で高度なHTTPサーバーAPIを提供します。
|
-
com.sun.net.httpserverでのAuthenticatorの使用
com.sun.net.httpserverでのAuthenticatorのサブクラス 修飾子と型 クラス 説明 class
BasicAuthenticator
BasicAuthenticatorは、HTTP基本認証の実装を提供します。Authenticatorを返すcom.sun.net.httpserverのメソッド 修飾子と型 メソッド 説明 abstract Authenticator
HttpContext. getAuthenticator()
このコンテキストに現在設定されているオーセンティケータが存在する場合は、それを返します。abstract Authenticator
HttpContext. setAuthenticator(Authenticator auth)
このHttpContextのAuthenticatorを設定します。Authenticator型のパラメータを持つcom.sun.net.httpserverのメソッド 修飾子と型 メソッド 説明 abstract Authenticator
HttpContext. setAuthenticator(Authenticator auth)
このHttpContextのAuthenticatorを設定します。