GithubHelp home page GithubHelp logo

gholdzhang / libnetty Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fmjsjx/libnetty

0.0 0.0 0.0 998 KB

A set of some useful libraries based on netty-4.1.x.

License: MIT License

Java 96.81% HTML 0.14% Kotlin 3.05%

libnetty's Introduction

LibNetty Project

A set of some useful libraries based on netty4.1.x.

Since version 2.0, All modules are compiled based on JDK11.

Add Dependencies

Add Maven Dependencies

pom.xml

...
  <dependencyManagement>
    <dependencies>
      ...
      <!-- BOM -->
      <dependency>
        <groupId>com.github.fmjsjx</groupId>
        <artifactId>libnetty-bom</artifactId>
        <version>2.4.3</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      ...
    </dependencies>
  </dependencyManagement>
...
  <dependencies>
    ...
    <!-- HTTP server -->
    <dependency>
      <groupId>com.github.fmjsjx</groupId>
      <artifactId>libnetty-http-server</artifactId>
    </dependency>
    ...
  </dependencies>
...

Add Gradle Dependencies

Groovy DSL

...
repositories {
    mavenCentral
}

dependencies {
    // BOM
    implementation platform('com.github.fmjsjx:libnetty-bom:2.4.3')
    // HTTP server
    implementation 'com.github.fmjsjx:libnetty-http-server'
    ...
}
...

Kotlin DSL

...
repositories {
    mavenCentral()
}

dependencies {
    // BOM
    implementation(platform("com.github.fmjsjx:libnetty-bom:2.4.3"))
    // 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 module provides codec components for Fast-CGI.

libnetty-handler

The libnetty-handler module provides additional features for netty-handler.

libnetty-http

The libnetty-http module provides additional utility functions for HTTP/1.x.

libnetty-http-client

The 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 module provides a simplified HTTP server framework.

libnetty-resp

The libnetty-resp module provides codec components for RESP(REdis Serialization Protocol).

libnetty-resp3

The libnetty-resp3 module provides codec components for RESP3 specification.

libnetty-transport

The libnetty-transport module provides additional features, such as auto-selection of java/native transport, for netty-transport.

libnetty's People

Contributors

edward3h avatar fmjsjx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.