Uses of Class
io.javalin.websocket.WsConfig
-
Packages that use WsConfig Package Description io.javalin io.javalin.apibuilder io.javalin.core -
-
Uses of WsConfig in io.javalin
Method parameters in io.javalin with type arguments of type WsConfig Modifier and Type Method Description JavalinJavalin. ws(String path, Consumer<WsConfig> ws)Adds a WebSocket handler on the specified path.JavalinJavalin. ws(String path, Consumer<WsConfig> ws, RouteRole... roles)Adds a WebSocket handler on the specified path with the specified roles.JavalinJavalin. wsAfter(String path, Consumer<WsConfig> wsConfig)Adds a WebSocket after handler for the specified path to the instance.JavalinJavalin. wsAfter(Consumer<WsConfig> wsConfig)Adds a WebSocket after handler for all routes in the instance.JavalinJavalin. wsBefore(String path, Consumer<WsConfig> wsConfig)Adds a WebSocket before handler for the specified path to the instance.JavalinJavalin. wsBefore(Consumer<WsConfig> wsConfig)Adds a WebSocket before handler for all routes in the instance. -
Uses of WsConfig in io.javalin.apibuilder
Method parameters in io.javalin.apibuilder with type arguments of type WsConfig Modifier and Type Method Description static voidApiBuilder. ws(String path, Consumer<WsConfig> ws)Adds a WebSocket handler on the specified path.static voidApiBuilder. ws(String path, Consumer<WsConfig> ws, RouteRole... roles)Adds a WebSocket handler with the given roles for the specified path.static voidApiBuilder. ws(Consumer<WsConfig> ws)Adds a WebSocket handler on the current path.static voidApiBuilder. ws(Consumer<WsConfig> ws, RouteRole... roles)Adds a WebSocket handler with the given roles for the current path.JavalinApiBuilder. wsAfter(String path, Consumer<WsConfig> wsConfig)Adds a WebSocket after handler for the specified path to theJavalininstance.JavalinApiBuilder. wsAfter(Consumer<WsConfig> wsConfig)Adds a WebSocket after handler for the current path to theJavalininstance.JavalinApiBuilder. wsBefore(String path, Consumer<WsConfig> wsConfig)Adds a WebSocket before handler for the specified path to theJavalininstance.JavalinApiBuilder. wsBefore(Consumer<WsConfig> wsConfig)Adds a WebSocket before handler for the current path to theJavalininstance. -
Uses of WsConfig in io.javalin.core
Fields in io.javalin.core declared as WsConfig Modifier and Type Field Description WsConfigJavalinConfig.Inner. wsLoggerMethod parameters in io.javalin.core with type arguments of type WsConfig Modifier and Type Method Description voidJavalinConfig. wsLogger(Consumer<WsConfig> ws)
-