软件包 | 描述 |
---|---|
java.net |
为实现网络应用程序提供类。
|
Modifier and Type | Method and Description |
---|---|
protected Authenticator.RequestorType |
Authenticator.getRequestorType()
返回该请求者是否是一个代理或服务器。
|
static Authenticator.RequestorType |
Authenticator.RequestorType.valueOf(String name)
返回此类型具有指定名称的枚举常量。
|
static Authenticator.RequestorType[] |
Authenticator.RequestorType.values()
返回一个数组包含该枚举类型的常量,它们的顺序声明。
|
Modifier and Type | Method and Description |
---|---|
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, Authenticator.RequestorType reqType)
向鉴定人,已与一个密码系统注册。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.