JavaTM 2 Platform
Standard Ed. 6

类 java.net.Authenticator.RequestorType
的使用

使用 Authenticator.RequestorType 的软件包
java.net 为实现网络应用程序提供类。 
 

java.netAuthenticator.RequestorType 的使用
 

返回 Authenticator.RequestorTypejava.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.RequestorTypejava.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

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java 2 SDK SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策