Package io.jenkins.plugins.wxwork.robot
Class AbstractRobotMessageSender
java.lang.Object
io.jenkins.plugins.wxwork.robot.AbstractRobotMessageSender
- All Implemented Interfaces:
RobotMessageSender
- Direct Known Subclasses:
WXWorkRobotMessageSender
AbstractRobotMessageSender
- Author:
- nekoimi 2022/07/16
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsend(RobotProperty property, RobotRequest request) 发送消息protected abstract HttpRequestwrapRequest(RobotProperty property, RobotRequest request) 包装requestprotected abstract RobotResponsewrapResponse(HttpResponse httpResponse) 包装response
-
Constructor Details
-
AbstractRobotMessageSender
public AbstractRobotMessageSender()
-
-
Method Details
-
wrapRequest
包装request
- Parameters:
property- 机器人配置request- 机器人请求
-
wrapResponse
包装response
- Parameters:
httpResponse- http响应对象
-
send
Description copied from interface:RobotMessageSender发送消息
- Specified by:
sendin interfaceRobotMessageSenderrequest- 请求实体
-