Class KeyValueFeatureHandler

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler, ChannelOutboundHandler

public class KeyValueFeatureHandler
extends SimpleChannelInboundHandler<FullBinaryMemcacheResponse>
implements ChannelOutboundHandler
This handler negotiates the enabled features through the HELLO command. Like the SASL auth handler, this handler intercepts the original connect process to properly negotiate the supported features with the server. Once the features are negotiated they are sent through custom events up the pipeline and the handler removes itself.
Michael Nitschinger