类的使用
cn.taketoday.web.bind.MissingPathVariableException
-
cn.taketoday.web.handler中MissingPathVariableException的使用
修饰符和类型方法说明protected ResponseEntity<Object>ResponseEntityExceptionHandler.handleMissingPathVariable(MissingPathVariableException ex, HttpHeaders headers, HttpStatusCode status, RequestContext request) Customize the handling ofMissingPathVariableException.protected ObjectSimpleHandlerExceptionHandler.handleMissingPathVariable(MissingPathVariableException ex, RequestContext request, Object handler) Handle the case when a declared path variable does not match any extracted URI variable.