public static enum SocketTransportHandler.HandshakeOutcome extends Enum<SocketTransportHandler.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 SocketTransportHandler.HandshakeOutcome |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocketTransportHandler.HandshakeOutcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocketTransportHandler.HandshakeOutcome PROTOCOL_CHOSEN
public static final SocketTransportHandler.HandshakeOutcome PARTIAL_HANDSHAKE
public static final SocketTransportHandler.HandshakeOutcome INVALID_HANDSHAKE
public static final SocketTransportHandler.HandshakeOutcome NO_APPLICABLE_PROTOCOL
public static final SocketTransportHandler.HandshakeOutcome INSECURE_HANDSHAKE
public static SocketTransportHandler.HandshakeOutcome[] values()
for (SocketTransportHandler.HandshakeOutcome c : SocketTransportHandler.HandshakeOutcome.values()) System.out.println(c);
public static SocketTransportHandler.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.