Package io.javalin.websocket
Interface WsExceptionHandler<T extends Exception>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface WsExceptionHandler<T extends Exception>
A handler for use withJavalin.wsException(Class, WsExceptionHandler). Is triggered when an exception is thrown by a handler in aWsConfig.- See Also:
WsContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandle(T exception, io.javalin.websocket.WsContext ctx)
-
-
-
Method Detail
-
handle
void handle(@NotNull T exception, @NotNull io.javalin.websocket.WsContext ctx)
-
-