类的使用
org.springframework.web.servlet.NoHandlerFoundException
使用NoHandlerFoundException的程序包 程序包 说明 org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotationpackage.org.springframework.web.servlet.mvc.support Support package for MVC controllers.org.springframework.web.servlet.mvc.method.annotation中NoHandlerFoundException的使用
参数类型为NoHandlerFoundException的org.springframework.web.servlet.mvc.method.annotation中的方法 修饰符和类型 方法 说明 protected ResponseEntity<Object>ResponseEntityExceptionHandler. handleNoHandlerFoundException(NoHandlerFoundException ex, HttpHeaders headers, HttpStatus status, WebRequest request)Customize the response for NoHandlerFoundException.org.springframework.web.servlet.mvc.support中NoHandlerFoundException的使用
参数类型为NoHandlerFoundException的org.springframework.web.servlet.mvc.support中的方法 修饰符和类型 方法 说明 protected ModelAndViewDefaultHandlerExceptionResolver. handleNoHandlerFoundException(NoHandlerFoundException ex, HttpServletRequest request, HttpServletResponse response, Object handler)Handle the case where no handler was found during the dispatch.