com.bristle.javalib.net.http
Class HttpUtil.Credentials

java.lang.Object
  extended by com.bristle.javalib.net.http.HttpUtil.Credentials
Enclosing class:
HttpUtil

public static class HttpUtil.Credentials
extends Object

Nested class used as argument of getCredentials, so that it can allocate and return multiple Strings.

Notes:
   - This class must be static so that it can be instantiated by static
     methods of its enclosing class.


Field Summary
 String strPassword
           
 String strUsername
           
 
Constructor Summary
HttpUtil.Credentials()
          Constructor.
HttpUtil.Credentials(String strUsername, String strPassword)
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strUsername

public String strUsername

strPassword

public String strPassword
Constructor Detail

HttpUtil.Credentials

public HttpUtil.Credentials()
Constructor.


HttpUtil.Credentials

public HttpUtil.Credentials(String strUsername,
                            String strPassword)
Constructor.

Parameters:
strUsername - Username to store in Credentials.
strPassword - Password to store in Credentials.