- 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>
推薦閱讀
- Learning Neo4j
- Redis入門指南(第3版)
- C# 2012程序設(shè)計(jì)實(shí)踐教程 (清華電腦學(xué)堂)
- C語言程序設(shè)計(jì)
- Implementing Cisco Networking Solutions
- Android底層接口與驅(qū)動(dòng)開發(fā)技術(shù)詳解
- 程序是怎樣跑起來的(第3版)
- Instant Ext.NET Application Development
- App Inventor創(chuàng)意趣味編程進(jìn)階
- Access 2010中文版項(xiàng)目教程
- Learning Docker Networking
- Instant Zurb Foundation 4
- Mastering Gephi Network Visualization
- Python物理建模初學(xué)者指南(第2版)
- UI動(dòng)效設(shè)計(jì)從入門到精通