springmvc中的RequestContextHolder
RequestContextHolder当我们需要在service层获取request和response时,我们可以在RequestContextHolder中获取。使用方法: RequestAttributes requsetAttributes = RequestContextHolder.currentRequestAttributes(); //RequestAtt...