类 ScxWebSocketRouter

java.lang.Object
cool.scx.mvc.websocket.ScxWebSocketRouter
所有已实现的接口:
io.vertx.core.Handler<io.vertx.core.http.ServerWebSocket>

public final class ScxWebSocketRouter extends Object implements io.vertx.core.Handler<io.vertx.core.http.ServerWebSocket>
a
版本:
1.11.8
作者:
scx567888
  • 构造器详细资料

    • ScxWebSocketRouter

      public ScxWebSocketRouter()
  • 方法详细资料

    • addRoute

      public ScxWebSocketRouter addRoute(ScxWebSocketRoute scxRoute)
      添加一个路由
      参数:
      scxRoute - s
      返回:
      s
    • getRoutes

      public List<ScxWebSocketRoute> getRoutes()
      a
      返回:
      a
    • handle

      public void handle(io.vertx.core.http.ServerWebSocket serverWebSocket)
      指定者:
      handle 在接口中 io.vertx.core.Handler<io.vertx.core.http.ServerWebSocket>