wuxw
2019-07-10 d9b2c4b780340d2d2e8ca1a328034f19092fcddb
java110-core/src/main/java/com/java110/core/context/DataFlowContext.java
@@ -4,6 +4,7 @@
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;
@@ -18,36 +19,60 @@
     * 请求报文
     * @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();
    /**
@@ -74,5 +99,10 @@
    public String getbId();
    //业务编码,如果是批量受理就取第一个
    public String getServiceCode();
    public void setResponseEntity(ResponseEntity responseEntity);
    public ResponseEntity getResponseEntity();
}