public enum SaslAuthResponse extends Enum<SaslAuthResponse>
| Modifier and Type | Method and Description |
|---|---|
static io.netty.buffer.ByteBuf |
challenge(io.netty.buffer.ByteBuf buffer)
Returns the server challenge.
|
static boolean |
is(io.netty.buffer.ByteBuf buffer)
If the given buffer is a
SaslAuthResponse message. |
static SaslAuthResponse |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaslAuthResponse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static SaslAuthResponse[] values()
for (SaslAuthResponse c : SaslAuthResponse.values()) System.out.println(c);
public static SaslAuthResponse 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 boolean is(io.netty.buffer.ByteBuf buffer)
SaslAuthResponse message.public static io.netty.buffer.ByteBuf challenge(io.netty.buffer.ByteBuf buffer)
Copyright © 2021 Couchbase, Inc.. All rights reserved.