public class BinaryMemcacheResponseEncoder extends AbstractBinaryMemcacheEncoder<BinaryMemcacheResponse>
The encoder which takes care of encoding the response headers.
ChannelHandler.Sharable| Constructor and Description |
|---|
BinaryMemcacheResponseEncoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encodeHeader(ByteBuf buf,
BinaryMemcacheResponse msg)
Encode the header.
|
encodeMessageacceptOutboundMessage, encodewritebind, close, connect, deregister, disconnect, flush, readexceptionCaught, handlerAdded, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexceptionCaught, handlerAdded, handlerRemovedprotected void encodeHeader(ByteBuf buf, BinaryMemcacheResponse msg)
AbstractBinaryMemcacheEncoderEncode the header.
This methods needs to be implemented by a sub class because the header is different for both requests and responses.encodeHeader in class AbstractBinaryMemcacheEncoder<BinaryMemcacheResponse>buf - the ByteBuf to write into.msg - the message to encode.Copyright © 2016 Couchbase, Inc.. All rights reserved.