Skip to content
项目

关于

Build universally reusable web fragments on the JVM

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Asity

Asity is an HTTP/WebSocket abstraction layer for various web frameworks on the JVM. Asity provides a tool-kit for writing a web fragment, a function that handles HTTP request-response exchange and WebSocket, and allows to create web applications by combining web fragments.

For example, with Asity you can write a web fragment that sends back incoming WebSocket messages as follows

Action<ServerWebSocket> action = ws -> ws.ontext(ws::send).onbinary(ws::send);

And plug it into Java API for WebSocket, Spring WebFlux, Spring MVC, Vert.x, Netty, Play Framework, Grizzly, and so on. Visit the Asity website for the full documentation.

Supported Frameworks

Asity supports the following frameworks. Each link points to a demo project which shows how to plug the example echo web fragment to each framework.

Links

Here are some useful links to learn more about Asity. If you are interested and would like to be more involved, feel free to join the mailing list and share your feedback.

Asity is an open source project licensed under Apache License 2.0 and driven by the community, for the community.

探索相关项目

加载中…