类的使用
cool.scx.mvc.ScxMvc
使用ScxMvc的程序包
-
cool.scx.mvc中ScxMvc的使用
返回ScxMvc的cool.scx.mvc中的方法修饰符和类型方法说明ScxMvc.addExceptionHandler(int index, ScxHttpRouterExceptionHandler handler) ScxMvc.addExceptionHandler(ScxHttpRouterExceptionHandler scxHttpRouterExceptionHandler) ScxMvc.addParameterHandler(int index, ScxMvcParameterHandler handler) ScxMvc.addParameterHandler(ScxMvcParameterHandler handler) ScxMvc.addReturnValueHandler(int index, ScxMvcReturnValueHandler returnValueHandler) ScxMvc.addReturnValueHandler(ScxMvcReturnValueHandler returnValueHandler) ScxMvc.bindErrorHandler(io.vertx.ext.web.Router vertxRouter) ScxMvc.registerHttpRoutes(io.vertx.ext.web.Router router, Object... objects) ScxMvc.registerWebSocketRoutes(WebSocketRouter router, Object... objects) ScxMvc.setInterceptor(ScxMvcInterceptor newInterceptor) 参数类型为ScxMvc的cool.scx.mvc中的构造器限定符构造器说明ScxRouteRegistrar(ScxMvc scxMvc, Object... objects) 扫描所有被 ScxMapping注解标记的方法 并封装为 ScxMappingHandler.