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.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    BulkStringHeaderRedisMessage(int bulkStringLength)
  • Method Summary

    Modifier and Type
    Method
    Description
    final int
    Return bulkStringLength for this content.
    boolean
    Returns whether the content of this message is null.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • bulkStringLength

      private final int bulkStringLength
  • Constructor Details

    • BulkStringHeaderRedisMessage

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

    • 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.