类的使用
org.springframework.web.bind.MissingPathVariableException
使用MissingPathVariableException的程序包 程序包 说明 org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotation
package.org.springframework.web.servlet.mvc.support Support package for MVC controllers.org.springframework.web.servlet.mvc.method.annotation中MissingPathVariableException的使用
参数类型为MissingPathVariableException的org.springframework.web.servlet.mvc.method.annotation中的方法 修饰符和类型 方法 说明 protected ResponseEntity<Object>
ResponseEntityExceptionHandler. handleMissingPathVariable(MissingPathVariableException ex, HttpHeaders headers, HttpStatus status, WebRequest request)
Customize the response for MissingPathVariableException.org.springframework.web.servlet.mvc.support中MissingPathVariableException的使用
参数类型为MissingPathVariableException的org.springframework.web.servlet.mvc.support中的方法 修饰符和类型 方法 说明 protected ModelAndView
DefaultHandlerExceptionResolver. handleMissingPathVariable(MissingPathVariableException ex, HttpServletRequest request, HttpServletResponse response, Object handler)
Handle the case when a declared path variable does not match any extracted URI variable.