- Spring Microservices
- Rajesh RV
- 39字
- 2021-07-02 16:28:31
Changing the default embedded web server
Embedded HTTP listeners can easily be customized as follows. By default, Spring Boot supports Tomcat, Jetty, and Undertow. In the following example, Tomcat is replaced with Undertow:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-undertow</artifactId> </dependency>
推薦閱讀
- JavaScript百煉成仙
- Learning Cython Programming
- 零基礎玩轉區塊鏈
- PLC編程與調試技術(松下系列)
- HTML5秘籍(第2版)
- Linux Shell核心編程指南
- Scala for Machine Learning(Second Edition)
- PrimeFaces Blueprints
- Machine Learning for Developers
- H5頁面設計與制作(全彩慕課版·第2版)
- Implementing Domain:Specific Languages with Xtext and Xtend
- Java程序設計(項目教學版)
- 大象:Thinking in UML(第二版)
- Hadoop MapReduce v2 Cookbook(Second Edition)
- Salt Cookbook