October 2018
Intermediate to advanced
982 pages
23h 29m
English
When we build web applications, it is not always the case that a default out-of-the-box mapping configuration is applicable. At times, we want to create RESTful URLs that contain characters such as dot (.), which Spring treats as a delimiter-defining format, like path.xml; or we might not want to recognize a trailing slash, and so on. Conveniently, Spring provides us with a way to accomplish this with ease.
In Chapter 21, Configuring Web Applications, we introduced a WebConfiguration class, which extends from WebMvcConfigurerAdapter. This extension allows us to override methods that are geared toward adding filters, formatters, and many more. It also has methods that can be overridden in order to configure ...
Read now
Unlock full access