类的使用
org.springframework.web.bind.annotation.ResponseStatus
使用ResponseStatus的程序包 程序包 说明 org.springframework.web.servlet.mvc.annotation Support package for annotation-based Servlet MVC controllers.org.springframework.web.servlet.mvc.annotation中ResponseStatus的使用
参数类型为ResponseStatus的org.springframework.web.servlet.mvc.annotation中的方法 修饰符和类型 方法 说明 protected ModelAndView
ResponseStatusExceptionResolver. resolveResponseStatus(ResponseStatus responseStatus, HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)
Template method that handles the@ResponseStatus
annotation.