public class Request extends Object
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.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<Request> |
__TYPE_ARG |
Constructor and Description |
---|
Request(Object delegate) |
Request(Request delegate) |
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() |
public static final io.vertx.lang.rx.TypeArg<Request> __TYPE_ARG
public Request getDelegate()
public Request arg(String arg)
arg
- public Request arg(String arg, String enc)
arg
- enc
- public Request arg(long arg)
arg
- public Request arg(boolean arg)
arg
- public Request nullArg()
public Command command()
public Request arg(byte[] arg)
arg
- public Request arg(int arg)
arg
- public Request arg(short arg)
arg
- public Request arg(byte arg)
arg
- Copyright © 2023 Eclipse. All rights reserved.