索引
All Classes and Interfaces|所有程序包|序列化表格
A
- accept(RoutingContext) - 类中的方法 cool.scx.mvc.vo.Download
- accept(RoutingContext) - 类中的方法 cool.scx.mvc.vo.Image
- accept(RoutingContext) - 类中的方法 cool.scx.mvc.vo.Json
- accept(RoutingContext) - 类中的方法 cool.scx.mvc.vo.Redirections
- accept(RoutingContext) - 类中的方法 cool.scx.mvc.vo.Result
- accept(RoutingContext) - 类中的方法 cool.scx.mvc.vo.Xml
- accept(RoutingContext, ScxTemplateHandler) - 类中的方法 cool.scx.mvc.vo.Html
- add(String, Object) - 类中的方法 cool.scx.mvc.vo.Html
-
add.
- addDirective(BaseTemplateDirective) - 类中的方法 cool.scx.mvc.ScxTemplateHandler
- addExceptionHandler(int, ScxHttpRouterExceptionHandler) - 类中的方法 cool.scx.mvc.ScxMvc
- addExceptionHandler(ScxHttpRouterExceptionHandler) - 类中的方法 cool.scx.mvc.ScxMvc
- addParameterHandler(int, ScxMvcParameterHandler) - 类中的方法 cool.scx.mvc.ScxMvc
- addParameterHandler(ScxMvcParameterHandler) - 类中的方法 cool.scx.mvc.ScxMvc
- addReturnValueHandler(int, ScxMvcReturnValueHandler) - 类中的方法 cool.scx.mvc.ScxMvc
- addReturnValueHandler(ScxMvcReturnValueHandler) - 类中的方法 cool.scx.mvc.ScxMvc
- addRoute(WebSocketRoute) - 类中的方法 cool.scx.mvc.websocket.WebSocketRouter
-
添加一个路由
B
- BadRequestException - cool.scx.mvc.exception中的异常错误
-
请求错误异常
- BadRequestException() - 异常错误的构造器 cool.scx.mvc.exception.BadRequestException
-
Constructor for BadRequestException.
- BadRequestException(String) - 异常错误的构造器 cool.scx.mvc.exception.BadRequestException
-
Constructor for BadRequestException.
- BadRequestException(String, Throwable) - 异常错误的构造器 cool.scx.mvc.exception.BadRequestException
-
a
- BadRequestException(Throwable) - 异常错误的构造器 cool.scx.mvc.exception.BadRequestException
-
Constructor for BadRequestException.
- BaseTemplateDirective - cool.scx.mvc.base中的接口
-
Freemarker 标签父类
- BaseVo - cool.scx.mvc.vo中的接口
-
BaseVo 接口 所有需要向前台返回数据都需要继承
- BaseVoReturnValueHandler - cool.scx.mvc.return_value_handler中的类
-
a
- BaseVoReturnValueHandler() - 类的构造器 cool.scx.mvc.return_value_handler.BaseVoReturnValueHandler
- baseWebSocketHandler() - 类中的方法 cool.scx.mvc.websocket.WebSocketRoute
-
baseWebSocketHandler.
- BaseWebSocketHandler - cool.scx.mvc.base中的接口
-
BaseWebSocketHandler 基本接口 请与
ScxWebSocketRoute配合使用 - bindErrorHandler(Router) - 类中的方法 cool.scx.mvc.ScxMvc
- body - 类中的变量 cool.scx.mvc.vo.Result.ResultOfData
- body - 类中的变量 cool.scx.mvc.vo.Result.ResultOfMap
- body() - 类中的方法 cool.scx.mvc.ScxMvcRequestInfo
- body() - 类中的方法 cool.scx.mvc.vo.Result
- body() - 类中的方法 cool.scx.mvc.vo.Result.ResultOfData
- body() - 类中的方法 cool.scx.mvc.vo.Result.ResultOfMap
- buffer() - 类中的方法 cool.scx.mvc.type.UploadedEntity
-
a
- bytes - 类中的变量 cool.scx.mvc.vo.Download
-
字节数组
C
- canHandle(Object) - 类中的方法 cool.scx.mvc.return_value_handler.BaseVoReturnValueHandler
-
a
- canHandle(Object) - 类中的方法 cool.scx.mvc.return_value_handler.HtmlVoReturnValueHandler
- canHandle(Object) - 类中的方法 cool.scx.mvc.return_value_handler.LastReturnValueHandler
-
a
- canHandle(Object) - 类中的方法 cool.scx.mvc.return_value_handler.NullReturnValueHandler
-
a
- canHandle(Object) - 类中的方法 cool.scx.mvc.return_value_handler.StringReturnValueHandler
-
a
- canHandle(Object) - 接口中的方法 cool.scx.mvc.ScxMvcReturnValueHandler
-
a
- canHandle(Parameter) - 类中的方法 cool.scx.mvc.parameter_handler.FromBodyParameterHandler
-
判断是否可以处理这个参数类型
- canHandle(Parameter) - 类中的方法 cool.scx.mvc.parameter_handler.FromPathParameterHandler
-
判断是否可以处理这个参数类型
- canHandle(Parameter) - 类中的方法 cool.scx.mvc.parameter_handler.FromQueryParameterHandler
-
判断是否可以处理这个参数类型
- canHandle(Parameter) - 类中的方法 cool.scx.mvc.parameter_handler.LastParameterHandler
-
判断是否可以处理这个参数类型
- canHandle(Parameter) - 类中的方法 cool.scx.mvc.parameter_handler.RoutingContextParameterHandler
-
判断是否可以处理这个参数类型
- canHandle(Parameter) - 类中的方法 cool.scx.mvc.parameter_handler.UploadedEntityParameterHandler
-
判断是否可以处理这个参数类型
- canHandle(Parameter) - 接口中的方法 cool.scx.mvc.ScxMvcParameterHandler
-
判断是否可以处理这个参数类型
- canHandle(Throwable) - 类中的方法 cool.scx.mvc.exception_handler.LastExceptionHandler
-
判断是否可以处理这个异常
- canHandle(Throwable) - 类中的方法 cool.scx.mvc.exception_handler.ScxHttpExceptionHandler
-
判断是否可以处理这个异常
- canHandle(Throwable) - 接口中的方法 cool.scx.mvc.ScxHttpRouterExceptionHandler
-
判断是否可以处理这个异常
- charset() - 类中的方法 cool.scx.mvc.type.UploadedEntity
-
a
- clazz - 类中的变量 cool.scx.mvc.ScxRouteHandler
-
clazz 对象
- consumes - 类中的变量 cool.scx.mvc.ScxRouteHandler
- consumes() - annotation interface 中的元素 cool.scx.mvc.annotation.ScxRoute
- contentDisposition - 类中的变量 cool.scx.mvc.vo.Download
-
a
- contentType - 类中的变量 cool.scx.mvc.vo.Download
-
a
- contentType() - 类中的方法 cool.scx.mvc.ScxMvcRequestInfo
- contentType() - 类中的方法 cool.scx.mvc.type.UploadedEntity
-
a
- cool.scx.mvc - 程序包 cool.scx.mvc
- cool.scx.mvc.annotation - 程序包 cool.scx.mvc.annotation
- cool.scx.mvc.base - 程序包 cool.scx.mvc.base
- cool.scx.mvc.exception - 程序包 cool.scx.mvc.exception
- cool.scx.mvc.exception_handler - 程序包 cool.scx.mvc.exception_handler
- cool.scx.mvc.interceptor - 程序包 cool.scx.mvc.interceptor
- cool.scx.mvc.parameter_handler - 程序包 cool.scx.mvc.parameter_handler
- cool.scx.mvc.parameter_handler.exception - 程序包 cool.scx.mvc.parameter_handler.exception
- cool.scx.mvc.return_value_handler - 程序包 cool.scx.mvc.return_value_handler
- cool.scx.mvc.type - 程序包 cool.scx.mvc.type
- cool.scx.mvc.vo - 程序包 cool.scx.mvc.vo
- cool.scx.mvc.websocket - 程序包 cool.scx.mvc.websocket
- createScxWebSocketRoute(BeanFactory, Class<? extends BaseWebSocketHandler>) - 类中的静态方法 cool.scx.mvc.ScxWebSocketRouteRegistrar
D
- DefaultInterceptorImpl - cool.scx.mvc.interceptor中的类
-
默认的拦截器实现
- DefaultInterceptorImpl() - 类的构造器 cool.scx.mvc.interceptor.DefaultInterceptorImpl
- directiveName() - 接口中的方法 cool.scx.mvc.base.BaseTemplateDirective
-
获取自定义指令的名称
- Download - cool.scx.mvc.vo中的类
-
文件下载 vo
E
- execute(Environment, Map, TemplateModel[], TemplateDirectiveBody) - 接口中的方法 cool.scx.mvc.base.BaseTemplateDirective
F
- fail() - 类中的静态方法 cool.scx.mvc.vo.Result
-
操作失败
- fail(String) - 类中的静态方法 cool.scx.mvc.vo.Result
-
返回操作失败的 Json 带有消息
- fileName() - 类中的方法 cool.scx.mvc.type.UploadedEntity
-
a
- fillContentType(String, HttpServerResponse) - 接口中的静态方法 cool.scx.mvc.vo.BaseVo
-
填充 ContentType a
- fillHtmlContentType(HttpServerResponse) - 接口中的静态方法 cool.scx.mvc.vo.BaseVo
-
a
- fillJsonContentType(HttpServerResponse) - 接口中的静态方法 cool.scx.mvc.vo.BaseVo
-
填充 CONTENT_TYPE 为 json 格式
- fillTextPlainContentType(HttpServerResponse) - 接口中的静态方法 cool.scx.mvc.vo.BaseVo
-
a
- fillXmlContentType(HttpServerResponse) - 接口中的静态方法 cool.scx.mvc.vo.BaseVo
-
填充 CONTENT_TYPE 为 xml 格式
- filterClass(List<Class<?>>) - 类中的静态方法 cool.scx.mvc.ScxWebSocketRouteRegistrar
- findExceptionHandler(Throwable) - 类中的方法 cool.scx.mvc.ScxMvc
- ForbiddenException - cool.scx.mvc.exception中的异常错误
-
登录了但是没权限
- ForbiddenException() - 异常错误的构造器 cool.scx.mvc.exception.ForbiddenException
-
a
- ForbiddenException(String) - 异常错误的构造器 cool.scx.mvc.exception.ForbiddenException
-
a
- ForbiddenException(String, Throwable) - 异常错误的构造器 cool.scx.mvc.exception.ForbiddenException
-
a
- ForbiddenException(Throwable) - 异常错误的构造器 cool.scx.mvc.exception.ForbiddenException
-
a
- FORM - enum class 中的枚举常量 cool.scx.mvc.ScxMvcRequestInfo.ContentType
- formatMapParams(Map<?, ?>) - 接口中的静态方法 cool.scx.mvc.base.BaseTemplateDirective
-
格式化参数
- FromBody - cool.scx.mvc.annotation中的Annotation Interface
-
从 body 获取参数
- FromBodyParameterHandler - cool.scx.mvc.parameter_handler中的类
-
a
- FromBodyParameterHandler() - 类的构造器 cool.scx.mvc.parameter_handler.FromBodyParameterHandler
- FromPath - cool.scx.mvc.annotation中的Annotation Interface
-
从路径 (Path) 参数
- FromPathParameterHandler - cool.scx.mvc.parameter_handler中的类
-
a
- FromPathParameterHandler() - 类的构造器 cool.scx.mvc.parameter_handler.FromPathParameterHandler
- FromQuery - cool.scx.mvc.annotation中的Annotation Interface
-
从 query 获取参数
- FromQueryParameterHandler - cool.scx.mvc.parameter_handler中的类
-
a
- FromQueryParameterHandler() - 类的构造器 cool.scx.mvc.parameter_handler.FromQueryParameterHandler
- FromUpload - cool.scx.mvc.annotation中的Annotation Interface
-
从上传中获取参数 (注意 : 必须标注在
UploadedEntity类型的参数上)
G
- getDownloadContentDisposition(String) - 接口中的静态方法 cool.scx.mvc.vo.BaseVo
-
todo 这是一个 hack URLEncoder.encode 针对 ' ' (空格) 会编码为 '+' , 而这里我们需要的是编码为 %20
- getFromJsonNode(String, JsonNode, boolean) - 类中的静态方法 cool.scx.mvc.ScxMvcHelper
-
getFromJsonNode.
- getFromMap(String, MultiMap, boolean, JavaType) - 类中的静态方法 cool.scx.mvc.ScxMvcHelper
-
getFromMap.
- getFromMap(String, Map<String, String>, boolean) - 类中的静态方法 cool.scx.mvc.ScxMvcHelper
-
getFromMap.
- getRoutes() - 类中的方法 cool.scx.mvc.websocket.WebSocketRouter
-
a
- getTemplateByPath(String) - 类中的方法 cool.scx.mvc.ScxTemplateHandler
-
getTemplateByPath.
- getValueFromBody(String, boolean, boolean, JavaType, ScxMvcRequestInfo) - 类中的静态方法 cool.scx.mvc.parameter_handler.FromBodyParameterHandler
-
a
- getValueFromPath(String, boolean, boolean, JavaType, ScxMvcRequestInfo) - 类中的静态方法 cool.scx.mvc.parameter_handler.FromPathParameterHandler
-
a
- getValueFromQuery(String, boolean, boolean, JavaType, ScxMvcRequestInfo) - 类中的静态方法 cool.scx.mvc.parameter_handler.FromQueryParameterHandler
-
a
H
- handle(ServerWebSocket) - 类中的方法 cool.scx.mvc.websocket.WebSocketRouter
- handle(RoutingContext) - 类中的方法 cool.scx.mvc.ScxRouteHandler
- handle(Object, RoutingContext) - 类中的方法 cool.scx.mvc.return_value_handler.BaseVoReturnValueHandler
-
将结果处理并返回
- handle(Object, RoutingContext) - 类中的方法 cool.scx.mvc.return_value_handler.HtmlVoReturnValueHandler
- handle(Object, RoutingContext) - 类中的方法 cool.scx.mvc.return_value_handler.LastReturnValueHandler
-
将结果处理并返回
- handle(Object, RoutingContext) - 类中的方法 cool.scx.mvc.return_value_handler.NullReturnValueHandler
-
将结果处理并返回
- handle(Object, RoutingContext) - 类中的方法 cool.scx.mvc.return_value_handler.StringReturnValueHandler
-
将结果处理并返回
- handle(Object, RoutingContext) - 接口中的方法 cool.scx.mvc.ScxMvcReturnValueHandler
-
将结果处理并返回
- handle(Parameter, ScxMvcRequestInfo) - 类中的方法 cool.scx.mvc.parameter_handler.FromBodyParameterHandler
-
将结果处理并返回
- handle(Parameter, ScxMvcRequestInfo) - 类中的方法 cool.scx.mvc.parameter_handler.FromPathParameterHandler
-
将结果处理并返回
- handle(Parameter, ScxMvcRequestInfo) - 类中的方法 cool.scx.mvc.parameter_handler.FromQueryParameterHandler
-
将结果处理并返回
- handle(Parameter, ScxMvcRequestInfo) - 类中的方法 cool.scx.mvc.parameter_handler.LastParameterHandler
-
将结果处理并返回
- handle(Parameter, ScxMvcRequestInfo) - 类中的方法 cool.scx.mvc.parameter_handler.RoutingContextParameterHandler
-
将结果处理并返回
- handle(Parameter, ScxMvcRequestInfo) - 类中的方法 cool.scx.mvc.parameter_handler.UploadedEntityParameterHandler
-
将结果处理并返回
- handle(Parameter, ScxMvcRequestInfo) - 接口中的方法 cool.scx.mvc.ScxMvcParameterHandler
-
将结果处理并返回
- handle(Throwable, RoutingContext) - 类中的方法 cool.scx.mvc.exception_handler.LastExceptionHandler
-
将结果处理并返回
- handle(Throwable, RoutingContext) - 类中的方法 cool.scx.mvc.exception_handler.ScxHttpExceptionHandler
-
将结果处理并返回
- handle(Throwable, RoutingContext) - 接口中的方法 cool.scx.mvc.ScxHttpRouterExceptionHandler
-
将结果处理并返回
- handle(Map<String, Object>) - 接口中的方法 cool.scx.mvc.base.BaseTemplateDirective
-
委派下去让子类实现,并且返回加工后的返回值 可返回业务对象,或者集合
- handleScxHttpException(ScxHttpException, RoutingContext) - 类中的方法 cool.scx.mvc.exception_handler.ScxHttpExceptionHandler
-
a
- Html - cool.scx.mvc.vo中的类
-
html 渲染类
- HtmlVoReturnValueHandler - cool.scx.mvc.return_value_handler中的类
-
用于渲染 freemarker
- HtmlVoReturnValueHandler(ScxTemplateHandler) - 类的构造器 cool.scx.mvc.return_value_handler.HtmlVoReturnValueHandler
- httpMethods - 类中的变量 cool.scx.mvc.ScxRouteHandler
-
httpMethods 由 注解上的 method 属性转换而来 并采用 set 进行去重
I
- ignoreParentUrl() - annotation interface 中的元素 cool.scx.mvc.annotation.ScxRoute
-
是否忽略类级别上的 ScxRoute 注解所定义的顶级 url
- Image - cool.scx.mvc.vo中的类
-
Image class.
- Image(File) - 类的构造器 cool.scx.mvc.vo.Image
-
用来校验 file 是否可用
- imageHandler(RoutingContext) - 类中的方法 cool.scx.mvc.vo.Image
-
a
- initBody(RoutingContext, ScxMvcRequestInfo.ContentType) - 类中的静态方法 cool.scx.mvc.ScxMvcRequestInfo
-
根据不同的 ContentType 以不同的逻辑初始化 body
- initContentType(RoutingContext) - 类中的静态方法 cool.scx.mvc.ScxMvcRequestInfo
-
initContentType.
- inputStream - 类中的变量 cool.scx.mvc.vo.Download
-
输入流
- instance - 类中的变量 cool.scx.mvc.ScxRouteHandler
-
实例
- InternalServerErrorException - cool.scx.mvc.exception中的异常错误
-
服务器内部异常
- InternalServerErrorException() - 异常错误的构造器 cool.scx.mvc.exception.InternalServerErrorException
-
a
- InternalServerErrorException(String) - 异常错误的构造器 cool.scx.mvc.exception.InternalServerErrorException
-
a
- InternalServerErrorException(String, Throwable) - 异常错误的构造器 cool.scx.mvc.exception.InternalServerErrorException
-
a
- InternalServerErrorException(Throwable) - 异常错误的构造器 cool.scx.mvc.exception.InternalServerErrorException
-
a
- isScxWebSocketRouteClass(Class<?>) - 类中的静态方法 cool.scx.mvc.ScxWebSocketRouteRegistrar
- isVoid - 类中的变量 cool.scx.mvc.ScxRouteHandler
-
返回值类型为空
J
- Json - cool.scx.mvc.vo中的类
-
Json 格式的返回值
- JSON - enum class 中的枚举常量 cool.scx.mvc.ScxMvcRequestInfo.ContentType
L
- LastExceptionHandler - cool.scx.mvc.exception_handler中的类
-
a
- LastExceptionHandler(boolean) - 类的构造器 cool.scx.mvc.exception_handler.LastExceptionHandler
- LastParameterHandler - cool.scx.mvc.parameter_handler中的类
-
a
- LastParameterHandler() - 类的构造器 cool.scx.mvc.parameter_handler.LastParameterHandler
- LastReturnValueHandler - cool.scx.mvc.return_value_handler中的类
-
a
- LastReturnValueHandler() - 类的构造器 cool.scx.mvc.return_value_handler.LastReturnValueHandler
M
- matches(ServerWebSocket) - 类中的方法 cool.scx.mvc.websocket.WebSocketRoute
-
a
- merge() - annotation interface 中的元素 cool.scx.mvc.annotation.FromPath
-
聚合参数
- merge() - annotation interface 中的元素 cool.scx.mvc.annotation.FromQuery
-
将 查询参数聚合
- method - 类中的变量 cool.scx.mvc.ScxRouteHandler
-
方法
- MethodNotAllowedException - cool.scx.mvc.exception中的异常错误
-
方法不被允许
- MethodNotAllowedException() - 异常错误的构造器 cool.scx.mvc.exception.MethodNotAllowedException
-
a
- MethodNotAllowedException(String) - 异常错误的构造器 cool.scx.mvc.exception.MethodNotAllowedException
-
a
- MethodNotAllowedException(String, Throwable) - 异常错误的构造器 cool.scx.mvc.exception.MethodNotAllowedException
-
a
- MethodNotAllowedException(Throwable) - 异常错误的构造器 cool.scx.mvc.exception.MethodNotAllowedException
-
a
- methods() - annotation interface 中的元素 cool.scx.mvc.annotation.ScxRoute
N
- name() - 类中的方法 cool.scx.mvc.type.UploadedEntity
-
a
- next() - 类中的方法 cool.scx.mvc.websocket.OnCloseRoutingContext
-
next.
- next() - 类中的方法 cool.scx.mvc.websocket.OnExceptionRoutingContext
-
next.
- next() - 类中的方法 cool.scx.mvc.websocket.OnFrameRoutingContext
-
next.
- next() - 类中的方法 cool.scx.mvc.websocket.OnOpenRoutingContext
-
next.
- NotFoundException - cool.scx.mvc.exception中的异常错误
-
404 not found 未找到异常
- NotFoundException() - 异常错误的构造器 cool.scx.mvc.exception.NotFoundException
-
a
- NotFoundException(String) - 异常错误的构造器 cool.scx.mvc.exception.NotFoundException
-
a
- NotFoundException(String, Throwable) - 异常错误的构造器 cool.scx.mvc.exception.NotFoundException
-
a
- NotFoundException(Throwable) - 异常错误的构造器 cool.scx.mvc.exception.NotFoundException
-
a
- NULL - enum class 中的枚举常量 cool.scx.mvc.ScxMvcRequestInfo.ContentType
- NullReturnValueHandler - cool.scx.mvc.return_value_handler中的类
-
a
- NullReturnValueHandler() - 类的构造器 cool.scx.mvc.return_value_handler.NullReturnValueHandler
O
- of(byte[], RawType) - 类中的静态方法 cool.scx.mvc.vo.Raw
-
a
- of(byte[], String) - 类中的静态方法 cool.scx.mvc.vo.Download
-
a
- of(File) - 类中的静态方法 cool.scx.mvc.vo.Image
-
a
- of(File, Integer, Integer, Position) - 类中的静态方法 cool.scx.mvc.vo.Image
-
a
- of(InputStream, RawType) - 类中的静态方法 cool.scx.mvc.vo.Raw
-
a
- of(InputStream, String) - 类中的静态方法 cool.scx.mvc.vo.Download
-
a
- of(Object) - 类中的静态方法 cool.scx.mvc.vo.Json
-
a
- of(Object) - 类中的静态方法 cool.scx.mvc.vo.Xml
-
a
- of(String) - 类中的静态方法 cool.scx.mvc.vo.Html
-
ofTemplate.
- of(Path) - 类中的静态方法 cool.scx.mvc.vo.Download
-
a
- of(Path) - 类中的静态方法 cool.scx.mvc.vo.Raw
-
a
- of(Path, String) - 类中的静态方法 cool.scx.mvc.vo.Download
-
a
- ofPermanent(String) - 类中的静态方法 cool.scx.mvc.vo.Redirections
-
永久重定向
- ofString(String) - 类中的静态方法 cool.scx.mvc.vo.Html
-
ofString.
- ofTemporary(String) - 类中的静态方法 cool.scx.mvc.vo.Redirections
-
临时重定向
- ok() - 类中的静态方法 cool.scx.mvc.vo.Result
-
操作成功
- ok(Object) - 类中的静态方法 cool.scx.mvc.vo.Result
- onBinaryMessage(Buffer, WebSocketFrame, ServerWebSocket, OnFrameRoutingContext) - 接口中的方法 cool.scx.mvc.base.BaseWebSocketHandler
-
发送 二进制数据 时
- onClose(ServerWebSocket, OnCloseRoutingContext) - 接口中的方法 cool.scx.mvc.base.BaseWebSocketHandler
-
连接 关闭 时
- OnCloseRoutingContext - cool.scx.mvc.websocket中的类
-
OnCloseRoutingContext class.
- onError(Throwable, ServerWebSocket, OnExceptionRoutingContext) - 接口中的方法 cool.scx.mvc.base.BaseWebSocketHandler
-
连接 错误 时
- OnExceptionRoutingContext - cool.scx.mvc.websocket中的类
-
OnExceptionRoutingContext class.
- OnFrameRoutingContext - cool.scx.mvc.websocket中的类
-
OnFrameRoutingContext class.
- onOpen(ServerWebSocket, OnOpenRoutingContext) - 接口中的方法 cool.scx.mvc.base.BaseWebSocketHandler
-
连接 打开 时
- OnOpenRoutingContext - cool.scx.mvc.websocket中的类
-
OnOpenRoutingContext class.
- onTextMessage(String, WebSocketFrame, ServerWebSocket, OnFrameRoutingContext) - 接口中的方法 cool.scx.mvc.base.BaseWebSocketHandler
-
发送 文本数据 时
- order() - annotation interface 中的元素 cool.scx.mvc.annotation.ScxRoute
-
排序
- order() - annotation interface 中的元素 cool.scx.mvc.annotation.ScxWebSocketRoute
-
排序
- order() - 类中的方法 cool.scx.mvc.ScxRouteHandler
-
order.
- order() - 类中的方法 cool.scx.mvc.websocket.WebSocketRoute
-
order.
- originalUrl - 类中的变量 cool.scx.mvc.ScxRouteHandler
-
原始的 url 处理规则为 {类注解值}/{方法注解值} 并采取简单的去除重复 "/"
- OTHER - enum class 中的枚举常量 cool.scx.mvc.ScxMvcRequestInfo.ContentType
P
- ParamConvertException - cool.scx.mvc.parameter_handler.exception中的异常错误
-
参数转换异常
- ParamConvertException(String) - 异常错误的构造器 cool.scx.mvc.parameter_handler.exception.ParamConvertException
-
a
- parameters - 类中的变量 cool.scx.mvc.ScxRouteHandler
-
方法参数
- path - 类中的变量 cool.scx.mvc.vo.Download
-
路径
- path() - 类中的方法 cool.scx.mvc.websocket.WebSocketRoute
-
path.
- postHandle(RoutingContext, ScxRouteHandler, Object) - 接口中的方法 cool.scx.mvc.ScxMvcInterceptor
-
注意 : 若处理器中的方法 返回值为 void (即无返回值) 此拦截器则不会执行 后置处理器 在 ScxMappingHandler 所对应的方法执行完成之后 但是并没有将结果响应回客户端之前调用 可再次对响应的数据进行修改
- preHandle(RoutingContext, ScxRouteHandler) - 接口中的方法 cool.scx.mvc.ScxMvcInterceptor
-
前置处理器 在 ScxMappingHandler 所对应的方法执行前调用 用来进行权限验证等操作 若要中断执行请在 handler 中抛出异常 ,异常会有 ScxMappingHandler 的异常处理器进行处理
- produces - 类中的变量 cool.scx.mvc.ScxRouteHandler
- produces() - annotation interface 中的元素 cool.scx.mvc.annotation.ScxRoute
- put(String, Object) - 类中的方法 cool.scx.mvc.vo.Result.ResultOfMap
-
设置操作返回的数据,数据使用自定义的key存储
R
- Raw - cool.scx.mvc.vo中的类
-
原始文件 但不需要下载的 vo 比如 pdf 之类
- readJson(String) - 类中的静态方法 cool.scx.mvc.ScxMvcRequestInfo
-
readJson.
- readValue(JsonNode, JavaType) - 类中的静态方法 cool.scx.mvc.ScxMvcHelper
-
a
- readXml(String) - 类中的静态方法 cool.scx.mvc.ScxMvcRequestInfo
-
readXml.
- Redirections - cool.scx.mvc.vo中的类
-
重定向
- registerHttpRoutes(Router, BeanFactory, List<Class<?>>) - 类中的方法 cool.scx.mvc.ScxMvc
- registerRoute(WebSocketRouter) - 类中的方法 cool.scx.mvc.ScxWebSocketRouteRegistrar
- registerWebSocketRoutes(WebSocketRouter, BeanFactory, List<Class<?>>) - 类中的方法 cool.scx.mvc.ScxMvc
- required() - annotation interface 中的元素 cool.scx.mvc.annotation.FromBody
-
是否必填
- required() - annotation interface 中的元素 cool.scx.mvc.annotation.FromPath
-
是否必填
- required() - annotation interface 中的元素 cool.scx.mvc.annotation.FromQuery
-
是否必填
- required() - annotation interface 中的元素 cool.scx.mvc.annotation.FromUpload
-
是否必填
- RequiredParamEmptyException - cool.scx.mvc.parameter_handler.exception中的异常错误
-
必须参数缺失异常
- RequiredParamEmptyException(String) - 异常错误的构造器 cool.scx.mvc.parameter_handler.exception.RequiredParamEmptyException
-
a
- responseCanUse(RoutingContext) - 类中的静态方法 cool.scx.mvc.ScxMvcHelper
- Result - cool.scx.mvc.vo中的类
-
Json 格式的返回值 (注意和
Json区分, 此格式适合传递单个参数) - Result() - 类的构造器 cool.scx.mvc.vo.Result
- Result.ResultOfData - cool.scx.mvc.vo中的类
- Result.ResultOfMap - cool.scx.mvc.vo中的类
- ResultOfData(String, Object) - 类的构造器 cool.scx.mvc.vo.Result.ResultOfData
- routingContext() - 类中的静态方法 cool.scx.mvc.ScxMvc
-
获取当前线程的 RoutingContext (只限在 scx mapping 注解的方法及其调用链上)
- routingContext() - 类中的方法 cool.scx.mvc.ScxMvcRequestInfo
- RoutingContextParameterHandler - cool.scx.mvc.parameter_handler中的类
-
类型为 RoutingContext 的参数处理器
- RoutingContextParameterHandler() - 类的构造器 cool.scx.mvc.parameter_handler.RoutingContextParameterHandler
S
- ScxHttpException - cool.scx.mvc.exception中的异常错误
-
在
ScxRoute注解标记的方法中抛出此异常会被ScxRouteHandler进行截获并进行处理 - ScxHttpException(int, String) - 异常错误的构造器 cool.scx.mvc.exception.ScxHttpException
-
a
- ScxHttpException(int, String, String) - 异常错误的构造器 cool.scx.mvc.exception.ScxHttpException
-
a
- ScxHttpException(int, String, String, Throwable) - 异常错误的构造器 cool.scx.mvc.exception.ScxHttpException
-
a
- ScxHttpException(int, String, Throwable) - 异常错误的构造器 cool.scx.mvc.exception.ScxHttpException
-
a
- ScxHttpExceptionHandler - cool.scx.mvc.exception_handler中的类
-
a
- ScxHttpExceptionHandler(boolean) - 类的构造器 cool.scx.mvc.exception_handler.ScxHttpExceptionHandler
- ScxHttpRouterExceptionHandler - cool.scx.mvc中的接口
-
路由异常处理器
- ScxMvc - cool.scx.mvc中的类
- ScxMvc() - 类的构造器 cool.scx.mvc.ScxMvc
- ScxMvc(ScxMvcOptions) - 类的构造器 cool.scx.mvc.ScxMvc
- ScxMvcHelper - cool.scx.mvc中的类
- ScxMvcHelper() - 类的构造器 cool.scx.mvc.ScxMvcHelper
- ScxMvcInterceptor - cool.scx.mvc中的接口
-
拦截器
- ScxMvcOptions - cool.scx.mvc中的类
- ScxMvcOptions() - 类的构造器 cool.scx.mvc.ScxMvcOptions
- ScxMvcParameterHandler - cool.scx.mvc中的接口
-
a
- ScxMvcRequestInfo - cool.scx.mvc中的类
-
封装 RoutingContext 的参数 防止反复取值造成性能损失
- ScxMvcRequestInfo(RoutingContext) - 类的构造器 cool.scx.mvc.ScxMvcRequestInfo
- ScxMvcRequestInfo.ContentType - cool.scx.mvc中的Enum Class
- ScxMvcReturnValueHandler - cool.scx.mvc中的接口
-
a
- ScxRoute - cool.scx.mvc.annotation中的Annotation Interface
-
路由注解
- ScxRouteHandler - cool.scx.mvc中的类
-
ScxRouteHandler class.
- ScxTemplateHandler - cool.scx.mvc中的类
-
模板处理器
- ScxTemplateHandler(Path) - 类的构造器 cool.scx.mvc.ScxTemplateHandler
- ScxWebSocketRoute - cool.scx.mvc.annotation中的Annotation Interface
-
ScxWebSocketRoute websocket 映射 设置此注解的方法 必须同时 继承 BaseWSHandler 才可以生效
- ScxWebSocketRouteRegistrar - cool.scx.mvc中的类
-
ScxWebSocketMappingRegistrar class.
- ScxWebSocketRouteRegistrar(BeanFactory, List<Class<?>>) - 类的构造器 cool.scx.mvc.ScxWebSocketRouteRegistrar
- sendBytes(RoutingContext) - 类中的方法 cool.scx.mvc.vo.Download
-
sendBytes.
- sendFile(RoutingContext) - 类中的方法 cool.scx.mvc.vo.Download
-
sendFile.
- sendHtmlStr(RoutingContext) - 类中的方法 cool.scx.mvc.vo.Html
- sendInputStream(RoutingContext) - 类中的方法 cool.scx.mvc.vo.Download
-
sendBytes.
- sendTemplate(RoutingContext, ScxTemplateHandler) - 类中的方法 cool.scx.mvc.vo.Html
- sendToClient(int, String, String, RoutingContext) - 类中的静态方法 cool.scx.mvc.exception_handler.ScxHttpExceptionHandler
-
a
- setInterceptor(ScxMvcInterceptor) - 类中的方法 cool.scx.mvc.ScxMvc
- size() - 类中的方法 cool.scx.mvc.type.UploadedEntity
-
a
- statusCode() - 异常错误中的方法 cool.scx.mvc.exception.ScxHttpException
-
a
- StringReturnValueHandler - cool.scx.mvc.return_value_handler中的类
-
a
- StringReturnValueHandler() - 类的构造器 cool.scx.mvc.return_value_handler.StringReturnValueHandler
T
- templateHandler() - 类中的方法 cool.scx.mvc.ScxMvc
- templateRoot() - 类中的方法 cool.scx.mvc.ScxMvcOptions
- templateRoot(Path) - 类中的方法 cool.scx.mvc.ScxMvcOptions
- title() - 异常错误中的方法 cool.scx.mvc.exception.ScxHttpException
-
a
- toJson() - 类中的方法 cool.scx.mvc.vo.Json
-
将内部的 JsonBody 转换为 json 字符串
- toJson() - 类中的方法 cool.scx.mvc.vo.Result
-
将内部的 JsonBody 转换为 json 字符串
- toJson(String) - 类中的方法 cool.scx.mvc.vo.Json
-
a
- toJson(String) - 类中的方法 cool.scx.mvc.vo.Result
-
a
- toXml() - 类中的方法 cool.scx.mvc.vo.Result
- toXml() - 类中的方法 cool.scx.mvc.vo.Xml
-
将内部的 JsonBody 转换为 json 字符串
- toXml(String) - 类中的方法 cool.scx.mvc.vo.Result
- toXml(String) - 类中的方法 cool.scx.mvc.vo.Xml
-
a
- tryReadOrTextNode(String) - 类中的静态方法 cool.scx.mvc.ScxMvcRequestInfo
-
走到这里标识以上的匹配全部失败 , 这里不知道 body 的具体格式 所以进行猜测转换
- type - 类中的变量 cool.scx.mvc.vo.Download
-
数据来源
U
- UnauthorizedException - cool.scx.mvc.exception中的异常错误
-
未认证异常 (未登录)
- UnauthorizedException() - 异常错误的构造器 cool.scx.mvc.exception.UnauthorizedException
-
a
- UnauthorizedException(String) - 异常错误的构造器 cool.scx.mvc.exception.UnauthorizedException
-
a
- UnauthorizedException(String, Throwable) - 异常错误的构造器 cool.scx.mvc.exception.UnauthorizedException
-
a
- UnauthorizedException(Throwable) - 异常错误的构造器 cool.scx.mvc.exception.UnauthorizedException
-
a
- UnsupportedMediaTypeException - cool.scx.mvc.exception中的异常错误
-
415 参数异常
- UnsupportedMediaTypeException() - 异常错误的构造器 cool.scx.mvc.exception.UnsupportedMediaTypeException
-
a
- UnsupportedMediaTypeException(String) - 异常错误的构造器 cool.scx.mvc.exception.UnsupportedMediaTypeException
-
a
- UnsupportedMediaTypeException(String, Throwable) - 异常错误的构造器 cool.scx.mvc.exception.UnsupportedMediaTypeException
-
a
- UnsupportedMediaTypeException(Throwable) - 异常错误的构造器 cool.scx.mvc.exception.UnsupportedMediaTypeException
-
a
- UploadedEntity - cool.scx.mvc.type中的类
-
文件上传后台接受容器类
可以配合FromUpload注解使用 以实现自定义名称或限制是否必填 - UploadedEntity(FileUpload) - 类的构造器 cool.scx.mvc.type.UploadedEntity
-
a
- UploadedEntityParameterHandler - cool.scx.mvc.parameter_handler中的类
-
a
- UploadedEntityParameterHandler() - 类的构造器 cool.scx.mvc.parameter_handler.UploadedEntityParameterHandler
- useAllBody() - annotation interface 中的元素 cool.scx.mvc.annotation.FromBody
-
是否将整个请求体作为参数进行转换
- useDevelopmentErrorPage() - 类中的方法 cool.scx.mvc.ScxMvcOptions
- useDevelopmentErrorPage(boolean) - 类中的方法 cool.scx.mvc.ScxMvcOptions
- useNameAsUrl() - annotation interface 中的元素 cool.scx.mvc.annotation.ScxRoute
-
注意 : 仅当作用于方法时生效 !!!
V
- value() - annotation interface 中的元素 cool.scx.mvc.annotation.FromBody
-
此值用来控制取值方式 并和 useAllBody 相关 1, useAllBody 为 false 时 : value 为空时 会以参数名称为标准作为 value value 不为空时会先将 body 转换 map 对象 然后根据 value 进行分层获取 如 userList.name , name , car.color 等 会将前台发来的参数转换为 jsonTree 对象 并获取对应的节点 2, useAllBody 为 true 时 : value 的值则会被忽略 整个 请求体会被转换成参数
- value() - annotation interface 中的元素 cool.scx.mvc.annotation.FromPath
-
路径参数名称 默认为空 为空的情况下会将参数名称作为 路径参数名称
- value() - annotation interface 中的元素 cool.scx.mvc.annotation.FromQuery
-
查询参数名称 默认为空 为空的情况下会将方法参数名称作为 查询参数名称
- value() - annotation interface 中的元素 cool.scx.mvc.annotation.FromUpload
-
路径参数名称 默认为空 为空的情况下会将参数名称作为 路径参数名称
- value() - annotation interface 中的元素 cool.scx.mvc.annotation.ScxRoute
- value() - annotation interface 中的元素 cool.scx.mvc.annotation.ScxWebSocketRoute
-
websocket 映射路径
- valueOf(String) - enum class中的静态方法 cool.scx.mvc.ScxMvcRequestInfo.ContentType
-
Returns the enum constant of this class with the specified name.
- values() - enum class中的静态方法 cool.scx.mvc.ScxMvcRequestInfo.ContentType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variableName() - 接口中的方法 cool.scx.mvc.base.BaseTemplateDirective
-
获取自定义 变量的名称
- vertxFileUpload() - 类中的方法 cool.scx.mvc.type.UploadedEntity
-
a
W
- WebSocketRoute - cool.scx.mvc.websocket中的类
-
Scx WebSocket 路由
- WebSocketRoute(int, String, BaseWebSocketHandler) - 类的构造器 cool.scx.mvc.websocket.WebSocketRoute
-
Constructor for ScxWebSocketRoute.
- WebSocketRoute(String, BaseWebSocketHandler) - 类的构造器 cool.scx.mvc.websocket.WebSocketRoute
-
Constructor for ScxWebSocketRoute.
- WebSocketRouter - cool.scx.mvc.websocket中的类
-
a
- WebSocketRouter() - 类的构造器 cool.scx.mvc.websocket.WebSocketRouter
X
- Xml - cool.scx.mvc.vo中的类
-
Xml 格式的返回值
- XML - enum class 中的枚举常量 cool.scx.mvc.ScxMvcRequestInfo.ContentType
All Classes and Interfaces|所有程序包|序列化表格