Package cool.scx.core

Class ScxHttpRouter

java.lang.Object
io.vertx.ext.web.impl.RouterImpl
cool.scx.core.ScxHttpRouter
All Implemented Interfaces:
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 进行具体路由的处理
Version:
1.11.8
Author:
scx567888
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    Methods inherited from class 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

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface io.vertx.ext.web.Router

    getMetadata
  • Constructor Details

    • ScxHttpRouter

      public ScxHttpRouter(Scx scx)
  • Method Details

    • corsHandler

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

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

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

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