# libnetty **Repository Path**: fmjsjx/libnetty ## Basic Information - **Project Name**: libnetty - **Description**: A set of some useful libraries based on netty-4.1.x. - **Primary Language**: Java - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-08-24 - **Last Updated**: 2023-06-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: Java, Netty, Http, Redis, FastCGI ## README # LibNetty Project A set of some useful libraries based on netty4.1.x. > Since version 3.0, All modules are compiled based on JDK-17. ## Add Dependencies ### Add Maven Dependencies `pom.xml` ```xml com.github.fmjsjx libnetty-bom 3.1.0 pom import ... com.github.fmjsjx libnetty-http-server ... ``` ### Add Gradle Dependencies #### Groovy DSL ```groovy repositories { mavenCentral } dependencies { // BOM implementation platform('com.github.fmjsjx:libnetty-bom:3.1.0') // HTTP server implementation 'com.github.fmjsjx:libnetty-http-server' } ``` #### Kotlin DSL ```kotlin repositories { mavenCentral() } dependencies { // BOM implementation(platform("com.github.fmjsjx:libnetty-bom:3.1.0")) // HTTP server implementation("com.github.fmjsjx:libnetty-http-server") } ``` ## Modules There are a number of modules in LibNetty, here is a quick overview: ### libnetty-fastcgi The [`libnetty-fastcgi`](libnetty-fastcgi) module provides codec components for [`Fast-CGI`](https://fastcgi-archives.github.io/FastCGI_Specification.html). ### libnetty-handler The [`libnetty-handler`](libnetty-handler) module provides additional features for `netty-handler`. ### libnetty-http The [`libnetty-http`](libnetty-http) module provides additional utility functions for `HTTP/1.x`. ### libnetty-http-client The [`libnetty-http-client`](libnetty-http-client) module provides a simplified HTTP client, supports both synchronous and asynchronous(based on JDK8+ CompletableFuture) APIs. ### libnetty-http-server The [`libnetty-http-server`](libnetty-http-server) module provides a simplified HTTP server framework. ### libnetty-resp The [`libnetty-resp`](libnetty-resp) module provides codec components for [`RESP(REdis Serialization Protocol)`](https://redis.io/topics/protocol). ### libnetty-resp3 The [`libnetty-resp3`](libnetty-resp3) module provides codec components for [`RESP3 specification`](https://github.com/antirez/RESP3/blob/master/spec.md). ### libnetty-transport The [`libnetty-transport`](libnetty-transport) module provides additional features, such as `auto-selection of java/native transport`, for `netty-transport`.