Package org.infinispan.server.hotrod
Class HotRodHeader
- java.lang.Object
-
- org.infinispan.server.hotrod.HotRodHeader
-
- Direct Known Subclasses:
AccessLoggingHeader
public class HotRodHeader extends Object
- Since:
- 9.0
- Author:
- wburns
-
-
Constructor Summary
Constructors Constructor Description HotRodHeader(HotRodHeader header)
HotRodHeader(HotRodOperation op, byte version, long messageId, String cacheName, int flag, short clientIntel, int topologyId, MediaType keyType, MediaType valueType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VersionedEncoder
encoder()
String
getCacheName()
short
getClientIntel()
int
getFlag()
MediaType
getKeyMediaType()
long
getMessageId()
HotRodOperation
getOp()
int
getTopologyId()
MediaType
getValueMediaType()
byte
getVersion()
boolean
hasFlag(ProtocolFlag f)
String
toString()
-
-
-
Constructor Detail
-
HotRodHeader
public HotRodHeader(HotRodHeader header)
-
HotRodHeader
public HotRodHeader(HotRodOperation op, byte version, long messageId, String cacheName, int flag, short clientIntel, int topologyId, MediaType keyType, MediaType valueType)
-
-
Method Detail
-
hasFlag
public boolean hasFlag(ProtocolFlag f)
-
getOp
public HotRodOperation getOp()
-
getKeyMediaType
public MediaType getKeyMediaType()
-
getValueMediaType
public MediaType getValueMediaType()
-
getVersion
public byte getVersion()
-
getMessageId
public long getMessageId()
-
getCacheName
public String getCacheName()
-
getFlag
public int getFlag()
-
getClientIntel
public short getClientIntel()
-
getTopologyId
public int getTopologyId()
-
encoder
public VersionedEncoder encoder()
-
-