public class CustomProxyAuthenticator extends Object implements okhttp3.Authenticator
| 构造器和说明 |
|---|
CustomProxyAuthenticator(String username,
String password) |
| 限定符和类型 | 方法和说明 |
|---|---|
okhttp3.Request |
authenticate(okhttp3.Route route,
okhttp3.Response response) |
@Nullable
public okhttp3.Request authenticate(@Nullable
okhttp3.Route route,
@NotNull
okhttp3.Response response)
throws IOException
authenticate 在接口中 okhttp3.AuthenticatorIOExceptionCopyright © 2025. All rights reserved.