public class HubApiRequest extends ARequest
Modifier and Type | Field and Description |
---|---|
java.lang.String |
domain |
MethodType |
method |
java.util.Map<java.lang.String,java.lang.Object> |
params
method or path
|
java.lang.String |
path |
Schema |
schema |
Constructor and Description |
---|
HubApiRequest() |
Modifier and Type | Method and Description |
---|---|
void |
addParams(java.lang.String key,
java.lang.Object value) |
static HubApiRequest |
build(java.lang.String path,
java.util.Map<java.lang.String,java.lang.Object> params) |
static HubApiRequest |
build(java.lang.String domain,
MethodType method,
java.lang.String path,
Schema schema,
java.util.Map<java.lang.String,java.lang.Object> params) |
CommonRequest |
toChannelRequest() |
public java.util.Map<java.lang.String,java.lang.Object> params
public java.lang.String domain
public MethodType method
public java.lang.String path
public Schema schema
public static HubApiRequest build(java.lang.String path, java.util.Map<java.lang.String,java.lang.Object> params)
public static HubApiRequest build(java.lang.String domain, MethodType method, java.lang.String path, Schema schema, java.util.Map<java.lang.String,java.lang.Object> params)
public void addParams(java.lang.String key, java.lang.Object value)
public CommonRequest toChannelRequest()