public class DefaultBinaryMemcacheResponseHeader extends AbstractBinaryMemcacheMessageHeader implements BinaryMemcacheResponseHeader
BinaryMemcacheResponseHeader.| Modifier and Type | Field and Description |
|---|---|
static byte |
RESPONSE_MAGIC_BYTE
Default magic byte for a request.
|
| Constructor and Description |
|---|
DefaultBinaryMemcacheResponseHeader()
Create a new
BinaryMemcacheRequestHeader and apply default values. |
| Modifier and Type | Method and Description |
|---|---|
short |
getStatus()
Returns the status of the response.
|
BinaryMemcacheResponseHeader |
setStatus(short status)
Sets the status of the response.
|
getCAS, getDataType, getExtrasLength, getKeyLength, getMagic, getOpaque, getOpcode, getTotalBodyLength, setCAS, setDataType, setExtrasLength, setKeyLength, setMagic, setOpaque, setOpcode, setTotalBodyLengthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCAS, getDataType, getExtrasLength, getKeyLength, getMagic, getOpaque, getOpcode, getTotalBodyLength, setCAS, setDataType, setExtrasLength, setKeyLength, setMagic, setOpaque, setOpcode, setTotalBodyLengthpublic static final byte RESPONSE_MAGIC_BYTE
public DefaultBinaryMemcacheResponseHeader()
BinaryMemcacheRequestHeader and apply default values.public short getStatus()
BinaryMemcacheResponseHeadergetStatus in interface BinaryMemcacheResponseHeaderpublic BinaryMemcacheResponseHeader setStatus(short status)
BinaryMemcacheResponseHeadersetStatus in interface BinaryMemcacheResponseHeaderstatus - the status to set.Copyright © 2008–2013 The Netty Project. All rights reserved.