Package | Description |
---|---|
org.springframework.web.servlet.mvc.method.annotation |
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package. |
org.springframework.web.servlet.mvc.support |
Support package for MVC controllers.
|
Modifier and Type | Method and Description |
---|---|
protected ResponseEntity<java.lang.Object> |
ResponseEntityExceptionHandler.handleMissingPathVariable(MissingPathVariableException ex,
HttpHeaders headers,
HttpStatus status,
WebRequest request)
Customize the response for MissingPathVariableException.
|
Modifier and Type | Method and Description |
---|---|
protected ModelAndView |
DefaultHandlerExceptionResolver.handleMissingPathVariable(MissingPathVariableException ex,
HttpServletRequest request,
HttpServletResponse response,
java.lang.Object handler)
Handle the case when a declared path variable does not match any extracted URI variable.
|