クラス
java.net.Authenticator.RequestorTypeの使用
パッケージ | 説明 |
---|---|
java.net |
ネットワーク・アプリケーションを実装するためのクラスを提供します。
|
-
java.netでのAuthenticator.RequestorTypeの使用
Authenticator.RequestorTypeを返すjava.netのメソッド 修飾子と型 メソッド 説明 protected Authenticator.RequestorType
Authenticator. getRequestorType()
要求者がプロキシかサーバーかを返します。static Authenticator.RequestorType
Authenticator.RequestorType. valueOf(String name)
指定された名前を持つ、この型の列挙型定数を返します。static Authenticator.RequestorType[]
Authenticator.RequestorType. values()
この列挙型の定数を含む配列を、宣言されている順序で返します。型Authenticator.RequestorTypeのパラメータを持つjava.netのメソッド 修飾子と型 メソッド 説明 static PasswordAuthentication
Authenticator. requestPasswordAuthentication(String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, Authenticator.RequestorType reqType)
システムに登録されているオーセンティケータに、パスワードを要求します。static PasswordAuthentication
Authenticator. requestPasswordAuthentication(Authenticator authenticator, String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, Authenticator.RequestorType reqType)
与えられたauthenticator
にパスワードを尋ねます。PasswordAuthentication
Authenticator. requestPasswordAuthenticationInstance(String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, Authenticator.RequestorType reqType)
このオーセンティケータにパスワードを要求してください。