Package | Description |
---|---|
com.forte.qqrobot.sender |
此包下定义所有sender相关方法接口并提供一个汇总接口。
其中, SenderGetList
SenderSendList
SenderSetList
这三个接口均继承SenderList 接口,其余接口均作为汇总或增强接口,不会直接使用。
接口中所有返回值为布尔类型的方法若无特殊标注则均代表方法的执行成功与否。 |
com.forte.qqrobot.utils |
Modifier and Type | Class and Description |
---|---|
class |
HttpClientHelper
送信器帮助中心,启动时会扫描并注入实现了HttpClientAble接口的实现类并存入其中,使用户可以自由获取。
|
Modifier and Type | Method and Description |
---|---|
static HttpClientAble |
HttpClientHelper.getDefaultHttp()
根据当前默认名称获取模板
|
static HttpClientAble |
HttpClientHelper.getHttp(String name)
获取一个http模板
|
HttpClientAble |
HttpClientHelper.getHttpTemplate() |
Modifier and Type | Method and Description |
---|---|
static void |
HttpClientHelper.registerClient(String name,
HttpClientAble clientAble)
注册一个http模板
|
void |
HttpClientHelper.setHttpTemplate(HttpClientAble httpTemplate) |
Modifier and Type | Method and Description |
---|---|
static void |
HttpClientHelper.registerClient(String name,
Supplier<HttpClientAble> clientAbleSupplier)
注册一个http模板
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultHttpClientTemplate |
Copyright © 2020. All rights reserved.