public Response intercept()

in src/main/java/com/aliyun/tea/okhttp/interceptors/SocksProxyAuthInterceptor.java [17:24]


    public Response intercept(Chain chain) throws IOException {
        ThreadLocalProxyAuthenticator.getInstance().setCredentials(user, password);
        try {
            return chain.proceed(chain.request());
        } finally {
            ThreadLocalProxyAuthenticator.clearCredentials();
        }
    }