-
-
Save b1a9id/b847ee813ca22c703f7c58a457e0a6dc to your computer and use it in GitHub Desktop.
HttpStatusRequestRejectedHandlerのBean登録
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Bean | |
public RequestRejectedHandler requestRejectedHandler() { | |
return new HttpStatusRequestRejectedHandler(HttpStatus.NOT_FOUND.value()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment