HttpURLConnection & Authenticator

解决方案 »

  1.   

    HttpURLConnection 还好说,
    Authenticator 从来没用过,能不能给偶个例子啊!~~谢谢!~~
      

  2.   

    HttpURLConnection 不支持Proxy,无法
      

  3.   

    大厅的意思是使用 Authenticator 类实现认证。看了看 Authenticator 的 API,但还是不明白该如何实现。
      

  4.   

    URL yahoo = new URL("http://username:[email protected]");
    一个带有危险性的方法,你可以试试看,不肯定可以!
      

  5.   

    看了几个例子,都是说用 Authenticator 解决用密码保护的 URL 链接的,能不能解决 Proxy 的问题啊?