| | |
| | | package com.java110.core.context; |
| | | |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.entity.center.Business; |
| | | import com.java110.entity.center.DataFlowLinksCost; |
| | | import com.java110.entity.center.DataFlowLog; |
| | | import org.springframework.http.ResponseEntity; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | |
| | | * 请求报文 |
| | | * @return |
| | | */ |
| | | public String getReqData(); |
| | | String getReqData(); |
| | | |
| | | public JSONObject getReqJson(); |
| | | //AppId |
| | | String getAppId(); |
| | | |
| | | JSONObject getReqJson(); |
| | | /** |
| | | * 返回报文 |
| | | * @return |
| | | */ |
| | | public JSONObject getResJson(); |
| | | JSONObject getResJson(); |
| | | |
| | | |
| | | /** |
| | | * 添加各个环节的耗时 |
| | | * @param dataFlowLinksCost |
| | | */ |
| | | public void addLinksCostDates(DataFlowLinksCost dataFlowLinksCost); |
| | | void addLinksCostDates(DataFlowLinksCost dataFlowLinksCost); |
| | | |
| | | /** |
| | | * 添加日志信息 |
| | | * @param dataFlowLog |
| | | */ |
| | | public void addLogDatas(DataFlowLog dataFlowLog); |
| | | void addLogDatas(DataFlowLog dataFlowLog); |
| | | |
| | | public List<DataFlowLinksCost> getLinksCostDates(); |
| | | List<DataFlowLinksCost> getLinksCostDates(); |
| | | |
| | | public List<Business> getBusinesses(); |
| | | List<Business> getBusinesses(); |
| | | |
| | | public Map<String, String> getHeaders(); |
| | | /** |
| | | * 源请求头信息 |
| | | * @return |
| | | */ |
| | | Map<String, String> getRequestHeaders(); |
| | | /** |
| | | * 终返回头信息 |
| | | * @return |
| | | */ |
| | | Map<String, String> getResponseHeaders(); |
| | | |
| | | /** |
| | | * 当前请求头信息 |
| | | * @return |
| | | */ |
| | | Map<String, String> getRequestCurrentHeaders(); |
| | | |
| | | /** |
| | | * 当前返回头信息 |
| | | * @return |
| | | */ |
| | | Map<String, String> getResponseCurrentHeaders(); |
| | | |
| | | |
| | | public Orders getOrder(); |
| | | IOrders getOrder(); |
| | | |
| | | |
| | | /** |
| | |
| | | |
| | | public String getbId(); |
| | | |
| | | //业务编码,如果是批量受理就取第一个 |
| | | public String getServiceCode(); |
| | | |
| | | public void setResponseEntity(ResponseEntity responseEntity); |
| | | |
| | | public ResponseEntity getResponseEntity(); |
| | | |
| | | /** |
| | | * 获取调用订单服务业务 |
| | | * @return |
| | | */ |
| | | public JSONArray getServiceBusiness(); |
| | | |
| | | /** |
| | | * 设置订单服务业务 |
| | | * @param serviceBusiness |
| | | */ |
| | | public void addServiceBusiness(JSONObject serviceBusiness); |
| | | /** |
| | | * 设置订单服务业务 |
| | | * @param serviceBusinesses |
| | | */ |
| | | public void setServiceBusiness(JSONArray serviceBusinesses); |
| | | } |