Uses of Class
org.springframework.web.servlet.resource.NoResourceFoundException
Packages that use NoResourceFoundException
Package
Description
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package.Support package for MVC controllers.
-
Uses of NoResourceFoundException in org.springframework.web.servlet.mvc.method.annotation
Methods in org.springframework.web.servlet.mvc.method.annotation with parameters of type NoResourceFoundExceptionModifier and TypeMethodDescriptionprotected @Nullable ResponseEntity<Object> ResponseEntityExceptionHandler.handleNoResourceFoundException(NoResourceFoundException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) Customize the handling ofNoResourceFoundException. -
Uses of NoResourceFoundException in org.springframework.web.servlet.mvc.support
Methods in org.springframework.web.servlet.mvc.support with parameters of type NoResourceFoundExceptionModifier and TypeMethodDescriptionprotected @Nullable ModelAndViewDefaultHandlerExceptionResolver.handleNoResourceFoundException(NoResourceFoundException ex, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, @Nullable Object handler) Handle the case where no static resource was found.