Skip to content

一个基于Netty实现的Spring Boot内置Servlet容器。a Spring Boot embedded servlet container project base on netty API (4.1.12.Final).

License

Notifications You must be signed in to change notification settings

Leibnizhu/spring-boot-starter-netty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-starter-netty

[English] [中文]

Introduction

  • This is a Spring Boot embedded servlet container project base on netty API.
  • Only supports Netty versions greater than 4.1.41.Final, you can specify the version number to be used in the pom.xml file of the project.

Maven Dependencies

  1. Clone project and install:

    $ mvn clean install
  2. add the dependencies below to your maven project:

<dependencies>
    <!-- exludes embedded Tomcat -->
    <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>
    <!-- include this netty servlet container -->
    <dependency>
        <groupId>io.gitlab.leibnizhu</groupId>
        <artifactId>spring-boot-starter-netty</artifactId>
        <version>1.1-RELEASE</version>
    </dependency>
    <!-- Specify Netty version. It is necessary to compatibility with other Netty-based dependencies -->
    <dependency>
        <groupId>io.netty</groupId>
        <artifactId>netty-all</artifactId>
        <version>4.1.113.Final</version>
    </dependency>
</dependencies>

Blogs about how to design/code this project

Only Chineses, updating one after another……
基于Netty的Spring Boot内置Servlet容器的实现(一)
基于Netty的Spring Boot内置Servlet容器的实现(二)
基于Netty的Spring Boot内置Servlet容器的实现(三)
基于Netty的Spring Boot内置Servlet容器的实现(四)
基于Netty的Spring Boot内置Servlet容器的实现(五)

About

一个基于Netty实现的Spring Boot内置Servlet容器。a Spring Boot embedded servlet container project base on netty API (4.1.12.Final).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages