Chapter 3. Web Framework Behavior Tuning

In this chapter, we will learn about the following topics:

  • Configuring route matching patterns
  • Configuring custom static path mappings
  • Tuning Tomcat via the EmbeddedServletContainerCustomizer
  • Choosing embedded servlet containers
  • Adding custom connectors

Introduction

In Chapter 2, Configuring Web Applications, we explored how to configure web applications in Spring Boot with our custom filters, interceptors, and so on. We will continue to look further into enhancing our web application by doing behavior tuning, configuring the custom routing rules and patterns, adding additional static asset paths, and adding and modifying servlet container connectors and other properties such as enabling SSL.

Get Spring Boot Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.