Package io.netty.handler.codec.redis
Class BulkStringHeaderRedisMessage
- java.lang.Object
-
- io.netty.handler.codec.redis.BulkStringHeaderRedisMessage
-
- All Implemented Interfaces:
RedisMessage
@UnstableApi public class BulkStringHeaderRedisMessage extends java.lang.Object implements RedisMessage
The header of Bulk Strings in RESP.
-
-
Constructor Summary
Constructors Constructor Description BulkStringHeaderRedisMessage(int bulkStringLength)
Creates aBulkStringHeaderRedisMessage
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
bulkStringLength()
ReturnbulkStringLength
for this content.boolean
isNull()
Returns whether the content of this message isnull
.
-
-
-
Constructor Detail
-
BulkStringHeaderRedisMessage
public BulkStringHeaderRedisMessage(int bulkStringLength)
Creates aBulkStringHeaderRedisMessage
.- Parameters:
bulkStringLength
- follow content length.
-
-