Class TextAuthDecoderImpl
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.text.TextAuthDecoder
org.infinispan.server.memcached.text.TextAuthDecoderImpl
- 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
FieldsFields inherited from class 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 final AdvancedCache<byte[], byte[]> createCache(MemcachedServer server) voidprotected MemcachedResponsefailedResponse(Header header, Throwable t) voidhandlerAdded(io.netty.channel.ChannelHandlerContext ctx) protected voidhandlerRemoved0(io.netty.channel.ChannelHandlerContext ctx) intprotected MemcachedResponsesend(Header header, CompletionStage<?> response) protected MemcachedResponsesend(Header header, CompletionStage<?> response, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener) Methods inherited from class TextAuthDecoder
authMethods inherited from class MemcachedBaseDecoder
assertCacheIsReady, bytesAvailable, channelActive, exceptionCaught, metadata, registerExceptionHandler, resumeRead, statsMap, toMillis, touchMetadata, userEventTriggeredMethods inherited from class io.netty.handler.codec.ByteToMessageDecoder
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecodeMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Field Details
-
reader
-
-
Constructor Details
-
TextAuthDecoderImpl
-
-
Method Details
-
decode
-
requestBytes
public int requestBytes() -
createCache
- Specified by:
createCachein classMemcachedBaseDecoder
-
handlerAdded
- Specified by:
handlerAddedin interfaceio.netty.channel.ChannelHandler- Overrides:
handlerAddedin classMemcachedBaseDecoder- Throws:
Exception
-
handlerRemoved0
-
failedResponse
- Specified by:
failedResponsein classMemcachedBaseDecoder
-
send
- Specified by:
sendin classMemcachedBaseDecoder
-
send
protected MemcachedResponse send(Header header, CompletionStage<?> response, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> listener) - Specified by:
sendin classMemcachedBaseDecoder
-