public enum BoltResponseMessage extends Enum<BoltResponseMessage>
| Modifier and Type | Method and Description |
|---|---|
byte |
signature() |
static BoltResponseMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoltResponseMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static BoltResponseMessage |
withSignature(int signature)
Obtain a response message by signature.
|
public static final BoltResponseMessage SUCCESS
public static final BoltResponseMessage RECORD
public static final BoltResponseMessage IGNORED
public static final BoltResponseMessage FAILURE
public static BoltResponseMessage[] values()
for (BoltResponseMessage c : BoltResponseMessage.values()) System.out.println(c);
public static BoltResponseMessage 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 nullpublic static BoltResponseMessage withSignature(int signature)
signature - the signature byte to look upIllegalArgumentException - if no such message existspublic byte signature()
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.