Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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`.