程序包 cool.scx.mvc
类 ScxMvc
java.lang.Object
cool.scx.mvc.ScxMvc
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addExceptionHandler(int index, ScxHttpRouterExceptionHandler handler) addExceptionHandler(ScxHttpRouterExceptionHandler scxHttpRouterExceptionHandler) addParameterHandler(int index, ScxMvcParameterHandler handler) addReturnValueHandler(int index, ScxMvcReturnValueHandler returnValueHandler) addReturnValueHandler(ScxMvcReturnValueHandler returnValueHandler) bindErrorHandler(io.vertx.ext.web.Router vertxRouter) findExceptionHandler(Throwable throwable) registerHttpRoutes(io.vertx.ext.web.Router router, Object... objects) registerWebSocketRoutes(WebSocketRouter router, Object... objects) static io.vertx.ext.web.RoutingContext获取当前线程的 RoutingContext (只限在 scx mapping 注解的方法及其调用链上)setInterceptor(ScxMvcInterceptor newInterceptor)
-
构造器详细资料
-
ScxMvc
public ScxMvc() -
ScxMvc
-
-
方法详细资料
-
routingContext
public static io.vertx.ext.web.RoutingContext routingContext()获取当前线程的 RoutingContext (只限在 scx mapping 注解的方法及其调用链上)- 返回:
- 当前线程的 RoutingContext
-
registerHttpRoutes
-
registerWebSocketRoutes
-
setInterceptor
-
addExceptionHandler
-
addParameterHandler
-
addReturnValueHandler
-
addExceptionHandler
-
addParameterHandler
-
addReturnValueHandler
-
templateHandler
-
findExceptionHandler
-
bindErrorHandler
-