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.
|
encodeMessage
acceptOutboundMessage, encode
write
bind, close, connect, deregister, disconnect, flush, read
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exceptionCaught, handlerAdded, handlerRemoved
protected void encodeHeader(ByteBuf buf, BinaryMemcacheResponse msg)
AbstractBinaryMemcacheEncoder
Encode 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 © 2018 Couchbase, Inc.. All rights reserved.