Class BinaryAuthDecoderImpl
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.handler.codec.ByteToMessageDecoder
org.infinispan.server.memcached.MemcachedBaseDecoder
org.infinispan.server.memcached.binary.BinaryAuthDecoderImpl
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class io.netty.handler.codec.ByteToMessageDecoder
io.netty.handler.codec.ByteToMessageDecoder.CumulatorNested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Field Summary
Fields inherited from class org.infinispan.server.memcached.MemcachedBaseDecoder
accessLogging, ANONYMOUS, cache, ctx, current, log, maxContentLength, posBefore, principalName, requestStart, server, statistics, statsEnabled, subject, timeService, versionGeneratorFields inherited from class io.netty.handler.codec.ByteToMessageDecoder
COMPOSITE_CUMULATOR, MERGE_CUMULATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MemcachedResponseconfig(BinaryHeader header, byte[] key) voidprotected MemcachedResponsefailedResponse(Header header, Throwable t) voidhandlerAdded(io.netty.channel.ChannelHandlerContext ctx) intprotected voidresponse(BinaryHeader header, MemcachedStatus status) protected voidresponse(BinaryHeader header, MemcachedStatus status, byte[] value) protected voidresponse(BinaryHeader header, MemcachedStatus status, byte[] key, byte[] value) protected voidresponse(BinaryHeader header, MemcachedStatus status, int flags, byte[] key, byte[] value) protected voidresponse(BinaryHeader header, MemcachedStatus status, long number) protected voidresponse(BinaryHeader header, MemcachedStatus status, Throwable t) protected MemcachedResponsesaslAuth(BinaryHeader header, byte[] mech, byte[] data) protected MemcachedResponsesaslListMechs(BinaryHeader header) protected MemcachedResponsesaslStep(BinaryHeader header, byte[] mech, byte[] data) send(Header header, CompletionStage<?> response) send(Header header, CompletionStage<?> response, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener) Methods inherited from class org.infinispan.server.memcached.MemcachedBaseDecoder
bytesAvailable, exceptionCaught, metadata, registerExceptionHandler, resumeRead, statsMap, toMillis, touchMetadataMethods inherited from class io.netty.handler.codec.ByteToMessageDecoder
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Constructor Details
-
BinaryAuthDecoderImpl
-
-
Method Details
-
decode
-
requestBytes
public int requestBytes() -
saslListMechs
-
saslAuth
-
saslStep
-
acquireHeader
-
handlerAdded
- Specified by:
handlerAddedin interfaceio.netty.channel.ChannelHandler- Overrides:
handlerAddedin classMemcachedBaseDecoder- Throws:
Exception
-
config
-
response
-
response
-
response
-
response
protected void response(BinaryHeader header, MemcachedStatus status, int flags, byte[] key, byte[] value) -
response
-
response
-
failedResponse
- Specified by:
failedResponsein classMemcachedBaseDecoder
-
send
- Specified by:
sendin classMemcachedBaseDecoder
-
send
public MemcachedResponse send(Header header, CompletionStage<?> response, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener) - Specified by:
sendin classMemcachedBaseDecoder
-