Package io.netty.handler.codec.redis
Class ArrayHeaderRedisMessage
- java.lang.Object
-
- io.netty.handler.codec.redis.ArrayHeaderRedisMessage
-
- All Implemented Interfaces:
RedisMessage
@UnstableApi public class ArrayHeaderRedisMessage extends java.lang.Object implements RedisMessage
Header of Redis Array Message.
-
-
Constructor Summary
Constructors Constructor Description ArrayHeaderRedisMessage(long length)Creates aArrayHeaderRedisMessagefor the givenlength.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisNull()Returns whether the content of this message isnull.longlength()Get length of this array object.java.lang.StringtoString()
-
-
-
Constructor Detail
-
ArrayHeaderRedisMessage
public ArrayHeaderRedisMessage(long length)
Creates aArrayHeaderRedisMessagefor the givenlength.
-
-
Method Detail
-
length
public final long length()
Get length of this array object.
-
isNull
public boolean isNull()
Returns whether the content of this message isnull.- Returns:
- indicates whether the content of this message is
null.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-