Let's look at what we did in detail. The configurePathMatch(PathMatchConfigurer configurer) method gives us the ability to set our own behavior in how we want Spring to match the request URL path to the controller parameters:
- configurer.setUseSuffixPatternMatch(false): This method indicates that we don't want to use the .* suffix, so as to strip the trailing characters after the last dot. This means that Spring parses out the entire 978-1-78528-415-1.1 ISBN as an {isbn} parameter for BookController. So, http://localhost:8080/books/978-1-78528-415-1.1 and http://localhost:8080/books/978-1-78528-415-1 will become different URLs.
- configurer.setUseTrailingSlashMatch(true): This method indicates that we want to use the trailing ...