public class PlaintextAuthenticateRequest extends BinaryRequest<MemcacheStatus>
| Modifier and Type | Field and Description |
|---|---|
private static byte[] |
KEY |
private java.lang.String |
password |
private java.lang.String |
username |
HEADER_SIZE, MAGIC_NUMBER, opaquekey| Constructor and Description |
|---|
PlaintextAuthenticateRequest(java.lang.String username,
java.lang.String password) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handle(BinaryResponse replies,
HostAndPort server) |
io.netty.buffer.ByteBuf |
writeRequest(io.netty.buffer.ByteBufAllocator alloc,
java.nio.ByteBuffer dst) |
handle, handleSingleReply, writeHeaderasFuture, encodeKey, encodeKeys, fail, getKey, succeed, toBuffer, toBufferacceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completedFuture, completeExceptionally, exceptionally, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, obtrudeException, obtrudeValue, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, runAsync, runAsync, supplyAsync, supplyAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, toString, whenComplete, whenCompleteAsync, whenCompleteAsyncprivate static final byte[] KEY
private final java.lang.String username
private final java.lang.String password
public PlaintextAuthenticateRequest(java.lang.String username,
java.lang.String password)
public io.netty.buffer.ByteBuf writeRequest(io.netty.buffer.ByteBufAllocator alloc,
java.nio.ByteBuffer dst)
protected void handle(BinaryResponse replies, HostAndPort server) throws java.io.IOException
handle in class BinaryRequest<MemcacheStatus>java.io.IOExceptionCopyright © 2020 Spotify AB. All Rights Reserved.