Uses of Class
java.net.Authenticator
-
Packages that use Authenticator 软件包 描述 java.net 提供实现网络应用程序的类。jdk.incubator.http 高级HTTP和WebSocket API -
-
Uses of Authenticator in java.net
Methods in java.net that return Authenticator Modifier and Type 方法 描述 static AuthenticatorAuthenticator. getDefault()获取默认验证器。Methods in java.net with parameters of type Authenticator Modifier and Type 方法 描述 static PasswordAuthenticationAuthenticator. requestPasswordAuthentication(Authenticator authenticator, String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, Authenticator.RequestorType reqType)询问给定的authenticator密码。voidHttpURLConnection. setAuthenticator(Authenticator auth)提供一个Authenticator,通过HTTP协议为此HttpURLConnection请求认证时使用。static voidAuthenticator. setDefault(Authenticator a)设置代理或HTTP服务器要求进行身份验证时由网络代码使用的身份验证器。 -
Uses of Authenticator in jdk.incubator.http
Methods in jdk.incubator.http that return types with arguments of type Authenticator Modifier and Type 方法 描述 abstract Optional<Authenticator>HttpClient. authenticator()返回一个Optional其中包含此客户端上的Authenticator集。Methods in jdk.incubator.http with parameters of type Authenticator Modifier and Type 方法 描述 abstract HttpClient.BuilderHttpClient.Builder. authenticator(Authenticator a)设置用于HTTP身份验证的身份验证器。
-