Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fmjsjx/libnetty
A set of some useful libraries based on netty-4.1.x.
https://github.com/fmjsjx/libnetty
codec fastcgi http java netty redis
Last synced: 4 months ago
JSON representation
A set of some useful libraries based on netty-4.1.x.
- Host: GitHub
- URL: https://github.com/fmjsjx/libnetty
- Owner: fmjsjx
- License: mit
- Created: 2020-03-11T02:01:41.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-23T08:04:31.000Z (8 months ago)
- Last Synced: 2024-05-23T09:26:14.118Z (8 months ago)
- Topics: codec, fastcgi, http, java, netty, redis
- Language: Java
- Homepage:
- Size: 1.32 MB
- Stars: 10
- Watchers: 0
- 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.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.7.1
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.7.1')
// HTTP server
implementation 'com.github.fmjsjx:libnetty-http-server'
}
```#### Kotlin DSL
```kotlin
repositories {
mavenCentral()
}dependencies {
// BOM
implementation(platform("com.github.fmjsjx:libnetty-bom:3.7.1"))
// 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`.