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