package com.hccake.ballcat.common.core.filter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;
import java.util.Map;

/**
 * @author Hccake
 * @version 1.0
 * @date 2019/10/17 21:57
 * 修改parameterMap
 */
public class ModifyParamMapRequestWrapper extends HttpServletRequestWrapper {

    private Map<String, String[]> parameterMap;

    public ModifyParamMapRequestWrapper(HttpServletRequest request, Map<String, String[]> parameterMap) {
        super(request);
        this.parameterMap = parameterMap;
    }

    @Override
    public Map<String, String[]> getParameterMap() {
        return this.parameterMap;
    }

}