java.lang.Object
org.miaixz.bus.http.secure.NetAuthenticator
- All Implemented Interfaces:
Authenticator
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Field Summary
Fields inherited from interface org.miaixz.bus.http.secure.Authenticator
NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(Route route, Response response) 该请求包含满足response中的身份验证挑战的凭据。
-
Constructor Details
-
NetAuthenticator
public NetAuthenticator()
-
-
Method Details
-
authenticate
Description copied from interface:Authenticator该请求包含满足response中的身份验证挑战的凭据。如果无法满足挑战,则返回null 该路线是最好的努力,它目前可能不总是提供,即使在逻辑上可用 在应用程序拦截器中手动重用身份验证器时,例如在实现特定于客户机的重试时,也可能不提供此功能- Specified by:
authenticatein interfaceAuthenticator- Parameters:
route- 路由信息response- 响应体- Returns:
- 返回一个请求
- Throws:
IOException- 异常信息
-