All Classes and Interfaces
Class
Description
Accept
AcceptHelper
AcceptsImpl
AcceptsWritable
BadRequestException
请求体已经被消费异常
内容已经发送过异常
读取异常 一般表示底层异常
保持单例模式
ByteArrayWriter
ClientEventStreamReader
ContentDisposition
ContentDispositionHelper
ContentDispositionImpl
ContentDispositionWritable
ContentEncoding
ContentTooLargeException
Cookie
CookieHelper
todo 中文编码有一些问题
Cookies
CookieSameSite
CookiesImpl
CookiesWritable
CookieWritable
默认错误处理器
EmptyWriter
错误阶段
常见 文件格式 (文件类型/文件后缀/文件拓展名)
ForbiddenException
FormParams
FormParamsHelper
FormParams
FormParamsReader
FormParams
FormParamsWriter
HttpFieldName
HttpMethod
发送异常 一般表示底层异常
HttpStatus
HttpVersion
InputStreamWriter
InternalServerErrorException
MediaRange
AcceptImpl
MediaRangeWritable
读取器 可用于 ServerRequest 和 ClientResponse
MediaType
写入器 可用于 ServerResponse 和 ClientRequest
MethodNotAllowedException
MultiPart
MultiPartImpl
MultiPartPart
MultiPartPartImpl
MultiPartPartWritable
MultiPartStream
MultiPartStreamReader
MultiPartWritable
MultiPartWriter
NotFoundException
ObjectReader 逻辑参考
TreeReaderObjectWriter 逻辑参考
TreeWriterParameterEntry 表示 HTTP 请求中的参数项, 包含参数名与多个值.
Parameters 表示一组 HTTP 参数项, 类似 MultiMap (实际上默认实现 就是基于 MultiMap 的), 一个 name 可以对应多个值.
ParametersImpl
ParametersWritable
将内容写入到文件
todo 这里是否有必要支持 复杂的写入 比如指定文件的偏移量和写入长度 还是保持当前类的简便化 因为 用户可以直接拿到 InputStream 添加复杂的功能是否有意义 ?
PathWriter
PeerInfo
PeerInfoWritable
HttpHeader Range
ContentEncoding
ScxHttpBody
ScxHttpClient
ScxHttpClientRequest
ScxHttpClientResponse
ScxHttpException
这是一个基于
ScxHttpStatus 的运行时异常类, 用于表示 HTTP 请求处理过程中的异常情况.HttpHeaderName 是不区分大小写的 所以我们这里全部按照小写处理
只读的 Headers 可用于 ServerRequest 和 ClientResponse
在 Parameters 的基础上实现了一些 方便操作 Http 头协议的方法
ScxHttpHeadersHelper
这只是一个帮助类 用于简化 header 的读取
可写的 Headers 可用于 ServerResponse 和 ClientRequest
在 Parameters 的基础上实现了一些 方便操作 Http 头协议的方法
这只是一个帮助类 用于简化 header 的写入
HTTP Method (注意 需要 区分大小写)
ScxHttpServer
HTTP 服务器 错误处理器
ScxHttpServerRequest
ScxHttpServerResponse
Http Status
ScxMediaType
ScxMediaType
ScxMediaTypeWritable
ScxURI 是对 URI 的抽象 , 提供了更直观、灵活的操作方式.
ScxURIHelper
ScxURIWritable
todo 整体待重构 比如没有正确处理 输出流的关闭
1, 如果未指定字符集则 使用 请求头中的字符集 如果请求头中的字符集为空则回退到 UTF_8
2, 如果指定字符集 忽略 请求头中的字符集
StringWriter
TreeReader
此处之所以 先将请求体读取为字符串, 然后解析为 JsonNode.
JsonNodeWriter
UnauthorizedException
UnsupportedMediaTypeException
URIEncoder
URITooLongException