wuxw7
2018-07-02 a0877c18fc2c064b5eaf43916e8d37a02ed4a083
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.java110.event.center.event;
 
import com.java110.core.context.DataFlow;
 
import java.util.Map;
 
/**
 * 请求进来预校验事件
 * Created by wuxw on 2018/7/2.
 */
public class DataPreValidateEvent extends DataFlowEvent {
 
    private final String requestData;
    private final Map<String,String> headers;
    /**
     * Constructs a prototypical Event.
     *
     * @param source   The object on which the Event initially occurred.
     * @param dataFlow
     * @throws IllegalArgumentException if source is null.
     */
    public DataPreValidateEvent(Object source, DataFlow dataFlow,
                                String requestData, Map<String,String> headers) {
        super(source, dataFlow);
        this.requestData = requestData;
        this.headers = headers;
    }
}