Add constructors and Javadoc comments to improve clarity and completeness across server components, including WebSocket and routing classes.
Auto Publish on Version Change / check-and-publish (push) Successful in 14s
Run Tests on Push and Pull Request / run-tests (push) Successful in 18s

This commit is contained in:
CodingPhoenixx
2026-05-29 09:00:31 +02:00
parent 5d6e8622bf
commit a7b65c031d
8 changed files with 79 additions and 1 deletions
@@ -66,6 +66,8 @@ public final class WebSocketSession {
}
/**
* Returns the unique identifier generated for this session.
*
* @return the unique session id
*/
public String id() {
@@ -73,6 +75,8 @@ public final class WebSocketSession {
}
/**
* Returns the path the connection was established on.
*
* @return the path the connection was established on
*/
public String path() {
@@ -90,6 +94,8 @@ public final class WebSocketSession {
}
/**
* Indicates whether the connection is still open.
*
* @return {@code true} if the underlying channel is still active (open)
*/
public boolean isOpen() {
@@ -111,6 +117,8 @@ public final class WebSocketSession {
}
/**
* Returns the underlying Netty channel for advanced, low-level use.
*
* @return the underlying Netty channel, for advanced use
*/
public Channel channel() {