类的用途
com.sun.net.httpserver.Authenticator
使用 Authenticator 的包
-
Authenticator 在 com.sun.net.httpserver 中的用法
com.sun.net.httpserver 中返回 Authenticator 的方法修饰符和类型方法描述abstract AuthenticatorHttpContext.getAuthenticator()如果存在,则返回此上下文的当前设置Authenticator。abstract AuthenticatorHttpContext.setAuthenticator(Authenticator auth) 为此HttpContext设置Authenticator。com.sun.net.httpserver 中的方法,参数类型为 Authenticator修饰符和类型方法描述abstract AuthenticatorHttpContext.setAuthenticator(Authenticator auth) 为此HttpContext设置Authenticator。