JavaTM 2 Platform
Standard Ed. 6

類別 java.net.Authenticator.RequestorType
的使用

使用 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()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

參數型別為 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)
          要求已經向系統註冊的 authenticator 提供密碼。
 


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。