spring-boot-starter-netty

Parent pom providing dependency and plugin management for applications built with Maven

Лицензия

Лицензия

Категории

Категории

Spring Boot Контейнер Микросервисы Сеть Netty Networking
Группа

Группа

io.gitlab.leibnizhu
Идентификатор

Идентификатор

spring-boot-starter-netty
Последняя версия

Последняя версия

1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

spring-boot-starter-netty
Parent pom providing dependency and plugin management for applications built with Maven
Организация-разработчик

Организация-разработчик

Pivotal Software, Inc.
Система контроля версий

Система контроля версий

https://github.com/Leibnizhu/spring-boot-starter-netty

Скачать spring-boot-starter-netty

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.gitlab.leibnizhu/spring-boot-starter-netty/ -->
<dependency>
    <groupId>io.gitlab.leibnizhu</groupId>
    <artifactId>spring-boot-starter-netty</artifactId>
    <version>1.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.gitlab.leibnizhu/spring-boot-starter-netty/
implementation 'io.gitlab.leibnizhu:spring-boot-starter-netty:1.1'
// https://jarcasting.com/artifacts/io.gitlab.leibnizhu/spring-boot-starter-netty/
implementation ("io.gitlab.leibnizhu:spring-boot-starter-netty:1.1")
'io.gitlab.leibnizhu:spring-boot-starter-netty:jar:1.1'
<dependency org="io.gitlab.leibnizhu" name="spring-boot-starter-netty" rev="1.1">
  <artifact name="spring-boot-starter-netty" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.gitlab.leibnizhu', module='spring-boot-starter-netty', version='1.1')
)
libraryDependencies += "io.gitlab.leibnizhu" % "spring-boot-starter-netty" % "1.1"
[io.gitlab.leibnizhu/spring-boot-starter-netty "1.1"]

Зависимости

compile (5)

Идентификатор библиотеки Тип Версия
io.netty : netty-all jar 4.1.50.Final
org.javassist : javassist jar 3.20.0-GA
org.springframework.boot : spring-boot-starter-web jar 1.5.2.RELEASE
javax.servlet : javax.servlet-api jar 3.1.0
com.google.guava : guava jar 29.0-jre

test (4)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-test jar 1.5.2.RELEASE
com.alibaba : fastjson jar 1.2.71
org.openjdk.jmh : jmh-core jar 1.19
org.openjdk.jmh : jmh-generator-annprocess jar 1.19

Модули Проекта

Данный проект не имеет модулей.

spring-boot-starter-netty

[English] [中文]

Introduction

This is a Spring Boot embedded servlet container project base on netty API (4.1.12.Final).
This project has been publish into maven center repository, refer to The Central Repository.

Maven Dependencies

  1. 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</version>
    </dependency>
</dependencies>
  1. add scanBasePackages property to @SpringBootApplication annotation in your Spring-Boot entry class, like:
@SpringBootApplication(scanBasePackages = {"io.gitlab.leibnizhu", "your.package.name"})
@EnableScheduling
public class AwpApplication extends SpringBootServletInitializer {
    public AwpApplication() {
    }

    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(new Class[]{AwpApplication.class});
    }

    public static void main(String[] args) {
        SpringApplication.run(AwpApplication.class, args);
    }
}
  1. run your Spring-Boot application and enjoy it.

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容器的实现(五)

Версии библиотеки

Версия
1.1
1.0