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 HttpRequest
wrapRequest
(RobotProperty property, RobotRequest request) 包装requestprotected abstract RobotResponse
wrapResponse
(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:
send
in interfaceRobotMessageSender
request
- 请求实体
-