程序包 cool.scx.mvc
类 ScxMvc
java.lang.Object
cool.scx.mvc.ScxMvc
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addExceptionHandler(int index, ScxHttpRouterExceptionHandler scxHttpRouterExceptionHandler) addExceptionHandler(ScxHttpRouterExceptionHandler scxHttpRouterExceptionHandler) addParameterHandler(int index, ScxMvcParameterHandler scxMappingMethodParameterHandler) addParameterHandler(ScxMvcParameterHandler scxMappingMethodParameterHandler) 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, org.springframework.beans.factory.BeanFactory beanFactory, List<Class<?>> classList) registerWebSocketRoutes(ScxWebSocketRouter router, org.springframework.beans.factory.BeanFactory beanFactory, List<Class<?>> classList) static io.vertx.ext.web.RoutingContext获取当前线程的 RoutingContext (只限在 scx mapping 注解的方法及其调用链上)setInterceptor(ScxMvcInterceptor scxMappingInterceptor)
-
构造器详细资料
-
ScxMvc
public ScxMvc() -
ScxMvc
-
-
方法详细资料
-
routingContext
public static io.vertx.ext.web.RoutingContext routingContext()获取当前线程的 RoutingContext (只限在 scx mapping 注解的方法及其调用链上)- 返回:
- 当前线程的 RoutingContext
-
registerHttpRoutes
-
registerWebSocketRoutes
public ScxMvc registerWebSocketRoutes(ScxWebSocketRouter router, org.springframework.beans.factory.BeanFactory beanFactory, List<Class<?>> classList) -
setInterceptor
-
addExceptionHandler
-
addParameterHandler
-
addReturnValueHandler
-
addExceptionHandler
public ScxMvc addExceptionHandler(int index, ScxHttpRouterExceptionHandler scxHttpRouterExceptionHandler) -
addParameterHandler
public ScxMvc addParameterHandler(int index, ScxMvcParameterHandler scxMappingMethodParameterHandler) -
addReturnValueHandler
-
templateHandler
-
findExceptionHandler
-
bindErrorHandler
-