Asity Save

Build universally reusable web fragments on the JVM

Project README

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.

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.

Open Source Agenda is not affiliated with "Asity" Project. README Source: cettia/asity
Stars
25
Open Issues
10
Last Commit
5 months ago
Repository
License

Open Source Agenda Badge

Open Source Agenda Rating