File tree Expand file tree Collapse file tree 3 files changed +9
-14
lines changed
src/main/java/info/unterrainer Expand file tree Collapse file tree 3 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 3030 <version >9.4.38.v20210224</version >
3131 <scope >compile</scope >
3232 </dependency >
33- <dependency >
34- <groupId >org.keycloak</groupId >
35- <artifactId >keycloak-admin-client</artifactId >
36- <version >26.0.4</version >
37- </dependency >
38- <dependency >
39- <groupId >info.unterrainer.commons</groupId >
40- <artifactId >http-server</artifactId >
41- <version >1.0.0</version >
42- </dependency >
4333 <dependency >
4434 <groupId >info.unterrainer.commons</groupId >
4535 <artifactId >oauth-token-manager</artifactId >
Original file line number Diff line number Diff line change 1+ package info .unterrainer .commons .websocketserver ;
2+
3+ public class Information {
4+ public static final String name = "Websocket-Server" ;
5+ public static final String buildTime = "2025-07-25T13:50:51Z" ;
6+ public static final String pomVersion = "1.0.0" ;
7+ }
Original file line number Diff line number Diff line change 33import java .util .HashSet ;
44import java .util .function .Consumer ;
55
6- import org .jetbrains .annotations .NotNull ;
7-
86import info .unterrainer .oauthtokenmanager .OauthTokenManager ;
97import io .javalin .Javalin ;
108import io .javalin .websocket .WsHandler ;
@@ -45,12 +43,12 @@ public WebsocketServer start(int port) {
4543 return this ;
4644 }
4745
48- public WebsocketServer ws (@ NotNull String path , @ NotNull Consumer <WsHandler > ws ) {
46+ public WebsocketServer ws (String path , Consumer <WsHandler > ws ) {
4947 wss .ws (path , ws , new HashSet <>());
5048 return this ;
5149 }
5250
53- public WebsocketServer wsOauth (@ NotNull String path , @ NotNull WsOauthHandlerBase handler ) {
51+ public WebsocketServer wsOauth (String path , WsOauthHandlerBase handler ) {
5452 if (!isOauthEnabled ) {
5553 throw new IllegalStateException ("Websocket server is not configured for OAuth2/JWT support." );
5654 }
You can’t perform that action at this time.
0 commit comments