When I read the source of scalatra, I found there are some code like:
protected val _response = new DynamicVariable[HttpServletResponse](null) protected va