forest

Simple RESTful Server

Лицензия

Лицензия

Группа

Группа

com.denghb
Идентификатор

Идентификатор

forest
Последняя версия

Последняя версия

1.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

forest
Simple RESTful Server
Ссылка на сайт

Ссылка на сайт

http://denghb.com
Система контроля версий

Система контроля версий

https://github.com/deng-hb/forest

Скачать forest

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.denghb/forest/ -->
<dependency>
    <groupId>com.denghb</groupId>
    <artifactId>forest</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.denghb/forest/
implementation 'com.denghb:forest:1.0.2'
// https://jarcasting.com/artifacts/com.denghb/forest/
implementation ("com.denghb:forest:1.0.2")
'com.denghb:forest:jar:1.0.2'
<dependency org="com.denghb" name="forest" rev="1.0.2">
  <artifact name="forest" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.denghb', module='forest', version='1.0.2')
)
libraryDependencies += "com.denghb" % "forest" % "1.0.2"
[com.denghb/forest "1.0.2"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
asm : asm jar 20041228.180559

test (3)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12
org.xerial : sqlite-jdbc jar 3.21.0.1
mysql : mysql-connector-java jar 5.1.21

Модули Проекта

Данный проект не имеет модулей.

Forest

forest

Simple RESTFul Server 这是一个新物种包内置 socket通讯、HTTP解析、类似Spring Boot的功能、简易JSON解析器、关系型数据库ORM等,使其能用最简洁的代码实现RESTful风格提供服务(暂仅供学习交流)

Example

Create Maven "maven-archetype-quickstart" Project

Add

<dependency>
    <groupId>com.denghb</groupId>
    <artifactId>forest</artifactId>
    <version>1.0.1</version>
</dependency>

Create App.java

import com.denghb.forest.Application;
import com.denghb.forest.annotation.GET;
import com.denghb.forest.annotation.RESTful;


@RESTful
public class App {

     public static void main(String[] args) {
         Application.run(App.class, args);
     }

    @GET("/")
    String home() {
        return "Hello World!";
    }
}

Main Run App.java Open Browser http://localhost:8888

👏 意见反馈 issues

QQ群:701075954

Версии библиотеки

Версия
1.0.2
1.0.1
1.0