Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/morgwai/servlet-utils
Automatic ping-pong for websocket connections
https://github.com/morgwai/servlet-utils
java java-websocket java-websocket-ping java-websocket-ping-pong java-websocket-round-trip-time java-websocket-rtt java-websocket-rtt-discovery websocket websocket-ping-pong websocket-round-trip-time websocket-rtt websocket-rtt-discovery
Last synced: about 1 month ago
JSON representation
Automatic ping-pong for websocket connections
- Host: GitHub
- URL: https://github.com/morgwai/servlet-utils
- Owner: morgwai
- License: apache-2.0
- Created: 2021-04-14T16:07:36.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-17T11:33:05.000Z (about 1 month ago)
- Last Synced: 2024-11-17T12:28:37.791Z (about 1 month ago)
- Topics: java, java-websocket, java-websocket-ping, java-websocket-ping-pong, java-websocket-round-trip-time, java-websocket-rtt, java-websocket-rtt-discovery, websocket, websocket-ping-pong, websocket-round-trip-time, websocket-rtt, websocket-rtt-discovery
- Language: Java
- Homepage:
- Size: 463 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Servlet utils
Some helpful classes when developing `Servlet`s and websocket `Endpoint`s.
Copyright 2021 Piotr Morgwai Kotarbinski, Licensed under the Apache License, Version 2.0.
**latest release: 5.1**
[javax flavor](https://search.maven.org/artifact/pl.morgwai.base/servlet-utils/5.1-javax/jar)
([javadoc](https://javadoc.io/doc/pl.morgwai.base/servlet-utils/5.1-javax)) - supports Websocket `1.1` API
[jakarta flavor](https://search.maven.org/artifact/pl.morgwai.base/servlet-utils/5.1-jakarta/jar)
([javadoc](https://javadoc.io/doc/pl.morgwai.base/servlet-utils/5.1-jakarta)) - supports Websocket `2.0.0` to at least `2.1.1` APIs## MAIN USER CLASSES
For now just 1 class:
### [WebsocketPingerService](https://javadoc.io/doc/pl.morgwai.base/servlet-utils/latest/pl/morgwai/base/servlet/utils/WebsocketPingerService.html)
Simple utility service that automatically pings and handles pongs from websocket connections. May be used both on a server and a client side. Supports round-trip time discovery.