public interface NoHandlerFoundAdviceTrait extends AdviceTrait
NoHandlerFoundExceptions into not-found
problems.
Note: This requires DispatcherServlet.setThrowExceptionIfNoHandlerFound(boolean) being set
to true.
NoHandlerFoundException,
Status.NOT_FOUND,
DispatcherServlet.setThrowExceptionIfNoHandlerFound(boolean)LOG| Modifier and Type | Method and Description |
|---|---|
default org.springframework.http.ResponseEntity<org.zalando.problem.Problem> |
handleNoHandlerFound(org.springframework.web.servlet.NoHandlerFoundException exception,
org.springframework.web.context.request.NativeWebRequest request) |
Copyright © 2015–2017 Zalando SE. All rights reserved.