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