Package org.mozilla.zest.core.v1
Class ZestHttpAuthentication
- java.lang.Object
-
- org.mozilla.zest.core.v1.ZestElement
-
- org.mozilla.zest.core.v1.ZestAuthentication
-
- org.mozilla.zest.core.v1.ZestHttpAuthentication
-
public class ZestHttpAuthentication extends ZestAuthentication
The Class ZestHttpAuthentication.
-
-
Field Summary
-
Fields inherited from class org.mozilla.zest.core.v1.ZestElement
JSON_ELEMENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description ZestHttpAuthentication()Instantiates a new zest http authentication.ZestHttpAuthentication(String site, String realm, String username, String password)Instantiates a new zest http authentication.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZestHttpAuthenticationdeepCopy()Deep copy.StringgetPassword()Gets the password.StringgetRealm()Gets the realm.StringgetSite()Gets the site.StringgetUsername()Gets the username.voidsetPassword(String password)Sets the password.voidsetRealm(String realm)Sets the realm.voidsetSite(String site)Sets the site.voidsetUsername(String username)Sets the username.-
Methods inherited from class org.mozilla.zest.core.v1.ZestElement
getElementType, isSameSubclass, setElementType
-
-
-
-
Method Detail
-
deepCopy
public ZestHttpAuthentication deepCopy()
Description copied from class:ZestElementDeep copy.- Specified by:
deepCopyin classZestElement- Returns:
- the zest element
-
getSite
public String getSite()
Gets the site.- Returns:
- the site
-
setSite
public void setSite(String site)
Sets the site.- Parameters:
site- the new site
-
getRealm
public String getRealm()
Gets the realm.- Returns:
- the realm
-
setRealm
public void setRealm(String realm)
Sets the realm.- Parameters:
realm- the new realm
-
getUsername
public String getUsername()
Gets the username.- Returns:
- the username
-
setUsername
public void setUsername(String username)
Sets the username.- Parameters:
username- the new username
-
getPassword
public String getPassword()
Gets the password.- Returns:
- the password
-
setPassword
public void setPassword(String password)
Sets the password.- Parameters:
password- the new password
-
-