https://github.com/fmjsjx/libnetty
A set of some useful libraries based on netty-4.x.
https://github.com/fmjsjx/libnetty
codec fastcgi http java netty redis
Last synced: 7 months ago
JSON representation
A set of some useful libraries based on netty-4.x.
- Host: GitHub
- URL: https://github.com/fmjsjx/libnetty
- Owner: fmjsjx
- License: mit
- Created: 2020-03-11T02:01:41.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-04-14T09:01:29.000Z (10 months ago)
- Last Synced: 2025-06-10T00:05:36.722Z (8 months ago)
- Topics: codec, fastcgi, http, java, netty, redis
- Language: Java
- Homepage:
- Size: 1.53 MB
- Stars: 12
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LibNetty Project
A set of some useful libraries based on netty4.2.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.8.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.8.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.8.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`.