public class PasswordKey extends Object implements Comparable
| Constructor and Description |
|---|
PasswordKey(String protocol,
String scheme,
String host,
String username,
int port)
Creates a new PasswordKey object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
boolean |
equals(Object o) |
String |
getHost()
Get the host part of the key
|
int |
getPort()
Get the port part of the key
|
String |
getProtocol()
Get the protocol part of the key
|
String |
getScheme()
Get the scheme part of the key
|
String |
getUsername()
Get the username part of the key if applicable (null if not)
|
String |
toString() |
public int compareTo(Object o)
compareTo in interface Comparablepublic String getProtocol()
public String getHost()
public String getScheme()
public int getPort()
public String getUsername()
Copyright © 2021. All rights reserved.