protected static class HostFileNameParser.Authority extends Object
Modifier | Constructor and Description |
---|---|
protected |
Authority() |
Modifier and Type | Method and Description |
---|---|
String |
getHostName()
Gets the host name.
|
String |
getPassword()
Gets the user password.
|
int |
getPort()
Gets the port.
|
String |
getScheme()
Get the connection schema.
|
String |
getUserName()
Gets the user name.
|
void |
setHostName(String hostName)
Sets the host name.
|
void |
setPassword(String password)
Sets the user password.
|
void |
setPort(int port)
Sets the connection port.
|
void |
setScheme(String scheme)
Sets the connection schema.
|
void |
setUserName(String userName)
Sets the user name.
|
public String getHostName()
public String getPassword()
public int getPort()
public String getScheme()
public String getUserName()
public void setHostName(String hostName)
hostName
- the host name.public void setPassword(String password)
password
- the user password.public void setPort(int port)
port
- the port number or -1.public void setScheme(String scheme)
scheme
- the connection scheme.public void setUserName(String userName)
userName
- the user name.Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.