Package io.javalin.websocket
Class WsPathMatcher
-
- All Implemented Interfaces:
public final class WsPathMatcher
Performs match operations on WebSocket paths.
-
-
Constructor Summary
Constructors Constructor Description WsPathMatcher()
-
Method Summary
Modifier and Type Method Description final Unit
add(WsHandlerEntry entry)
final List<WsHandlerEntry>
allEntries()
final List<WsHandlerEntry>
findBeforeHandlerEntries(String path)
Returns all the before handlers that match the given path. final WsHandlerEntry
findEndpointHandlerEntry(String path)
Returns the first endpoint handler that match the given path, or null
.final List<WsHandlerEntry>
findAfterHandlerEntries(String path)
Returns all the after handlers that match the given path. -
-
Method Detail
-
add
final Unit add(WsHandlerEntry entry)
-
allEntries
final List<WsHandlerEntry> allEntries()
-
findBeforeHandlerEntries
final List<WsHandlerEntry> findBeforeHandlerEntries(String path)
Returns all the before handlers that match the given path.
-
findEndpointHandlerEntry
final WsHandlerEntry findEndpointHandlerEntry(String path)
Returns the first endpoint handler that match the given path, or
null
.
-
findAfterHandlerEntries
final List<WsHandlerEntry> findAfterHandlerEntries(String path)
Returns all the after handlers that match the given path.
-
-
-
-