Index
All Classes and Interfaces|All Packages|Serialized Form
A
- accept(RoutingContext, ScxTemplateHandler) - Method in class cool.scx.web.vo.Template
- accept0(RoutingContext) - Method in class cool.scx.web.ScxRouteHandler
- add(String, Object) - Method in class cool.scx.web.vo.Template
- addDirective(BaseTemplateDirective) - Method in class cool.scx.web.template.ScxTemplateHandler
- addParameterHandlerBuilder(int, ParameterHandlerBuilder) - Method in class cool.scx.web.ScxWeb
- addParameterHandlerBuilder(ParameterHandlerBuilder) - Method in class cool.scx.web.ScxWeb
- addReturnValueHandler(int, ReturnValueHandler) - Method in class cool.scx.web.ScxWeb
- addReturnValueHandler(ReturnValueHandler) - Method in class cool.scx.web.ScxWeb
- apply(RoutingContext) - Method in class cool.scx.web.ScxRouteHandler
- apply(RoutingContext) - Method in class cool.scx.web.vo.Download
- apply(RoutingContext) - Method in class cool.scx.web.vo.Raw
- apply(RoutingContext) - Method in class cool.scx.web.vo.Html
- apply(RoutingContext) - Method in class cool.scx.web.vo.Image
- apply(RoutingContext) - Method in class cool.scx.web.vo.Json
- apply(RoutingContext) - Method in class cool.scx.web.vo.Redirection
- apply(RoutingContext) - Method in class cool.scx.web.vo.Result
- apply(RoutingContext) - Method in class cool.scx.web.vo.Xml
B
- BaseTemplateDirective - Interface in cool.scx.web.template
-
Freemarker 标签父类
- BaseVo - Interface in cool.scx.web.vo
-
BaseVo 接口
- BaseVoReturnValueHandler - Class in cool.scx.web.return_value_handler
-
BaseVo 处理器
- BaseVoReturnValueHandler() - Constructor for class cool.scx.web.return_value_handler.BaseVoReturnValueHandler
- BaseWebSocketHandler - Interface in cool.scx.web
-
BaseWebSocketHandler 基本接口 请与
ScxWebSocketRoute配合使用 - body - Variable in class cool.scx.web.vo.Result.ResultOfData
- body - Variable in class cool.scx.web.vo.Result.ResultOfMap
- body() - Method in class cool.scx.web.parameter_handler.RequestInfo
- body() - Method in class cool.scx.web.vo.Result
- body() - Method in class cool.scx.web.vo.Result.ResultOfData
- body() - Method in class cool.scx.web.vo.Result.ResultOfMap
- Body(String, T) - Constructor for record class cool.scx.web.vo.Result.Body
-
Creates an instance of a
Bodyrecord class. - bytes - Variable in class cool.scx.web.vo.Download
- bytes - Variable in class cool.scx.web.vo.Raw
C
- cachedMultiPart() - Method in class cool.scx.web.ScxWebOptions
- cachedMultiPart(boolean) - Method in class cool.scx.web.ScxWebOptions
- canHandle(Object) - Method in class cool.scx.web.return_value_handler.BaseVoReturnValueHandler
- canHandle(Object) - Method in class cool.scx.web.return_value_handler.LastReturnValueHandler
- canHandle(Object) - Method in class cool.scx.web.return_value_handler.NullReturnValueHandler
- canHandle(Object) - Method in interface cool.scx.web.return_value_handler.ReturnValueHandler
-
是否能够处理
- canHandle(Object) - Method in class cool.scx.web.return_value_handler.StringReturnValueHandler
- canHandle(Object) - Method in class cool.scx.web.return_value_handler.TemplateReturnValueHandler
- canHandle(Throwable) - Method in interface cool.scx.web.exception_handler.ExceptionHandler
-
判断是否可以处理这个异常
- canHandle(Throwable) - Method in class cool.scx.web.exception_handler.LastExceptionHandler
- canHandle(Throwable) - Method in class cool.scx.web.exception_handler.ScxHttpExceptionHandler
- checkIsArray(TypeInfo) - Static method in class cool.scx.web.parameter_handler.from_upload.FromUploadParameterHandler
- checkIsCollection(TypeInfo) - Static method in class cool.scx.web.parameter_handler.from_upload.FromUploadParameterHandler
- clazz - Variable in class cool.scx.web.ScxRouteHandler
- contentDisposition - Variable in class cool.scx.web.vo.Download
- contentDisposition - Variable in class cool.scx.web.vo.Raw
- contentType - Variable in class cool.scx.web.vo.Download
- contentType - Variable in class cool.scx.web.vo.Raw
- contentType() - Method in class cool.scx.web.parameter_handler.RequestInfo
- cool.scx.web - package cool.scx.web
- cool.scx.web.annotation - package cool.scx.web.annotation
- cool.scx.web.exception_handler - package cool.scx.web.exception_handler
- cool.scx.web.interceptor - package cool.scx.web.interceptor
- cool.scx.web.parameter_handler - package cool.scx.web.parameter_handler
- cool.scx.web.parameter_handler.exception - package cool.scx.web.parameter_handler.exception
- cool.scx.web.parameter_handler.from_body - package cool.scx.web.parameter_handler.from_body
- cool.scx.web.parameter_handler.from_context - package cool.scx.web.parameter_handler.from_context
- cool.scx.web.parameter_handler.from_path - package cool.scx.web.parameter_handler.from_path
- cool.scx.web.parameter_handler.from_query - package cool.scx.web.parameter_handler.from_query
- cool.scx.web.parameter_handler.from_upload - package cool.scx.web.parameter_handler.from_upload
- cool.scx.web.parameter_handler.last - package cool.scx.web.parameter_handler.last
- cool.scx.web.return_value_handler - package cool.scx.web.return_value_handler
- cool.scx.web.template - package cool.scx.web.template
- cool.scx.web.vo - package cool.scx.web.vo
- createWebSocketRoute(BaseWebSocketHandler) - Static method in class cool.scx.web.WebSocketRouteRegistrar
D
- data() - Method in record class cool.scx.web.vo.Result.Body
-
Returns the value of the
datarecord component. - DefaultInterceptor - Class in cool.scx.web.interceptor
-
默认的拦截器实现
- DefaultInterceptor() - Constructor for class cool.scx.web.interceptor.DefaultInterceptor
- directiveName() - Method in interface cool.scx.web.template.BaseTemplateDirective
-
获取自定义指令的名称
- Download - Class in cool.scx.web.vo
-
文件下载 vo
E
- equals(Object) - Method in record class cool.scx.web.vo.Result.Body
-
Indicates whether some other object is "equal to" this one.
- ExceptionHandler - Interface in cool.scx.web.exception_handler
-
路由异常处理器
- execute(Environment, Map, TemplateModel[], TemplateDirectiveBody) - Method in interface cool.scx.web.template.BaseTemplateDirective
F
- fail() - Static method in class cool.scx.web.vo.Result
-
操作失败
- fail(String) - Static method in class cool.scx.web.vo.Result
-
返回操作失败的 Json 带有消息
- fail(String, Object) - Static method in class cool.scx.web.vo.Result
-
返回操作失败的 Json 带有消息
- fillContentType(ScxHttpServerResponse, MediaType) - Static method in class cool.scx.web.vo.Download
- fillContentType(ScxHttpServerResponse, MediaType) - Static method in class cool.scx.web.vo.Raw
- filterClass(List) - Static method in class cool.scx.web.RouteRegistrar
- filterClass(List) - Static method in class cool.scx.web.WebSocketRouteRegistrar
- filterObject(Object...) - Static method in class cool.scx.web.WebSocketRouteRegistrar
- findScxRoute(MethodInfo) - Static method in class cool.scx.web.RouteRegistrar
- findScxRouteOrThrow(MethodInfo) - Static method in class cool.scx.web.RouteRegistrar
- formatMapParams(Map) - Static method in interface cool.scx.web.template.BaseTemplateDirective
-
格式化参数
- FromBody - Annotation Interface in cool.scx.web.annotation
-
从 body 获取参数
- FromBodyParameterHandler - Class in cool.scx.web.parameter_handler.from_body
-
FromBodyParameterHandler
- FromBodyParameterHandler(FromBody, ParameterInfo) - Constructor for class cool.scx.web.parameter_handler.from_body.FromBodyParameterHandler
- FromBodyParameterHandlerBuilder - Class in cool.scx.web.parameter_handler.from_body
-
FromBodyParameterHandler
- FromBodyParameterHandlerBuilder() - Constructor for class cool.scx.web.parameter_handler.from_body.FromBodyParameterHandlerBuilder
- FromContextParameterHandlerBuilder - Class in cool.scx.web.parameter_handler.from_context
-
类型为 基本 的参数处理器
- FromContextParameterHandlerBuilder() - Constructor for class cool.scx.web.parameter_handler.from_context.FromContextParameterHandlerBuilder
- FromPath - Annotation Interface in cool.scx.web.annotation
-
从路径 (Path) 参数
- FromPathParameterHandler - Class in cool.scx.web.parameter_handler.from_path
-
FromPathParameterHandler
- FromPathParameterHandler(FromPath, ParameterInfo) - Constructor for class cool.scx.web.parameter_handler.from_path.FromPathParameterHandler
- FromPathParameterHandlerBuilder - Class in cool.scx.web.parameter_handler.from_path
-
FromPathParameterHandler
- FromPathParameterHandlerBuilder() - Constructor for class cool.scx.web.parameter_handler.from_path.FromPathParameterHandlerBuilder
- FromQuery - Annotation Interface in cool.scx.web.annotation
-
从 query 获取参数
- FromQueryParameterHandler - Class in cool.scx.web.parameter_handler.from_query
-
FromQueryParameterHandler
- FromQueryParameterHandler(FromQuery, ParameterInfo) - Constructor for class cool.scx.web.parameter_handler.from_query.FromQueryParameterHandler
- FromQueryParameterHandlerBuilder - Class in cool.scx.web.parameter_handler.from_query
-
参数处理器
- FromQueryParameterHandlerBuilder() - Constructor for class cool.scx.web.parameter_handler.from_query.FromQueryParameterHandlerBuilder
- FromUpload - Annotation Interface in cool.scx.web.annotation
-
从上传中获取参数 请标识在
MultiPartPart类型的参数上 - FromUploadParameterHandler - Class in cool.scx.web.parameter_handler.from_upload
-
处理 FileUpload 类型参数
- FromUploadParameterHandler(ParameterInfo) - Constructor for class cool.scx.web.parameter_handler.from_upload.FromUploadParameterHandler
- FromUploadParameterHandlerBuilder - Class in cool.scx.web.parameter_handler.from_upload
-
处理 FileUpload 类型参数
- FromUploadParameterHandlerBuilder() - Constructor for class cool.scx.web.parameter_handler.from_upload.FromUploadParameterHandlerBuilder
G
- get(String) - Method in class cool.scx.web.vo.Result.ResultOfMap
- getDownloadContentDisposition(String) - Static method in class cool.scx.web.HttpHelper
-
todo 这是一个 hack URLEncoder.encode 针对 ' ' (空格) 会编码为 '+' , 而这里我们需要的是编码为 %20
- getMediaTypeByExtension(String) - Static method in class cool.scx.web.HttpHelper
- getMediaTypeByFileName(String) - Static method in class cool.scx.web.HttpHelper
- getRequestIP(ScxHttpServerRequest) - Static method in class cool.scx.web.HttpHelper
-
获取访问者IP
- getTemplate(String) - Method in class cool.scx.web.template.ScxTemplateHandler
- getValueFromBody(String, boolean, boolean, TypeInfo, RequestInfo) - Static method in class cool.scx.web.parameter_handler.from_body.FromBodyParameterHandler
- getValueFromPath(String, boolean, boolean, TypeInfo, RequestInfo) - Static method in class cool.scx.web.parameter_handler.from_path.FromPathParameterHandler
- getValueFromQuery(String, boolean, boolean, TypeInfo, RequestInfo) - Static method in class cool.scx.web.parameter_handler.from_query.FromQueryParameterHandler
H
- handle(ScxHttpServerResponse) - Method in class cool.scx.web.vo.Redirection
- handle(RequestInfo) - Method in class cool.scx.web.parameter_handler.from_body.FromBodyParameterHandler
- handle(RequestInfo) - Method in class cool.scx.web.parameter_handler.from_path.FromPathParameterHandler
- handle(RequestInfo) - Method in class cool.scx.web.parameter_handler.from_query.FromQueryParameterHandler
- handle(RequestInfo) - Method in class cool.scx.web.parameter_handler.from_upload.FromUploadParameterHandler
- handle(RequestInfo) - Method in class cool.scx.web.parameter_handler.last.LastParameterHandler
- handle(RequestInfo) - Method in interface cool.scx.web.parameter_handler.ParameterHandler
-
将结果处理并返回
- handle(Object, RoutingContext) - Method in class cool.scx.web.return_value_handler.BaseVoReturnValueHandler
- handle(Object, RoutingContext) - Method in class cool.scx.web.return_value_handler.LastReturnValueHandler
- handle(Object, RoutingContext) - Method in class cool.scx.web.return_value_handler.NullReturnValueHandler
- handle(Object, RoutingContext) - Method in interface cool.scx.web.return_value_handler.ReturnValueHandler
-
处理结果
- handle(Object, RoutingContext) - Method in class cool.scx.web.return_value_handler.StringReturnValueHandler
- handle(Object, RoutingContext) - Method in class cool.scx.web.return_value_handler.TemplateReturnValueHandler
- handle(Throwable, RoutingContext) - Method in interface cool.scx.web.exception_handler.ExceptionHandler
-
将结果处理并返回
- handle(Throwable, RoutingContext) - Method in class cool.scx.web.exception_handler.LastExceptionHandler
- handle(Throwable, RoutingContext) - Method in class cool.scx.web.exception_handler.ScxHttpExceptionHandler
- handle(Map) - Method in interface cool.scx.web.template.BaseTemplateDirective
-
委派下去让子类实现, 并且返回加工后的返回值 可返回业务对象, 或者集合
- handler() - Method in class cool.scx.web.ScxRouteHandler
- handleScxHttpException(ScxHttpException, RoutingContext) - Method in class cool.scx.web.exception_handler.ScxHttpExceptionHandler
- hashCode() - Method in record class cool.scx.web.vo.Result.Body
-
Returns a hash code value for this object.
- Html - Class in cool.scx.web.vo
-
html 渲染类
- HttpHelper - Class in cool.scx.web
-
HttpHelper
- HttpHelper() - Constructor for class cool.scx.web.HttpHelper
I
- ignoreParentUrl() - Element in annotation interface cool.scx.web.annotation.ScxRoute
-
是否忽略类级别上的 ScxRoute 注解所定义的顶级 url
- Image - Class in cool.scx.web.vo
-
Image
- Image(Path) - Constructor for class cool.scx.web.vo.Image
-
用来校验 file 是否可用
- imageHandler(RoutingContext) - Method in class cool.scx.web.vo.Image
- inputStream - Variable in class cool.scx.web.vo.Download
- inputStream - Variable in class cool.scx.web.vo.Raw
- instance - Variable in class cool.scx.web.ScxRouteHandler
- Interceptor - Interface in cool.scx.web.interceptor
-
拦截器
- isRoute(MethodInfo) - Static method in class cool.scx.web.RouteRegistrar
-
判断是否为 ScxMapping 方法
- isRoute(Class) - Static method in class cool.scx.web.RouteRegistrar
-
初始化 ScxMappingClassList
- isVoid - Variable in class cool.scx.web.ScxRouteHandler
- isWebSocketRouteClass(Class) - Static method in class cool.scx.web.WebSocketRouteRegistrar
J
- Json - Class in cool.scx.web.vo
-
Json 格式的返回值
L
- LastExceptionHandler - Class in cool.scx.web.exception_handler
-
兜底异常处理器
- LastExceptionHandler(boolean) - Constructor for class cool.scx.web.exception_handler.LastExceptionHandler
- LastParameterHandler - Class in cool.scx.web.parameter_handler.last
-
LastParameterHandler
- LastParameterHandler(ParameterInfo) - Constructor for class cool.scx.web.parameter_handler.last.LastParameterHandler
- LastParameterHandlerBuilder - Class in cool.scx.web.parameter_handler.last
-
LastParameterHandler
- LastParameterHandlerBuilder() - Constructor for class cool.scx.web.parameter_handler.last.LastParameterHandlerBuilder
- LastReturnValueHandler - Class in cool.scx.web.return_value_handler
-
兜底 返回值处理器
- LastReturnValueHandler() - Constructor for class cool.scx.web.return_value_handler.LastReturnValueHandler
M
- merge() - Element in annotation interface cool.scx.web.annotation.FromPath
-
聚合参数
- merge() - Element in annotation interface cool.scx.web.annotation.FromQuery
-
将 查询参数聚合
- message() - Method in record class cool.scx.web.vo.Result.Body
-
Returns the value of the
messagerecord component. - method - Variable in class cool.scx.web.ScxRouteHandler
- methodMatcher() - Method in class cool.scx.web.ScxRouteHandler
- methods() - Element in annotation interface cool.scx.web.annotation.ScxRoute
-
方法 默认所有
- methods() - Method in class cool.scx.web.ScxRouteHandler
N
- NoScxRoute - Annotation Interface in cool.scx.web.annotation
-
禁用路由注解
- NullReturnValueHandler - Class in cool.scx.web.return_value_handler
-
空值处理器
- NullReturnValueHandler() - Constructor for class cool.scx.web.return_value_handler.NullReturnValueHandler
O
- of(byte[], FileFormat) - Static method in class cool.scx.web.vo.Raw
- of(byte[], String) - Static method in class cool.scx.web.vo.Download
- of(InputStream, FileFormat) - Static method in class cool.scx.web.vo.Raw
- of(InputStream, String) - Static method in class cool.scx.web.vo.Download
- of(Object) - Static method in class cool.scx.web.vo.Json
- of(Object) - Static method in class cool.scx.web.vo.Xml
- of(String) - Static method in class cool.scx.web.vo.Html
- of(String) - Static method in class cool.scx.web.vo.Result
- of(String) - Static method in class cool.scx.web.vo.Template
- of(String, Object) - Static method in class cool.scx.web.vo.Result
- of(Path) - Static method in class cool.scx.web.vo.Download
- of(Path) - Static method in class cool.scx.web.vo.Html
- of(Path) - Static method in class cool.scx.web.vo.Image
- of(Path) - Static method in class cool.scx.web.vo.Raw
- of(Path, Integer, Integer, Position) - Static method in class cool.scx.web.vo.Image
- of(Path, String) - Static method in class cool.scx.web.vo.Download
- ofPermanent(String) - Static method in class cool.scx.web.vo.Redirection
-
永久重定向
- ofTemporary(String) - Static method in class cool.scx.web.vo.Redirection
-
临时重定向
- ok() - Static method in class cool.scx.web.vo.Result
-
操作成功
- ok(Object) - Static method in class cool.scx.web.vo.Result
- onHandshakeRequest(ScxServerWebSocketHandshakeRequest) - Method in interface cool.scx.web.BaseWebSocketHandler
-
连接 打开 时
- order() - Element in annotation interface cool.scx.web.annotation.ScxRoute
-
排序
- order() - Element in annotation interface cool.scx.web.annotation.ScxWebSocketRoute
-
排序
- order() - Method in class cool.scx.web.ScxRouteHandler
P
- ParamConvertException - Exception Class in cool.scx.web.parameter_handler.exception
-
参数转换异常
- ParamConvertException(String) - Constructor for exception class cool.scx.web.parameter_handler.exception.ParamConvertException
- ParameterHandler - Interface in cool.scx.web.parameter_handler
-
参数处理器
- ParameterHandlerBuilder - Interface in cool.scx.web.parameter_handler
-
参数处理器
- path - Variable in class cool.scx.web.vo.Download
- path - Variable in class cool.scx.web.vo.Raw
- path() - Method in class cool.scx.web.ScxRouteHandler
- pathMatcher() - Method in class cool.scx.web.ScxRouteHandler
- pathParams() - Method in class cool.scx.web.parameter_handler.RequestInfo
- postHandle(RoutingContext, ScxRouteHandler, Object) - Method in interface cool.scx.web.interceptor.Interceptor
-
注意 : 若处理器中的方法 返回值为 void (即无返回值) 此拦截器则不会执行 后置处理器 在 ScxMappingHandler 所对应的方法执行完成之后 但是并没有将结果响应回客户端之前调用 可再次对响应的数据进行修改
- preHandle(RoutingContext, ScxRouteHandler) - Method in interface cool.scx.web.interceptor.Interceptor
-
前置处理器 在 ScxMappingHandler 所对应的方法执行前调用 用来进行权限验证等操作 若要中断执行请在 handler 中抛出异常 ,异常会有 ScxMappingHandler 的异常处理器进行处理
- put(String, Object) - Method in class cool.scx.web.vo.Result.ResultOfMap
-
设置操作返回的数据, 数据使用自定义的key存储
Q
- query() - Method in class cool.scx.web.parameter_handler.RequestInfo
R
- Raw - Class in cool.scx.web.vo
-
原始文件 但不需要下载的 vo 比如 pdf 之类
- Redirection - Class in cool.scx.web.vo
-
重定向
- registerHttpRoutes(Router, Object...) - Method in class cool.scx.web.ScxWeb
- registerRoute(Router, Object...) - Method in class cool.scx.web.RouteRegistrar
- registerRoute(Router, Object...) - Method in class cool.scx.web.WebSocketRouteRegistrar
- registerWebSocketRoutes(Router, Object...) - Method in class cool.scx.web.ScxWeb
- remove(String, Object) - Method in class cool.scx.web.vo.Result.ResultOfMap
- RequestInfo - Class in cool.scx.web.parameter_handler
-
封装 RoutingContext 的参数 防止反复取值造成性能损失
- RequestInfo(RoutingContext, boolean) - Constructor for class cool.scx.web.parameter_handler.RequestInfo
- required() - Element in annotation interface cool.scx.web.annotation.FromBody
-
是否必填
- required() - Element in annotation interface cool.scx.web.annotation.FromPath
-
是否必填
- required() - Element in annotation interface cool.scx.web.annotation.FromQuery
-
是否必填
- required() - Element in annotation interface cool.scx.web.annotation.FromUpload
-
是否必填
- RequiredParamEmptyException - Exception Class in cool.scx.web.parameter_handler.exception
-
必须参数缺失异常
- RequiredParamEmptyException(String) - Constructor for exception class cool.scx.web.parameter_handler.exception.RequiredParamEmptyException
- Result - Class in cool.scx.web.vo
-
一般用来表达业务逻辑
- Result() - Constructor for class cool.scx.web.vo.Result
- Result.Body<T> - Record Class in cool.scx.web.vo
- Result.ResultOfData - Class in cool.scx.web.vo
- Result.ResultOfMap - Class in cool.scx.web.vo
- ResultOfData(String, Object) - Constructor for class cool.scx.web.vo.Result.ResultOfData
- ReturnValueHandler - Interface in cool.scx.web.return_value_handler
-
返回值处理器
- RouteRegistrar - Class in cool.scx.web
-
路由注册器
- RouteRegistrar(ScxWeb) - Constructor for class cool.scx.web.RouteRegistrar
-
扫描所有被 ScxMapping注解标记的方法 并封装为 ScxMappingHandler.
- routingContext() - Method in class cool.scx.web.parameter_handler.RequestInfo
- routingContext() - Static method in class cool.scx.web.ScxWeb
-
获取当前线程的 RoutingContext (只限在 scx mapping 注解的方法及其调用链上)
S
- ScxHttpExceptionHandler - Class in cool.scx.web.exception_handler
-
ScxHttpException 处理器
- ScxHttpExceptionHandler(boolean) - Constructor for class cool.scx.web.exception_handler.ScxHttpExceptionHandler
- ScxRoute - Annotation Interface in cool.scx.web.annotation
-
路由注解 默认会在方法上进行继承 如果想在子类禁用 请使用 NoScxRoute
- ScxRouteHandler - Class in cool.scx.web
-
ScxRouteHandler
- ScxTemplateHandler - Class in cool.scx.web.template
-
模板处理器
- ScxTemplateHandler(Path) - Constructor for class cool.scx.web.template.ScxTemplateHandler
- ScxWeb - Class in cool.scx.web
-
ScxWeb
- ScxWeb() - Constructor for class cool.scx.web.ScxWeb
- ScxWeb(ScxWebOptions) - Constructor for class cool.scx.web.ScxWeb
- ScxWebOptions - Class in cool.scx.web
-
ScxWebOptions
- ScxWebOptions() - Constructor for class cool.scx.web.ScxWebOptions
- ScxWebSocketRoute - Annotation Interface in cool.scx.web.annotation
-
ScxWebSocketRoute websocket 映射 设置此注解的方法 必须同时 继承 BaseWSHandler 才可以生效
- sendHtmlPath(RoutingContext) - Method in class cool.scx.web.vo.Html
- sendHtmlStr(RoutingContext) - Method in class cool.scx.web.vo.Html
- sendToClient(ScxHttpStatus, String, RoutingContext) - Static method in class cool.scx.web.exception_handler.ScxHttpExceptionHandler
- setInterceptor(Interceptor) - Method in class cool.scx.web.ScxWeb
- StringReturnValueHandler - Class in cool.scx.web.return_value_handler
-
String 类型处理器
- StringReturnValueHandler() - Constructor for class cool.scx.web.return_value_handler.StringReturnValueHandler
T
- Template - Class in cool.scx.web.vo
-
模板
- templateHandler() - Method in class cool.scx.web.ScxWeb
- TemplateReturnValueHandler - Class in cool.scx.web.return_value_handler
-
用于渲染 freemarker
- TemplateReturnValueHandler(ScxTemplateHandler) - Constructor for class cool.scx.web.return_value_handler.TemplateReturnValueHandler
- templateRoot() - Method in class cool.scx.web.ScxWebOptions
- templateRoot(Path) - Method in class cool.scx.web.ScxWebOptions
- toJson() - Method in class cool.scx.web.vo.Result
- toString() - Method in record class cool.scx.web.vo.Result.Body
-
Returns a string representation of this record class.
- toXml() - Method in class cool.scx.web.vo.Result
- tryBuild(ParameterInfo) - Method in class cool.scx.web.parameter_handler.from_body.FromBodyParameterHandlerBuilder
- tryBuild(ParameterInfo) - Method in class cool.scx.web.parameter_handler.from_context.FromContextParameterHandlerBuilder
- tryBuild(ParameterInfo) - Method in class cool.scx.web.parameter_handler.from_path.FromPathParameterHandlerBuilder
- tryBuild(ParameterInfo) - Method in class cool.scx.web.parameter_handler.from_query.FromQueryParameterHandlerBuilder
- tryBuild(ParameterInfo) - Method in class cool.scx.web.parameter_handler.from_upload.FromUploadParameterHandlerBuilder
- tryBuild(ParameterInfo) - Method in class cool.scx.web.parameter_handler.last.LastParameterHandlerBuilder
- tryBuild(ParameterInfo) - Method in interface cool.scx.web.parameter_handler.ParameterHandlerBuilder
-
判断是否可以处理这个参数类型 返回 null 不支持
- tryReadOrTextNode(String) - Static method in class cool.scx.web.parameter_handler.RequestInfo
-
走到这里标识以上的匹配全部失败 , 这里不知道 body 的具体格式 所以进行猜测转换
- type - Variable in class cool.scx.web.vo.Download
- type - Variable in class cool.scx.web.vo.Raw
- typeMatcher() - Method in class cool.scx.web.ScxRouteHandler
U
- uploadFiles() - Method in class cool.scx.web.parameter_handler.RequestInfo
- useAllBody() - Element in annotation interface cool.scx.web.annotation.FromBody
-
是否将整个请求体作为参数进行转换
- useNameAsUrl() - Element in annotation interface cool.scx.web.annotation.ScxRoute
-
注意 : 仅当作用于方法时生效 !!!
V
- value() - Element in annotation interface cool.scx.web.annotation.FromBody
-
此值用来控制取值方式 并和 useAllBody 相关
- value() - Element in annotation interface cool.scx.web.annotation.FromPath
-
路径参数名称 默认为空 为空的情况下会将参数名称作为 路径参数名称
- value() - Element in annotation interface cool.scx.web.annotation.FromQuery
-
查询参数名称 默认为空 为空的情况下会将方法参数名称作为 查询参数名称
- value() - Element in annotation interface cool.scx.web.annotation.FromUpload
-
路径参数名称 默认为空 为空的情况下会将参数名称作为 路径参数名称
- value() - Element in annotation interface cool.scx.web.annotation.ScxRoute
-
path 路径
- value() - Element in annotation interface cool.scx.web.annotation.ScxWebSocketRoute
-
websocket 映射路径
- variableName() - Method in interface cool.scx.web.template.BaseTemplateDirective
-
获取自定义 变量的名称
W
- WebSocketRouteRegistrar - Class in cool.scx.web
-
WebSocketRouteRegistrar
- WebSocketRouteRegistrar(ScxWeb) - Constructor for class cool.scx.web.WebSocketRouteRegistrar
X
- Xml - Class in cool.scx.web.vo
-
Xml 格式的返回值
All Classes and Interfaces|All Packages|Serialized Form