public static class HttpClient.Credentials.Credential extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence maxOccurs="unbounded">
<element name="Scope" type="{http://www.wisedream.net/XML-HTTPCLIENT/0.0.1}host"/>
</sequence>
<attribute name="username" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="password" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
password |
protected List<Host> |
scope |
protected String |
username |
| Constructor and Description |
|---|
Credential() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword()
Gets the value of the password property.
|
List<Host> |
getScope()
Gets the value of the scope property.
|
String |
getUsername()
Gets the value of the username property.
|
void |
setPassword(String value)
Sets the value of the password property.
|
void |
setUsername(String value)
Sets the value of the username property.
|
public List<Host> getScope()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the scope property.
For example, to add a new item, do as follows:
getScope().add(newItem);
Objects of the following type(s) are allowed in the list
Host
public String getUsername()
Stringpublic void setUsername(String value)
value - allowed object is
Stringpublic String getPassword()
StringCopyright © 2016. All rights reserved.