public abstract class AbstractRpcClient extends Object implements IRpcClient
DEFAULT_MSG_404, DEFAULT_MSG_500, MAGIC, TYPE_BODY, TYPE_END, TYPE_FILE_DATA, TYPE_FILE_NAME, TYPE_FILE_SIZE, TYPE_JSON, TYPE_LOCALE, TYPE_PARAM_NAME, TYPE_PARAM_VALUE, TYPE_PATH| 构造器和说明 |
|---|
AbstractRpcClient() |
| 限定符和类型 | 方法和说明 |
|---|---|
IRpcResponse |
call(String host,
int port,
String path)
调用
|
IRpcResponse |
call(String host,
int port,
String path,
Map<String,String> args)
调用
|
IRpcResponse |
call(String host,
int port,
String path,
String body)
调用
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcall, supportpublic IRpcResponse call(String host, int port, String path)
IRpcClientcall 在接口中 IRpcClienthost - 主机地址port - 主机端口path - 请求路径,以/开头public IRpcResponse call(String host, int port, String path, String body)
IRpcClientcall 在接口中 IRpcClienthost - 主机地址port - 主机端口path - 请求路径,以/开头body - 数据体public IRpcResponse call(String host, int port, String path, Map<String,String> args)
IRpcClientcall 在接口中 IRpcClienthost - 主机地址port - 主机端口path - 请求路径,以/开头args - 请求参数Copyright © 2020. All Rights Reserved.