public class JdkHttpURLConnection extends Object implements HttpURLConnection
HttpURLConnection
using the JDK's
HttpURLConnection
class.Constructor and Description |
---|
JdkHttpURLConnection() |
public void connect(String url, String username, String password)
connect
in interface HttpURLConnection
url
- authenticated URL to connect to (basic authentication)username
- the username to use for authenticationpassword
- the password to use for authenticationHttpURLConnection.connect(String, String, String)
Copyright © 2004-2013 Codehaus. All Rights Reserved.