DannyKiler opened a new issue #1440: cse中如何获取request、response URL: https://github.com/apache/servicecomb-java-chassis/issues/1440 cse应该是有线程隔离,请问怎样获取request、response对象, 试了下 @Autowired private HttpServletRequest request; HttpServletRequest request = ((ServletRequestAttributes)RequestContextHolder.getRequestAttributes()).getRequest(); 两种方式均拿不到,而作为参数在控制层传入发现拿不到请求头信息,并cse不支持response作为参数传入
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
