程序包 cool.scx.core

类 ScxHttpRouter

java.lang.Object
io.vertx.ext.web.impl.RouterImpl
cool.scx.core.ScxHttpRouter
所有已实现的接口:
io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>, io.vertx.ext.web.Router

public final class ScxHttpRouter extends io.vertx.ext.web.impl.RouterImpl
ScxHttp 路由 内部使用 vertxRouter 进行具体路由的处理
版本:
1.11.8
作者:
scx567888
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    io.vertx.ext.web.handler.BodyHandler
    a
    io.vertx.ext.web.Route
    a
    io.vertx.ext.web.handler.CorsHandler
    a
    io.vertx.ext.web.Route
    a

    从类继承的方法 io.vertx.ext.web.impl.RouterImpl

    allowForward, clear, connect, connect, connectWithRegex, delete, delete, deleteWithRegex, errorHandler, get, get, getAllowForward, getRoutes, getWithRegex, handle, handleContext, handleFailure, head, head, headWithRegex, metadata, modifiedHandler, mountSubRouter, options, options, optionsWithRegex, patch, patch, patchWithRegex, post, post, postWithRegex, put, put, putMetadata, putWithRegex, route, route, route, routeWithRegex, routeWithRegex, toString, trace, trace, traceWithRegex

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    从接口继承的方法 io.vertx.ext.web.Router

    getMetadata
  • 构造器详细资料

    • ScxHttpRouter

      public ScxHttpRouter(Scx scx)
  • 方法详细资料

    • corsHandler

      public io.vertx.ext.web.handler.CorsHandler corsHandler()
      a
      返回:
      a
    • bodyHandler

      public io.vertx.ext.web.handler.BodyHandler bodyHandler()
      a
      返回:
      a
    • corsHandlerRoute

      public io.vertx.ext.web.Route corsHandlerRoute()
      a
      返回:
      a
    • bodyHandlerRoute

      public io.vertx.ext.web.Route bodyHandlerRoute()
      a
      返回:
      a