156157158159160161162
for (Object arg : args) { if (arg instanceof HttpServletRequest) { return (HttpServletRequest) arg; } } return new BufferedRequest(DEFAULT_NULL_REQUEST); }