public enum HandshakeOutcome extends Enum<HandshakeOutcome>
| Enum Constant and Description |
|---|
INSECURE_HANDSHAKE
Encryption is required but the connection is not encrypted
|
INVALID_HANDSHAKE
the client sent an invalid handshake
|
NO_APPLICABLE_PROTOCOL
None of the clients suggested protocol versions are available :(
|
PARTIAL_HANDSHAKE
Pending more bytes before handshake can complete
|
PROTOCOL_CHOSEN
Yay!
|
| Modifier and Type | Method and Description |
|---|---|
static HandshakeOutcome |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HandshakeOutcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HandshakeOutcome PROTOCOL_CHOSEN
public static final HandshakeOutcome PARTIAL_HANDSHAKE
public static final HandshakeOutcome INVALID_HANDSHAKE
public static final HandshakeOutcome NO_APPLICABLE_PROTOCOL
public static final HandshakeOutcome INSECURE_HANDSHAKE
public static HandshakeOutcome[] values()
for (HandshakeOutcome c : HandshakeOutcome.values()) System.out.println(c);
public static HandshakeOutcome valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.