io.vertx.redis.client

## Interface Request

-     public interface Request

  Builder for REDIS requests that will be encoded according to the RESP protocol was introduced in Redis 1.2. Which became the standard way for talking with the Redis server in Redis 2.0. Redis protocol documentation states:

  > Clients send commands to a Redis server as a RESP Array of Bulk Strings.

  So all non String/Bulk types will be encoded to Bulk for convenience.
  Author:
    Paulo Lopes

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default Request` | `arg(boolean arg)` Adds a boolean encoded to string
    `Request` | `arg(Buffer arg)` Adds a String key argument
    `default Request` | `arg(byte arg)` Adds a byte encoded to string
    `Request` | `arg(byte[] arg)` Adds a byte array
    `default Request` | `arg(int arg)` Adds a int encoded to string
    `Request` | `arg(long arg)` Adds a long encoded to string
    `default Request` | `arg(short arg)` Adds a short encoded to string
    `default Request` | `arg(String arg)` Adds a String argument using UTF8 character encoding
    `default Request` | `arg(String arg, String enc)` Adds a String using a specific character encoding argument
    `static Request` | `cmd(Command command)`
    `Command` | `command()` Get the Command that is to be used by this request.
    `Request` | `nullArg()` Adds a NULL encoded string

- - ### Method Detail

    - #### cmd

          static Request cmd(Command command)

    - #### arg

          Request arg(byte[] arg)

      Adds a byte array
      Returns:
        self

    - #### arg

          default Request arg(String arg)

      Adds a String argument using UTF8 character encoding
      Returns:
        self

    - #### arg

          default Request arg(String arg,
                              String enc)

      Adds a String using a specific character encoding argument
      Returns:
        self

    - #### arg

          Request arg(Buffer arg)

      Adds a String key argument
      Returns:
        self

    - #### arg

          Request arg(long arg)

      Adds a long encoded to string
      Returns:
        self

    - #### arg

          default Request arg(int arg)

      Adds a int encoded to string
      Returns:
        self

    - #### arg

          default Request arg(short arg)

      Adds a short encoded to string
      Returns:
        self

    - #### arg

          default Request arg(byte arg)

      Adds a byte encoded to string
      Returns:
        self

    - #### arg

          default Request arg(boolean arg)

      Adds a boolean encoded to string
      Returns:
        self

    - #### nullArg

          Request nullArg()

      Adds a NULL encoded string
      Returns:
        self

    - #### command

          Command command()

      Get the Command that is to be used by this request.
      Returns:
        the command.

Copyright © 2020 Eclipse. All rights reserved.