Modifier and Type | Method and Description |
---|---|
static Starttls.Protocol |
Starttls.Protocol.getByPort(int port)
Guess a protocol with given port number
|
static Starttls.Protocol |
Starttls.Protocol.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Starttls.Protocol[] |
Starttls.Protocol.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|