Skip to content
This repository has been archived by the owner on Feb 22, 2021. It is now read-only.

1619khze/aquiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aquiver

Aquiver是一个基于Java8和Netty的MVC框架

Build Status Build Status Downloads

快速开始

通过 MavenGradle 创建项目,因为还未上传到Maven中心仓库,所以目前暂时通过clone代码进行安装

git clone https://github.com/AquiverV/apex.git

cd apex

mvn clean install

git clone https://github.com/AquiverV/aquiver.git

cd aquiver

mvn clean install

Maven 中使用:

<dependency>
    <groupId>org.aquiver</groupId>
    <artifactId>aquiver</artifactId>
    <version>1.0.3.BETA</version>
</dependency>

尝试

public class Main {
 public static void main(String[] args) {
   Aquiver.of().bind(9999).get("/", ctx -> {
     Object username = ctx.param("username");
     System.out.println(paramName);
   }).start(Main.class, args);
 }
}

在浏览器打开:http://localhost:9999/?username=1619kHz 查看效果

License

MIT

Copyright (c) 2020-present, Yi (Ever) Wang