Gateway网关过滤之后获取不到 HttpServletRequest

下游服务controller:

//BaseController 处理类
public class BaseController { 
    protected String sessionId = null; 
    //www.fhadmin.org
    protected void getSessionIdFromRequest(HttpServletRequest request) {
         this.sessionId = request.getHeader().get("Session-Id");
     }
}

报错信息:

No primary or default constructor found for interface javax.servlet.http.HttpServletReques


上一篇:简述Shiro的核心组件?


下一篇:redis远程连接不上解决方案