public class HubApiRequest extends ARequest
限定符和类型 | 字段和说明 |
---|---|
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 |
构造器和说明 |
---|
HubApiRequest() |
限定符和类型 | 方法和说明 |
---|---|
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()