Class ScxAppHttpRouter
java.lang.Object
cool.scx.http.routing.RouterImpl
cool.scx.app.ScxAppHttpRouter
- All Implemented Interfaces:
cool.scx.http.routing.Router,Consumer<cool.scx.http.ScxHttpServerRequest>
public final class ScxAppHttpRouter
extends cool.scx.http.routing.RouterImpl
ScxHttp 路由 内部使用 Router 进行具体路由的处理
- Version:
- 0.0.1
- Author:
- scx567888
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncool.scx.http.routing.handler.CorsHandlercool.scx.http.routing.RouteMethods inherited from class cool.scx.http.routing.RouterImpl
accept, addRoute, errorHandler, getRoutesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cool.scx.http.routing.Router
route, route, webSocketRoute, webSocketRoute
-
Constructor Details
-
ScxAppHttpRouter
-
-
Method Details
-
corsHandler
public cool.scx.http.routing.handler.CorsHandler corsHandler() -
corsHandlerRoute
public cool.scx.http.routing.Route corsHandlerRoute()
-