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