io.vertx.reactivex.redis.client

## Class Request

- java.lang.Object
- - io.vertx.reactivex.redis.client.Request

-     public class Request
      extends Object

  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.

  NOTE: This class has been automatically generated from the `original` non RX-ified interface using Vert.x codegen.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static io.vertx.lang.rx.TypeArg<Request>` | `__TYPE_ARG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Request(Request delegate)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Request` | `arg(boolean arg)` Adds a boolean encoded to string
    `Request` | `arg(Buffer arg)` Adds a String key argument
    `Request` | `arg(byte arg)` Adds a byte encoded to string
    `Request` | `arg(byte[] arg)` Adds a byte array
    `Request` | `arg(int arg)` Adds a int encoded to string
    `Request` | `arg(long arg)` Adds a long encoded to string
    `Request` | `arg(short arg)` Adds a short encoded to string
    `Request` | `arg(String arg)` Adds a String argument using UTF8 character encoding
    `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.
    `boolean` | `equals(Object o)`
    `Request` | `getDelegate()`
    `int` | `hashCode()`
    `static Request` | `newInstance(Request arg)`
    `Request` | `nullArg()` Adds a NULL encoded string
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### __TYPE_ARG

          public static final io.vertx.lang.rx.TypeArg<Request> __TYPE_ARG

  - ### Constructor Detail

    - #### Request

          public Request(Request delegate)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### getDelegate

          public Request getDelegate()

    - #### cmd

          public static Request cmd(Command command)

    - #### arg

          public Request arg(String arg)

      Adds a String argument using UTF8 character encoding
      Parameters:
        `arg` -
      Returns:
        self

    - #### arg

          public Request arg(String arg,
                             String enc)

      Adds a String using a specific character encoding argument
      Parameters:
        `arg` -
        `enc` -
      Returns:
        self

    - #### arg

          public Request arg(Buffer arg)

      Adds a String key argument
      Parameters:
        `arg` -
      Returns:
        self

    - #### arg

          public Request arg(long arg)

      Adds a long encoded to string
      Parameters:
        `arg` -
      Returns:
        self

    - #### arg

          public Request arg(boolean arg)

      Adds a boolean encoded to string
      Parameters:
        `arg` -
      Returns:
        self

    - #### nullArg

          public Request nullArg()

      Adds a NULL encoded string
      Returns:
        self

    - #### command

          public Command command()

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

    - #### arg

          public Request arg(byte[] arg)

      Adds a byte array
      Parameters:
        `arg` -
      Returns:
        self

    - #### arg

          public Request arg(int arg)

      Adds a int encoded to string
      Parameters:
        `arg` -
      Returns:
        self

    - #### arg

          public Request arg(short arg)

      Adds a short encoded to string
      Parameters:
        `arg` -
      Returns:
        self

    - #### arg

          public Request arg(byte arg)

      Adds a byte encoded to string
      Parameters:
        `arg` -
      Returns:
        self

    - #### newInstance

          public static Request newInstance(Request arg)

Copyright © 2019 Eclipse. All rights reserved.