public class HTTPClient extends Object
| 构造器和说明 |
|---|
HTTPClient() |
| 限定符和类型 | 方法和说明 |
|---|---|
<Rsp> Rsp |
doJsonRequest(String path,
Object request,
Rsp response,
Options options) |
<Rsp extends com.google.protobuf.Message,Req extends com.google.protobuf.Message> |
doPbRequest(String path,
Req request,
com.google.protobuf.Parser<Rsp> rspParser,
Options options) |
void |
Shutdown() |
public <Rsp extends com.google.protobuf.Message,Req extends com.google.protobuf.Message> Rsp doPbRequest(String path, Req request, com.google.protobuf.Parser<Rsp> rspParser, Options options) throws NetException, BizException
public <Rsp> Rsp doJsonRequest(String path, Object request, Rsp response, Options options) throws NetException, BizException
public void Shutdown()
Copyright © 2022. All rights reserved.