Class BulkStringHeaderRedisMessage

  • All Implemented Interfaces:
    RedisMessage

    @UnstableApi
    public class BulkStringHeaderRedisMessage
    extends Object
    implements RedisMessage
    The header of Bulk Strings in RESP.
    • Constructor Detail

      • BulkStringHeaderRedisMessage

        public BulkStringHeaderRedisMessage​(int bulkStringLength)
        Parameters:
        bulkStringLength - follow content length.
    • Method Detail

      • bulkStringLength

        public final int bulkStringLength()
        Return bulkStringLength for this content.
      • isNull

        public boolean isNull()
        Returns whether the content of this message is null.
        Returns:
        indicates whether the content of this message is null.