Skip to content

Lightweight Java Web framework, powered by Netty power. Do whatever you want , the result is in your hands .

License

Notifications You must be signed in to change notification settings

Flmelody/windward

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windward

GitHub Maven Central

Light web framework for Java

windward

Quick start

Add maven dependency

<dependency>
    <groupId>org.flmelody</groupId>
    <artifactId>windward</artifactId>
    <version>1.5.1-RELEASE</version>
</dependency>

use jackson

<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-databind</artifactId>
    <version>2.16.1</version>
</dependency>

or gson

<dependency>
    <groupId>com.google.code.gson</groupId>
    <artifactId>gson</artifactId>
    <version>2.10.1</version>
</dependency>

Coding

public class Application {
    public static void main(String[] args) {
        // started at 8080 default
        Windward.setup().get("/", () -> "Hello World!").run();
    }
}

Everything is fine!😇

Benchmark

rps.png