com.bristle.javalib.net.http
Class HttpUtil.Credentials
java.lang.Object
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.
strUsername
public String strUsername
strPassword
public String strPassword
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.