Index
All Classes and Interfaces|All Packages|Serialized Form
A
- accept(RoutingContext) - Method in class cool.scx.http.routing.handler.CorsHandler
- accept(RoutingContext) - Method in class cool.scx.http.routing.handler.StaticHandler
- accept(ScxHttpServerRequest) - Method in class cool.scx.http.routing.RouterImpl
- accept(ScxServerWebSocket) - Method in class cool.scx.http.routing.WebSocketRouter
- Accept - Interface in cool.scx.http.accept
- ACCEPT - Enum constant in enum class cool.scx.http.HttpFieldName
-
用来告知(服务器)客户端可以处理的内容类型
- ACCEPT_ENCODING - Enum constant in enum class cool.scx.http.HttpFieldName
-
会将客户端能够理解的内容编码方式——通常是某种压缩算法——进行通知(给服务端)
- ACCEPT_LANGUAGE - Enum constant in enum class cool.scx.http.HttpFieldName
-
允许客户端声明它可以理解的自然语言,以及优先选择的区域方言
- ACCEPT_PATCH - Enum constant in enum class cool.scx.http.HttpFieldName
-
通知浏览器请求的媒体类型 (media-type) 可以被服务器理解
- ACCEPT_POST - Enum constant in enum class cool.scx.http.HttpFieldName
-
advertises which media types are accepted by the server for HTTP post requests.
- ACCEPT_RANGES - Enum constant in enum class cool.scx.http.HttpFieldName
-
标识自身支持范围请求
- accepted() - Method in record class cool.scx.http.routing.PathMatcher.MatchResult
-
Returns the value of the
acceptedrecord component. - ACCEPTED - Enum constant in enum class cool.scx.http.HttpStatusCode
-
请求已经接收到,但还未响应,没有结果。
- AcceptHelper - Class in cool.scx.http.accept
- AcceptHelper() - Constructor for class cool.scx.http.accept.AcceptHelper
- AcceptImpl - Class in cool.scx.http.accept
- AcceptImpl() - Constructor for class cool.scx.http.accept.AcceptImpl
- accepts() - Method in interface cool.scx.http.ScxHttpHeaders
- Accepts - Interface in cool.scx.http.accept
- AcceptsImpl - Class in cool.scx.http.accept
- AcceptsImpl() - Constructor for class cool.scx.http.accept.AcceptsImpl
- AcceptsWritable - Interface in cool.scx.http.accept
- AcceptWritable - Interface in cool.scx.http.accept
- ACCESS_CONTROL_ALLOW_CREDENTIALS - Enum constant in enum class cool.scx.http.HttpFieldName
-
用于在请求要求包含 credentials(Request.credentials 的值为 include)时,告知浏览器是否可以将对请求的响应暴露给前端 JavaScript 代码。
- ACCESS_CONTROL_ALLOW_HEADERS - Enum constant in enum class cool.scx.http.HttpFieldName
-
用于 preflight request(预检请求)中,列出了将会在正式请求的 Access-Control-Request-Headers 字段中出现的首部信息。
- ACCESS_CONTROL_ALLOW_METHODS - Enum constant in enum class cool.scx.http.HttpFieldName
-
在对 preflight request.
- ACCESS_CONTROL_ALLOW_ORIGIN - Enum constant in enum class cool.scx.http.HttpFieldName
-
响应标头指定了该响应的资源是否被允许与给定的来源(origin)共享。
- ACCESS_CONTROL_EXPOSE_HEADERS - Enum constant in enum class cool.scx.http.HttpFieldName
-
允许服务器指示那些响应标头可以暴露给浏览器中运行的脚本,以响应跨源请求。
- ACCESS_CONTROL_MAX_AGE - Enum constant in enum class cool.scx.http.HttpFieldName
-
表示 preflight request (预检请求)的返回结果(即 Access-Control-Allow-Methods 和Access-Control-Allow-Headers 提供的信息)可以被缓存多久
- ACCESS_CONTROL_REQUEST_HEADERS - Enum constant in enum class cool.scx.http.HttpFieldName
-
出现于 preflight request(预检请求)中,用于通知服务器在真正的请求中会采用哪些请求头。
- ACCESS_CONTROL_REQUEST_METHOD - Enum constant in enum class cool.scx.http.HttpFieldName
-
出现于 preflight request(预检请求)中,用于通知服务器在真正的请求中会采用哪种 HTTP 方法。
- add(Accept) - Method in class cool.scx.http.accept.AcceptsImpl
- add(Accept) - Method in interface cool.scx.http.accept.AcceptsWritable
- add(Cookie) - Method in class cool.scx.http.cookie.CookiesImpl
- add(Cookie) - Method in interface cool.scx.http.cookie.CookiesWritable
- add(MultiPartPart) - Method in class cool.scx.http.media.multi_part.MultiPartImpl
- add(MultiPartPart) - Method in interface cool.scx.http.media.multi_part.MultiPartWritable
- add(String, byte[]) - Method in interface cool.scx.http.media.multi_part.MultiPartWritable
- add(String, String) - Method in interface cool.scx.http.media.multi_part.MultiPartWritable
- add(String, String...) - Method in class cool.scx.http.media.form_params.FormParams
- add(String, String...) - Method in interface cool.scx.http.ScxHttpHeadersWritable
- add(String, Path) - Method in interface cool.scx.http.media.multi_part.MultiPartWritable
- add(K, V...) - Method in class cool.scx.http.ParametersImpl
- add(K, V...) - Method in interface cool.scx.http.ParametersWritable
- addCookie(Cookie...) - Method in interface cool.scx.http.ScxClientWebSocketBuilder
- addCookie(Cookie...) - Method in interface cool.scx.http.ScxHttpClientRequest
- addCookie(Cookie...) - Method in interface cool.scx.http.ScxHttpHeadersWritable
- addHeader(ScxHttpHeaderName, String...) - Method in interface cool.scx.http.ScxClientWebSocketBuilder
- addHeader(ScxHttpHeaderName, String...) - Method in interface cool.scx.http.ScxHttpClientRequest
- addHeader(ScxHttpHeaderName, String...) - Method in interface cool.scx.http.ScxHttpServerResponse
- addHeader(String, String...) - Method in interface cool.scx.http.ScxClientWebSocketBuilder
- addHeader(String, String...) - Method in interface cool.scx.http.ScxHttpClientRequest
- addHeader(String, String...) - Method in interface cool.scx.http.ScxHttpServerResponse
- addOrigin(String) - Method in class cool.scx.http.routing.handler.CorsHandler
- addQuery(String, Object...) - Method in interface cool.scx.http.uri.ScxURIWritable
- addQuery(String, String...) - Method in interface cool.scx.http.uri.ScxURIWritable
- address() - Method in interface cool.scx.http.PeerInfo
- address(SocketAddress) - Method in interface cool.scx.http.PeerInfoWritable
- addRoute(Route) - Method in interface cool.scx.http.routing.Router
- addRoute(Route) - Method in class cool.scx.http.routing.RouterImpl
- addRoute(WebSocketRoute) - Method in class cool.scx.http.routing.WebSocketRouter
- addSetCookie(Cookie...) - Method in interface cool.scx.http.ScxHttpHeadersWritable
- addSetCookie(Cookie...) - Method in interface cool.scx.http.ScxHttpServerResponse
- AGE - Enum constant in enum class cool.scx.http.HttpFieldName
-
消息头里包含对象在缓存代理中存贮的时长,以秒为单位。
- ALLOW - Enum constant in enum class cool.scx.http.HttpFieldName
-
用于枚举资源所支持的 HTTP 方法的集合。
- allowCredentials(boolean) - Method in class cool.scx.http.routing.handler.CorsHandler
- allowedHeader(ScxHttpHeaderName...) - Method in class cool.scx.http.routing.handler.CorsHandler
- allowedHeader(String...) - Method in class cool.scx.http.routing.handler.CorsHandler
- allowedMethod(ScxHttpMethod...) - Method in class cool.scx.http.routing.handler.CorsHandler
- allowedMethod(String...) - Method in class cool.scx.http.routing.handler.CorsHandler
- any() - Static method in interface cool.scx.http.routing.MethodMatcher
- any() - Static method in interface cool.scx.http.routing.PathMatcher
- APK - Enum constant in enum class cool.scx.http.FileFormat
- APPLICATION_APK - Enum constant in enum class cool.scx.http.MediaType
- APPLICATION_DOC - Enum constant in enum class cool.scx.http.MediaType
- APPLICATION_DOCX - Enum constant in enum class cool.scx.http.MediaType
- APPLICATION_JSON - Enum constant in enum class cool.scx.http.MediaType
- APPLICATION_MAX - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Application max value.
- APPLICATION_MIN - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Application min value.
- APPLICATION_OCTET_STREAM - Enum constant in enum class cool.scx.http.MediaType
- APPLICATION_PDF - Enum constant in enum class cool.scx.http.MediaType
- APPLICATION_PPT - Enum constant in enum class cool.scx.http.MediaType
- APPLICATION_PPTX - Enum constant in enum class cool.scx.http.MediaType
- APPLICATION_X_WWW_FORM_URLENCODED - Enum constant in enum class cool.scx.http.MediaType
- APPLICATION_XLS - Enum constant in enum class cool.scx.http.MediaType
- APPLICATION_XLSX - Enum constant in enum class cool.scx.http.MediaType
- APPLICATION_XML - Enum constant in enum class cool.scx.http.MediaType
- APPLICATION_ZIP - Enum constant in enum class cool.scx.http.MediaType
- as(MediaReader<T>) - Method in interface cool.scx.http.media.multi_part.MultiPartPart
- as(MediaReader<T>) - Method in interface cool.scx.http.ScxHttpBody
- asBytes() - Method in interface cool.scx.http.ScxHttpBody
- asFormParams() - Method in interface cool.scx.http.ScxHttpBody
- asJsonNode() - Method in interface cool.scx.http.ScxHttpBody
- asMultiPart() - Method in interface cool.scx.http.ScxHttpBody
- asMultiPartCached() - Method in interface cool.scx.http.ScxHttpBody
- asMultiPartCached(Path) - Method in interface cool.scx.http.ScxHttpBody
- asObject(TypeReference<T>) - Method in interface cool.scx.http.ScxHttpBody
- asObject(Class<T>) - Method in interface cool.scx.http.ScxHttpBody
- asPath(Path, OpenOption...) - Method in interface cool.scx.http.ScxHttpBody
- asString() - Method in interface cool.scx.http.ScxHttpBody
- asString(Charset) - Method in interface cool.scx.http.ScxHttpBody
- AUDIO_MPEG - Enum constant in enum class cool.scx.http.MediaType
- AUDIO_WAV - Enum constant in enum class cool.scx.http.MediaType
- AUTHORIZATION - Enum constant in enum class cool.scx.http.HttpFieldName
-
请求标头用于提供服务器验证用户代理身份的凭据,允许访问受保护的资源。
B
- BAD_GATEWAY - Enum constant in enum class cool.scx.http.HttpStatusCode
-
此错误响应表明服务器作为网关需要得到一个处理这个请求的响应,但是得到一个错误的响应。
- BAD_GATEWAY - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Server acting as gateway received an invalid response.
- BAD_REQUEST - Enum constant in enum class cool.scx.http.HttpStatusCode
-
由于被认为是客户端错误(例如,错误的请求语法、无效的请求消息帧或欺骗性的请求路由),服务器无法或不会处理请求。
- BadRequestException - Exception Class in cool.scx.http.exception
-
请求错误异常
- BadRequestException() - Constructor for exception class cool.scx.http.exception.BadRequestException
- BadRequestException(String) - Constructor for exception class cool.scx.http.exception.BadRequestException
- BadRequestException(String, Throwable) - Constructor for exception class cool.scx.http.exception.BadRequestException
- BadRequestException(Throwable) - Constructor for exception class cool.scx.http.exception.BadRequestException
- beforeWrite(ScxHttpHeadersWritable, ScxHttpHeaders) - Method in class cool.scx.http.media.byte_array.ByteArrayWriter
- beforeWrite(ScxHttpHeadersWritable, ScxHttpHeaders) - Method in class cool.scx.http.media.empty.EmptyWriter
- beforeWrite(ScxHttpHeadersWritable, ScxHttpHeaders) - Method in class cool.scx.http.media.form_params.FormParamsWriter
- beforeWrite(ScxHttpHeadersWritable, ScxHttpHeaders) - Method in class cool.scx.http.media.input_stream.InputStreamWriter
- beforeWrite(ScxHttpHeadersWritable, ScxHttpHeaders) - Method in class cool.scx.http.media.json_node.JsonNodeWriter
- beforeWrite(ScxHttpHeadersWritable, ScxHttpHeaders) - Method in interface cool.scx.http.media.MediaWriter
-
写入内容之前 在这里可以设置 header 头
- beforeWrite(ScxHttpHeadersWritable, ScxHttpHeaders) - Method in class cool.scx.http.media.multi_part.MultiPartWriter
- beforeWrite(ScxHttpHeadersWritable, ScxHttpHeaders) - Method in class cool.scx.http.media.object.ObjectWriter
- beforeWrite(ScxHttpHeadersWritable, ScxHttpHeaders) - Method in class cool.scx.http.media.path.PathWriter
- beforeWrite(ScxHttpHeadersWritable, ScxHttpHeaders) - Method in class cool.scx.http.media.string.StringWriter
- BIN - Enum constant in enum class cool.scx.http.FileFormat
- BMP - Enum constant in enum class cool.scx.http.FileFormat
- body() - Method in interface cool.scx.http.media.multi_part.MultiPartPart
- body() - Method in class cool.scx.http.media.multi_part.MultiPartPartImpl
- body() - Method in interface cool.scx.http.ScxHttpClientResponse
- body() - Method in interface cool.scx.http.ScxHttpServerRequest
- body(byte[]) - Method in interface cool.scx.http.media.multi_part.MultiPartPartWritable
- body(InputStream) - Method in interface cool.scx.http.media.multi_part.MultiPartPartWritable
- body(String) - Method in interface cool.scx.http.media.multi_part.MultiPartPartWritable
- body(Path) - Method in interface cool.scx.http.media.multi_part.MultiPartPartWritable
- body(Supplier<InputStream>) - Method in class cool.scx.http.media.multi_part.MultiPartPartImpl
- body(Supplier<InputStream>) - Method in interface cool.scx.http.media.multi_part.MultiPartPartWritable
- bodyBufferSize() - Method in class cool.scx.http.ScxHttpClientOptions
- bodyBufferSize() - Method in class cool.scx.http.ScxHttpServerOptions
- bodyBufferSize(int) - Method in class cool.scx.http.ScxHttpClientOptions
- bodyBufferSize(int) - Method in class cool.scx.http.ScxHttpServerOptions
- boundary - Variable in class cool.scx.http.media.multi_part.MultiPartStream
- boundary() - Method in interface cool.scx.http.content_type.ContentType
- boundary() - Method in interface cool.scx.http.media.multi_part.MultiPart
- boundary() - Method in class cool.scx.http.media.multi_part.MultiPartImpl
- boundary() - Method in class cool.scx.http.media.multi_part.MultiPartStream
- boundary(String) - Method in interface cool.scx.http.content_type.ContentTypeWritable
- boundary(String) - Method in class cool.scx.http.media.multi_part.MultiPartImpl
- boundary(String) - Method in interface cool.scx.http.media.multi_part.MultiPartWritable
- boundaryBytes - Variable in class cool.scx.http.media.multi_part.MultiPartStream
- BYTE_ARRAY_READER - Static variable in class cool.scx.http.media.byte_array.ByteArrayReader
- ByteArrayReader - Class in cool.scx.http.media.byte_array
-
保持单例模式
- ByteArrayWriter - Class in cool.scx.http.media.byte_array
- ByteArrayWriter(byte[]) - Constructor for class cool.scx.http.media.byte_array.ByteArrayWriter
C
- CACHE_CONTROL - Enum constant in enum class cool.scx.http.HttpFieldName
-
通用消息头字段,被用于在 http 请求和响应中,通过指定指令来实现缓存机制。
- CANNOT_ACCEPT - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Endpoint received an unsupported frame (e.g. binary-only endpoint received text frame).
- charset() - Method in interface cool.scx.http.content_type.ContentType
- charset(Charset) - Method in interface cool.scx.http.content_type.ContentTypeWritable
- clear() - Method in class cool.scx.http.media.form_params.FormParams
- clear() - Method in class cool.scx.http.ParametersImpl
- clear() - Method in interface cool.scx.http.ParametersWritable
- clearQuery() - Method in interface cool.scx.http.uri.ScxURIWritable
- close() - Method in interface cool.scx.http.ScxWebSocket
- close(int, String) - Method in interface cool.scx.http.ScxWebSocket
- close(WebSocketCloseCode) - Method in interface cool.scx.http.ScxWebSocket
- CLOSED_ABNORMALLY - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
No close code frame has been received.
- code() - Method in enum class cool.scx.http.HttpStatusCode
- code() - Method in enum class cool.scx.http.WebSocketCloseCode
- CONFLICT - Enum constant in enum class cool.scx.http.HttpStatusCode
-
当请求与服务器的当前状态冲突时,将发送此响应。
- connect() - Method in interface cool.scx.http.ScxClientWebSocketBuilder
- CONNECT - Enum constant in enum class cool.scx.http.HttpMethod
-
CONNECT 方法建立一个到由目标资源标识的服务器的隧道。
- CONNECTION - Enum constant in enum class cool.scx.http.HttpFieldName
-
通用标头控制网络连接在当前会话完成后是否仍然保持打开状态。
- contains(String) - Method in interface cool.scx.http.ScxHttpHeaders
- contains(K) - Method in interface cool.scx.http.Parameters
- CONTENT_DISPOSITION - Enum constant in enum class cool.scx.http.HttpFieldName
-
指示回复的内容该以何种形式展示,是以内联的形式(即网页或者页面的一部分),还是以附件的形式下载并保存到本地。
- CONTENT_ENCODING - Enum constant in enum class cool.scx.http.HttpFieldName
-
列出了对当前实体消息(消息荷载)应用的任何编码类型,以及编码的顺序。
- CONTENT_LANGUAGE - Enum constant in enum class cool.scx.http.HttpFieldName
-
用来说明访问者希望采用的语言或语言组合,这样的话用户就可以根据自己偏好的语言来定制不同的内容。
- CONTENT_LENGTH - Enum constant in enum class cool.scx.http.HttpFieldName
-
用来指明发送给接收方的消息主体的大小,即用十进制数字表示的八位元组的数目。
- CONTENT_LOCATION - Enum constant in enum class cool.scx.http.HttpFieldName
-
首部指定的是要返回的数据的地址选项。
- CONTENT_RANGE - Enum constant in enum class cool.scx.http.HttpFieldName
-
显示的是一个数据片段在整个文件中的位置
- CONTENT_TOO_LARGE - Enum constant in enum class cool.scx.http.HttpStatusCode
-
请求实体大于服务器定义的限制。
- CONTENT_TYPE - Enum constant in enum class cool.scx.http.HttpFieldName
-
实体头部用于指示资源的 MIME 类型 media type 。
- contentDisposition() - Method in interface cool.scx.http.media.multi_part.MultiPartPart
- contentDisposition() - Method in interface cool.scx.http.ScxHttpHeaders
- contentDisposition() - Method in interface cool.scx.http.ScxHttpHeadersWritable
- contentDisposition(ContentDisposition) - Method in interface cool.scx.http.ScxHttpHeadersWritable
- contentDisposition(ContentDispositionWritable) - Method in interface cool.scx.http.media.multi_part.MultiPartPartWritable
- ContentDisposition - Interface in cool.scx.http.content_disposition
- ContentDispositionHelper - Class in cool.scx.http.content_disposition
- ContentDispositionHelper() - Constructor for class cool.scx.http.content_disposition.ContentDispositionHelper
- ContentDispositionImpl - Class in cool.scx.http.content_disposition
- ContentDispositionImpl() - Constructor for class cool.scx.http.content_disposition.ContentDispositionImpl
- ContentDispositionWritable - Interface in cool.scx.http.content_disposition
- contentLength() - Method in interface cool.scx.http.ScxHttpClientRequest
- contentLength() - Method in interface cool.scx.http.ScxHttpHeaders
- contentLength() - Method in interface cool.scx.http.ScxHttpServerResponse
- contentLength(long) - Method in interface cool.scx.http.ScxHttpClientRequest
- contentLength(long) - Method in interface cool.scx.http.ScxHttpHeadersWritable
- contentLength(long) - Method in interface cool.scx.http.ScxHttpServerResponse
- contentType() - Method in interface cool.scx.http.media.multi_part.MultiPartPart
- contentType() - Method in interface cool.scx.http.ScxHttpClientRequest
- contentType() - Method in interface cool.scx.http.ScxHttpHeaders
- contentType() - Method in interface cool.scx.http.ScxHttpHeadersWritable
- contentType() - Method in interface cool.scx.http.ScxHttpServerRequest
- contentType() - Method in interface cool.scx.http.ScxHttpServerResponse
- contentType(ContentType) - Method in interface cool.scx.http.ScxHttpClientRequest
- contentType(ContentType) - Method in interface cool.scx.http.ScxHttpHeadersWritable
- contentType(ContentType) - Method in interface cool.scx.http.ScxHttpServerResponse
- contentType(ContentTypeWritable) - Method in interface cool.scx.http.media.multi_part.MultiPartPartWritable
- contentType(ScxMediaType) - Method in interface cool.scx.http.ScxHttpClientRequest
- contentType(ScxMediaType) - Method in interface cool.scx.http.ScxHttpHeadersWritable
- contentType(ScxMediaType) - Method in interface cool.scx.http.ScxHttpServerResponse
- contentType(ScxMediaType, Charset) - Method in interface cool.scx.http.ScxHttpClientRequest
- contentType(ScxMediaType, Charset) - Method in interface cool.scx.http.ScxHttpHeadersWritable
- contentType(ScxMediaType, Charset) - Method in interface cool.scx.http.ScxHttpServerResponse
- ContentType - Interface in cool.scx.http.content_type
- ContentTypeHelper - Class in cool.scx.http.content_type
- ContentTypeHelper() - Constructor for class cool.scx.http.content_type.ContentTypeHelper
- ContentTypeImpl - Class in cool.scx.http.content_type
- ContentTypeImpl() - Constructor for class cool.scx.http.content_type.ContentTypeImpl
- ContentTypeWritable - Interface in cool.scx.http.content_type
- CONTINUE - Enum constant in enum class cool.scx.http.HttpStatusCode
-
这个临时响应表明,迄今为止的所有内容都是可行的,客户端应该继续请求,如果已经完成,则忽略它。
- Cookie - Interface in cool.scx.http.cookie
- COOKIE - Enum constant in enum class cool.scx.http.HttpFieldName
-
其中含有先前由服务器通过 Set-Cookie 标头投放或通过 JavaScript 的 Document.cookie 方法设置,然后存储到客户端的 HTTP cookie 。
- CookieHelper - Class in cool.scx.http.cookie
- CookieHelper() - Constructor for class cool.scx.http.cookie.CookieHelper
- cookies() - Method in interface cool.scx.http.ScxHttpHeaders
- cookies() - Method in interface cool.scx.http.ScxHttpHeadersWritable
- cookies() - Method in interface cool.scx.http.ScxHttpServerRequest
- cookies(Cookies) - Method in interface cool.scx.http.ScxHttpHeadersWritable
- Cookies - Interface in cool.scx.http.cookie
- CookieSameSite - Enum Class in cool.scx.http.cookie
- CookiesImpl - Class in cool.scx.http.cookie
- CookiesImpl() - Constructor for class cool.scx.http.cookie.CookiesImpl
- CookiesWritable - Interface in cool.scx.http.cookie
- CookieWritable - Interface in cool.scx.http.cookie
- cool.scx.http - package cool.scx.http
- cool.scx.http.accept - package cool.scx.http.accept
- cool.scx.http.content_disposition - package cool.scx.http.content_disposition
- cool.scx.http.content_type - package cool.scx.http.content_type
- cool.scx.http.cookie - package cool.scx.http.cookie
- cool.scx.http.exception - package cool.scx.http.exception
- cool.scx.http.media - package cool.scx.http.media
- cool.scx.http.media.byte_array - package cool.scx.http.media.byte_array
- cool.scx.http.media.empty - package cool.scx.http.media.empty
- cool.scx.http.media.form_params - package cool.scx.http.media.form_params
- cool.scx.http.media.input_stream - package cool.scx.http.media.input_stream
- cool.scx.http.media.json_node - package cool.scx.http.media.json_node
- cool.scx.http.media.multi_part - package cool.scx.http.media.multi_part
- cool.scx.http.media.object - package cool.scx.http.media.object
- cool.scx.http.media.path - package cool.scx.http.media.path
- cool.scx.http.media.string - package cool.scx.http.media.string
- cool.scx.http.range - package cool.scx.http.range
- cool.scx.http.routing - package cool.scx.http.routing
- cool.scx.http.routing.handler - package cool.scx.http.routing.handler
- cool.scx.http.uri - package cool.scx.http.uri
- CorsHandler - Class in cool.scx.http.routing.handler
- CorsHandler() - Constructor for class cool.scx.http.routing.handler.CorsHandler
- CREATED - Enum constant in enum class cool.scx.http.HttpStatusCode
-
该请求已成功,并因此创建了一个新的资源。
- creationDate() - Method in interface cool.scx.http.content_disposition.ContentDisposition
- CRLF_CRLF_BYTES - Static variable in class cool.scx.http.media.multi_part.MultiPartStream
- CSS - Enum constant in enum class cool.scx.http.FileFormat
D
- DATE - Enum constant in enum class cool.scx.http.HttpFieldName
-
其中包含了报文创建的日期和时间。
- decodeAccept(String) - Static method in class cool.scx.http.accept.AcceptHelper
- decodeAccepts(String) - Static method in class cool.scx.http.accept.AcceptHelper
- decodedContentDisposition(String) - Static method in class cool.scx.http.content_disposition.ContentDispositionHelper
- decodedContentType(String) - Static method in class cool.scx.http.content_type.ContentTypeHelper
- decodeFormParams(String) - Static method in class cool.scx.http.media.form_params.FormParamsHelper
- decodeQuery(String) - Static method in class cool.scx.http.uri.ScxURIHelper
- DELETE - Enum constant in enum class cool.scx.http.HttpMethod
-
DELETE 方法删除指定的资源。
- description() - Method in enum class cool.scx.http.HttpStatusCode
- DOC - Enum constant in enum class cool.scx.http.FileFormat
- DOCX - Enum constant in enum class cool.scx.http.FileFormat
- domain() - Method in interface cool.scx.http.cookie.Cookie
- domain(String) - Method in interface cool.scx.http.cookie.CookieWritable
E
- EmptyWriter - Class in cool.scx.http.media.empty
- EmptyWriter() - Constructor for class cool.scx.http.media.empty.EmptyWriter
- encode() - Method in interface cool.scx.http.content_disposition.ContentDisposition
- encode() - Method in class cool.scx.http.content_disposition.ContentDispositionImpl
- encode() - Method in interface cool.scx.http.content_type.ContentType
- encode() - Method in class cool.scx.http.content_type.ContentTypeImpl
- encode() - Method in interface cool.scx.http.cookie.Cookie
- encode() - Method in interface cool.scx.http.ScxHttpHeaders
- encode() - Method in interface cool.scx.http.uri.ScxURI
-
注意此编码会进行 URL编码 转换
- encode(boolean) - Method in interface cool.scx.http.uri.ScxURI
- encodeContentDisposition(ContentDisposition) - Static method in class cool.scx.http.content_disposition.ContentDispositionHelper
- encodeContentType(ContentTypeImpl) - Static method in class cool.scx.http.content_type.ContentTypeHelper
- encodeCookie() - Method in interface cool.scx.http.cookie.Cookies
- encodeCookie(Cookie) - Static method in class cool.scx.http.cookie.CookieHelper
- encodeCookie(Cookies) - Static method in class cool.scx.http.cookie.CookieHelper
- encodeFormParams(FormParams) - Static method in class cool.scx.http.media.form_params.FormParamsHelper
- encodeHeaders(ScxHttpHeaders) - Static method in class cool.scx.http.ScxHttpHeadersHelper
- encodeParams(StringBuilder, Parameters<String, String>) - Static method in class cool.scx.http.content_type.ContentTypeHelper
- encodeQuery(Parameters<String, String>, boolean) - Static method in class cool.scx.http.uri.ScxURIHelper
- encodeScxURI(ScxURI, boolean) - Static method in class cool.scx.http.uri.ScxURIHelper
- encodeSetCookie() - Method in interface cool.scx.http.cookie.Cookies
- encodeSetCookie(Cookies) - Static method in class cool.scx.http.cookie.CookieHelper
- encodeURI(String) - Static method in class cool.scx.http.uri.URIEncoder
- encodeURIComponent(String) - Static method in class cool.scx.http.uri.URIEncoder
- end() - Method in record class cool.scx.http.range.Range
-
Returns the value of the
endrecord component. - end() - Method in interface cool.scx.http.ScxHttpServerResponse
- equals(Object) - Method in record class cool.scx.http.range.Range
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cool.scx.http.routing.PathMatcher.MatchResult
-
Indicates whether some other object is "equal to" this one.
- EQUALS_SIGN_PATTERN - Static variable in class cool.scx.http.content_type.ContentTypeHelper
- errorHandler(BiConsumer<Throwable, RoutingContext>) - Method in interface cool.scx.http.routing.Router
- errorHandler(BiConsumer<Throwable, RoutingContext>) - Method in class cool.scx.http.routing.RouterImpl
- errorHandler(BiConsumer<Throwable, WebSocketRoutingContext>) - Method in class cool.scx.http.routing.WebSocketRouter
- errorHandler(Consumer<Throwable>) - Method in interface cool.scx.http.ScxHttpServer
- ETAG - Enum constant in enum class cool.scx.http.HttpFieldName
-
资源的特定版本的标识符。
- exactPath() - Method in class cool.scx.http.routing.PathMatcherImpl
- EXPECTATION_FAILED - Enum constant in enum class cool.scx.http.HttpStatusCode
-
此响应代码表示服务器无法满足 Expect 请求标头字段所指示的期望。
- EXPIRES - Enum constant in enum class cool.scx.http.HttpFieldName
-
响应头包含日期/时间,即在此时候之后,响应过期。
- exposedHeader(ScxHttpHeaderName...) - Method in class cool.scx.http.routing.handler.CorsHandler
- exposedHeader(String...) - Method in class cool.scx.http.routing.handler.CorsHandler
F
- FileFormat - Enum Class in cool.scx.http
-
常见 文件格式 (文件类型/文件后缀/文件拓展名)
- filename() - Method in interface cool.scx.http.content_disposition.ContentDisposition
- filename() - Method in interface cool.scx.http.media.multi_part.MultiPartPart
- filename(String) - Method in interface cool.scx.http.content_disposition.ContentDispositionWritable
- filename(String) - Method in interface cool.scx.http.media.multi_part.MultiPartPartWritable
- find(int) - Static method in enum class cool.scx.http.HttpStatusCode
- find(String) - Static method in enum class cool.scx.http.cookie.CookieSameSite
- find(String) - Static method in enum class cool.scx.http.HttpFieldName
- find(String) - Static method in enum class cool.scx.http.HttpMethod
- find(String) - Static method in enum class cool.scx.http.HttpVersion
- find(String) - Static method in enum class cool.scx.http.MediaType
- findByExtension(String) - Static method in enum class cool.scx.http.FileFormat
- findByFileName(String) - Static method in enum class cool.scx.http.FileFormat
- FORBIDDEN - Enum constant in enum class cool.scx.http.HttpStatusCode
-
客户端没有访问内容的权限;也就是说,它是未经授权的,因此服务器拒绝提供请求的资源。
- ForbiddenException - Exception Class in cool.scx.http.exception
-
登录了但是没权限
- ForbiddenException() - Constructor for exception class cool.scx.http.exception.ForbiddenException
- ForbiddenException(String) - Constructor for exception class cool.scx.http.exception.ForbiddenException
- ForbiddenException(String, Throwable) - Constructor for exception class cool.scx.http.exception.ForbiddenException
- ForbiddenException(Throwable) - Constructor for exception class cool.scx.http.exception.ForbiddenException
- FORM_PARAMS_READER - Static variable in class cool.scx.http.media.form_params.FormParamsReader
- FormParams - Class in cool.scx.http.media.form_params
- FormParams() - Constructor for class cool.scx.http.media.form_params.FormParams
- FormParamsHelper - Class in cool.scx.http.media.form_params
- FormParamsHelper() - Constructor for class cool.scx.http.media.form_params.FormParamsHelper
- FormParamsReader - Class in cool.scx.http.media.form_params
- FormParamsWriter - Class in cool.scx.http.media.form_params
- FormParamsWriter(FormParams) - Constructor for class cool.scx.http.media.form_params.FormParamsWriter
- FORWARDED - Enum constant in enum class cool.scx.http.HttpFieldName
-
首部中包含了代理服务器的客户端的信息,即由于代理服务器在请求路径中的介入而被修改或丢失的信息。
- FOUND - Enum constant in enum class cool.scx.http.HttpStatusCode
-
此响应代码表示所请求资源的 URI 已 暂时 更改。
- fragment() - Method in interface cool.scx.http.uri.ScxURI
- fragment() - Method in class cool.scx.http.uri.ScxURIImpl
- fragment(String) - Method in class cool.scx.http.uri.ScxURIImpl
- fragment(String) - Method in interface cool.scx.http.uri.ScxURIWritable
- FROM - Enum constant in enum class cool.scx.http.HttpFieldName
-
包含一个电子邮箱地址,这个电子邮箱地址属于发送请求的用户代理的实际掌控者的人类用户。
G
- GATEWAY_TIMEOUT - Enum constant in enum class cool.scx.http.HttpStatusCode
-
当服务器充当网关且无法及时获得响应时,会给出此错误响应。
- get(String) - Method in interface cool.scx.http.cookie.Cookies
- get(String) - Method in class cool.scx.http.cookie.CookiesImpl
- get(String) - Method in class cool.scx.http.routing.RoutingContext
- get(String) - Method in interface cool.scx.http.ScxHttpHeaders
- get(K) - Method in interface cool.scx.http.Parameters
- get(K) - Method in class cool.scx.http.ParametersImpl
- GET - Enum constant in enum class cool.scx.http.HttpMethod
-
GET 方法请求一个指定资源的表示形式,使用 GET 的请求应该只被用于获取数据。
- getAll(String) - Method in interface cool.scx.http.ScxHttpHeaders
- getAll(K) - Method in interface cool.scx.http.Parameters
- getAll(K) - Method in class cool.scx.http.ParametersImpl
- getContentTypeCharsetOrUTF8(ScxHttpHeaders) - Static method in class cool.scx.http.media.string.StringReader
- getCookie(String) - Method in interface cool.scx.http.ScxHttpHeaders
- getCookie(String) - Method in interface cool.scx.http.ScxHttpServerRequest
- getDownloadContentDisposition(String) - Static method in class cool.scx.http.HttpHelper
-
todo 这是一个 hack URLEncoder.encode 针对 ' ' (空格) 会编码为 '+' , 而这里我们需要的是编码为 %20
- getEnd(long) - Method in record class cool.scx.http.range.Range
- getFilePath(String) - Method in class cool.scx.http.routing.handler.StaticHandler
- getHeader(ScxHttpHeaderName) - Method in interface cool.scx.http.ScxHttpServerRequest
- getHeader(String) - Method in interface cool.scx.http.ScxHttpServerRequest
- getMediaTypeByExtension(String) - Static method in class cool.scx.http.HttpHelper
- getMediaTypeByFile(Path) - Static method in class cool.scx.http.routing.handler.StaticHelper
- getMediaTypeByFileName(String) - Static method in class cool.scx.http.HttpHelper
- getQuery(String) - Method in interface cool.scx.http.uri.ScxURI
- getRequestIP(ScxHttpServerRequest) - Static method in class cool.scx.http.HttpHelper
-
获取访问者IP
- getRoutes() - Method in interface cool.scx.http.routing.Router
- getRoutes() - Method in class cool.scx.http.routing.RouterImpl
- getRoutes() - Method in class cool.scx.http.routing.WebSocketRouter
- getSetCookie(String) - Method in interface cool.scx.http.ScxHttpHeaders
- getStart() - Method in record class cool.scx.http.range.Range
- GIF - Enum constant in enum class cool.scx.http.FileFormat
- GOING_AWAY - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Client is leaving (browser tab closing).
- GONE - Enum constant in enum class cool.scx.http.HttpStatusCode
-
当请求的内容已从服务器中永久删除且没有转发地址时,将发送此响应。
- groups() - Method in class cool.scx.http.routing.PathMatcherImpl
H
- handler() - Method in interface cool.scx.http.routing.Route
- handler() - Method in interface cool.scx.http.routing.WebSocketRoute
- handler(Consumer<RoutingContext>) - Method in interface cool.scx.http.routing.RouteWritable
- handler(Consumer<WebSocketRoutingContext>) - Method in interface cool.scx.http.routing.WebSocketRouteWritable
- hashCode() - Method in record class cool.scx.http.range.Range
-
Returns a hash code value for this object.
- hashCode() - Method in record class cool.scx.http.routing.PathMatcher.MatchResult
-
Returns a hash code value for this object.
- hasNext() - Method in class cool.scx.http.media.multi_part.MultiPartStream
- hasNextPart - Variable in class cool.scx.http.media.multi_part.MultiPartStream
- HEAD - Enum constant in enum class cool.scx.http.HttpMethod
-
HEAD 方法请求一个与 GET 请求的响应相同的响应,但没有响应体。
- headers - Variable in class cool.scx.http.ScxHttpClientRequestBase
- headers() - Method in interface cool.scx.http.media.multi_part.MultiPartPart
- headers() - Method in class cool.scx.http.media.multi_part.MultiPartPartImpl
- headers() - Method in interface cool.scx.http.media.multi_part.MultiPartPartWritable
- headers() - Method in interface cool.scx.http.ScxClientWebSocketBuilder
- headers() - Method in interface cool.scx.http.ScxHttpBody
- headers() - Method in class cool.scx.http.ScxHttpBodyImpl
- headers() - Method in interface cool.scx.http.ScxHttpClientRequest
- headers() - Method in class cool.scx.http.ScxHttpClientRequestBase
- headers() - Method in interface cool.scx.http.ScxHttpClientResponse
- headers() - Method in interface cool.scx.http.ScxHttpServerRequest
- headers() - Method in interface cool.scx.http.ScxHttpServerResponse
- headers() - Method in interface cool.scx.http.ScxServerWebSocket
- headers(ScxHttpHeadersWritable) - Method in class cool.scx.http.media.multi_part.MultiPartPartImpl
- headers(ScxHttpHeadersWritable) - Method in interface cool.scx.http.media.multi_part.MultiPartPartWritable
- headers(ScxHttpHeadersWritable) - Method in interface cool.scx.http.ScxClientWebSocketBuilder
- headers(ScxHttpHeadersWritable) - Method in interface cool.scx.http.ScxHttpClientRequest
- headers(ScxHttpHeadersWritable) - Method in class cool.scx.http.ScxHttpClientRequestBase
- host() - Method in interface cool.scx.http.PeerInfo
- host() - Method in class cool.scx.http.ScxHttpClientOptions.Proxy
- host() - Method in interface cool.scx.http.uri.ScxURI
- host() - Method in class cool.scx.http.uri.ScxURIImpl
- host(String) - Method in interface cool.scx.http.PeerInfoWritable
- host(String) - Method in class cool.scx.http.ScxHttpClientOptions.Proxy
- host(String) - Method in class cool.scx.http.uri.ScxURIImpl
- host(String) - Method in interface cool.scx.http.uri.ScxURIWritable
- HOST - Enum constant in enum class cool.scx.http.HttpFieldName
-
指明了请求将要发送到的服务器主机名和端口号。
- HTML - Enum constant in enum class cool.scx.http.FileFormat
- HTTP_1_1 - Enum constant in enum class cool.scx.http.HttpVersion
- HTTP_2 - Enum constant in enum class cool.scx.http.HttpVersion
- HTTP_VERSION_NOT_SUPPORTED - Enum constant in enum class cool.scx.http.HttpStatusCode
-
服务器不支持请求中使用的 HTTP 版本。
- HttpFieldName - Enum Class in cool.scx.http
-
HttpFieldName
- HttpHelper - Class in cool.scx.http
-
HttpHelper
- HttpHelper() - Constructor for class cool.scx.http.HttpHelper
- HttpMethod - Enum Class in cool.scx.http
-
HttpMethod
- httpOnly() - Method in interface cool.scx.http.cookie.Cookie
- httpOnly(boolean) - Method in interface cool.scx.http.cookie.CookieWritable
- HttpStatusCode - Enum Class in cool.scx.http
-
HttpStatusCode
- HttpVersion - Enum Class in cool.scx.http
-
HttpVersion
I
- IF_MATCH - Enum constant in enum class cool.scx.http.HttpFieldName
-
这是一个条件请求。
- IF_MODIFIED_SINCE - Enum constant in enum class cool.scx.http.HttpFieldName
-
是一个条件式请求首部,服务器只在所请求的资源在给定的日期时间之后对内容进行过修改的情况下才会将资源返回,状态码为 200 。
- IF_NONE_MATCH - Enum constant in enum class cool.scx.http.HttpFieldName
-
是一个条件式请求首部。
- IF_RANGE - Enum constant in enum class cool.scx.http.HttpFieldName
-
If-Range HTTP 请求头字段用来使得 Range 头字段在一定条件下起作用:当字段值中的条件得到满足时,Range 头字段才会起作用,同时服务器回复206 部分内容状态码,以及**Range** 头字段请求的相应部分;如果字段值中的条件没有得到满足,服务器将会返回 200 OK 状态码,并返回完整的请求资源。
- IF_UNMODIFIED_SINCE - Enum constant in enum class cool.scx.http.HttpFieldName
-
用于请求之中,使得当前请求成为条件式请求:只有当资源在指定的时间之后没有进行过修改的情况下,服务器才会返回请求的资源,或是接受 POST 或其他 non-safe 方法的请求。
- IMAGE_BMP - Enum constant in enum class cool.scx.http.MediaType
- IMAGE_GIF - Enum constant in enum class cool.scx.http.MediaType
- IMAGE_JPEG - Enum constant in enum class cool.scx.http.MediaType
- IMAGE_PNG - Enum constant in enum class cool.scx.http.MediaType
- IMAGE_SVG - Enum constant in enum class cool.scx.http.MediaType
- IMAGE_WEBP - Enum constant in enum class cool.scx.http.MediaType
- INPUT_STREAM_READER - Static variable in class cool.scx.http.media.input_stream.InputStreamReader
- inputStream() - Method in interface cool.scx.http.media.multi_part.MultiPartPart
- inputStream() - Method in interface cool.scx.http.ScxHttpBody
- inputStream() - Method in class cool.scx.http.ScxHttpBodyImpl
- InputStreamReader - Class in cool.scx.http.media.input_stream
-
此类保持单例模式即可
- InputStreamWriter - Class in cool.scx.http.media.input_stream
- InputStreamWriter(InputStream) - Constructor for class cool.scx.http.media.input_stream.InputStreamWriter
- INTERNAL_SERVER_ERROR - Enum constant in enum class cool.scx.http.HttpStatusCode
-
服务器遇到了不知道如何处理的情况。
- InternalServerErrorException - Exception Class in cool.scx.http.exception
-
服务器内部异常
- InternalServerErrorException() - Constructor for exception class cool.scx.http.exception.InternalServerErrorException
- InternalServerErrorException(String) - Constructor for exception class cool.scx.http.exception.InternalServerErrorException
- InternalServerErrorException(String, Throwable) - Constructor for exception class cool.scx.http.exception.InternalServerErrorException
- InternalServerErrorException(Throwable) - Constructor for exception class cool.scx.http.exception.InternalServerErrorException
- isClosed() - Method in interface cool.scx.http.ScxHttpServerResponse
- isClosed() - Method in interface cool.scx.http.ScxWebSocket
- isEmpty() - Method in interface cool.scx.http.Parameters
- iterator() - Method in class cool.scx.http.accept.AcceptsImpl
- iterator() - Method in class cool.scx.http.cookie.CookiesImpl
- iterator() - Method in class cool.scx.http.media.multi_part.MultiPartImpl
- iterator() - Method in class cool.scx.http.media.multi_part.MultiPartStream
- iterator() - Method in class cool.scx.http.ParametersImpl
J
- JPEG - Enum constant in enum class cool.scx.http.FileFormat
- JPG - Enum constant in enum class cool.scx.http.FileFormat
- JS - Enum constant in enum class cool.scx.http.FileFormat
- JSON - Enum constant in enum class cool.scx.http.FileFormat
- JSON_NODE_READER - Static variable in class cool.scx.http.media.json_node.JsonNodeReader
- JsonNodeReader - Class in cool.scx.http.media.json_node
- JsonNodeReader() - Constructor for class cool.scx.http.media.json_node.JsonNodeReader
- JsonNodeWriter - Class in cool.scx.http.media.json_node
- JsonNodeWriter(JsonNode) - Constructor for class cool.scx.http.media.json_node.JsonNodeWriter
L
- LAST_MODIFIED - Enum constant in enum class cool.scx.http.HttpFieldName
-
包含源头服务器认定的资源做出修改的日期及时间。
- LAX - Enum constant in enum class cool.scx.http.cookie.CookieSameSite
- LENGTH_REQUIRED - Enum constant in enum class cool.scx.http.HttpStatusCode
-
服务端拒绝该请求因为 Content-Length 头部字段未定义但是服务端需要它。
- linkedDataReader - Variable in class cool.scx.http.media.multi_part.MultiPartStream
- localPeer() - Method in interface cool.scx.http.ScxHttpServerRequest
- LOCATION - Enum constant in enum class cool.scx.http.HttpFieldName
-
首部指定的是需要将页面重新定向至的地址。
M
- matches(ScxHttpMethod) - Method in interface cool.scx.http.routing.MethodMatcher
- matches(String) - Method in interface cool.scx.http.routing.PathMatcher
- matches(String) - Method in class cool.scx.http.routing.PathMatcherImpl
- MatchResult(boolean, Parameters<String, String>) - Constructor for record class cool.scx.http.routing.PathMatcher.MatchResult
-
Creates an instance of a
MatchResultrecord class. - MAX_FORWARDS - Enum constant in enum class cool.scx.http.HttpFieldName
-
请求标头被用于限制 TRACE 方法可经过的服务器(通常指代理服务器)数目。
- maxAge() - Method in interface cool.scx.http.cookie.Cookie
- maxAge(Long) - Method in interface cool.scx.http.cookie.CookieWritable
- maxAgeSeconds(int) - Method in class cool.scx.http.routing.handler.CorsHandler
- maxPayloadSize() - Method in class cool.scx.http.ScxHttpServerOptions
- maxPayloadSize(long) - Method in class cool.scx.http.ScxHttpServerOptions
- MediaReader<T> - Interface in cool.scx.http.media
-
读取器 可用于 ServerRequest 和 ClientResponse
- mediaType() - Method in interface cool.scx.http.accept.Accept
- mediaType() - Method in class cool.scx.http.accept.AcceptImpl
- mediaType() - Method in interface cool.scx.http.content_type.ContentType
- mediaType() - Method in class cool.scx.http.content_type.ContentTypeImpl
- mediaType() - Method in enum class cool.scx.http.FileFormat
-
对应的 mediaType
- mediaType(ScxMediaType) - Method in class cool.scx.http.accept.AcceptImpl
- mediaType(ScxMediaType) - Method in interface cool.scx.http.accept.AcceptWritable
- mediaType(ScxMediaType) - Method in class cool.scx.http.content_type.ContentTypeImpl
- mediaType(ScxMediaType) - Method in interface cool.scx.http.content_type.ContentTypeWritable
- MediaType - Enum Class in cool.scx.http
-
MediaType
- MediaWriter - Interface in cool.scx.http.media
-
写入器 可用于 ServerResponse 和 ClientRequest
- method - Variable in class cool.scx.http.ScxHttpClientRequestBase
- method() - Method in interface cool.scx.http.ScxHttpClientRequest
- method() - Method in class cool.scx.http.ScxHttpClientRequestBase
- method() - Method in interface cool.scx.http.ScxHttpServerRequest
- method(HttpMethod) - Method in interface cool.scx.http.ScxHttpClientRequest
- method(HttpMethod) - Method in class cool.scx.http.ScxHttpClientRequestBase
- method(HttpMethod...) - Method in interface cool.scx.http.routing.RouteWritable
- METHOD_NOT_ALLOWED - Enum constant in enum class cool.scx.http.HttpStatusCode
-
服务器知道请求方法,但目标资源不支持该方法。
- methodMatcher() - Method in interface cool.scx.http.routing.Route
- MethodMatcher - Interface in cool.scx.http.routing
-
MethodMatcher
- MethodNotAllowedException - Exception Class in cool.scx.http.exception
-
方法不被允许
- MethodNotAllowedException() - Constructor for exception class cool.scx.http.exception.MethodNotAllowedException
- MethodNotAllowedException(String) - Constructor for exception class cool.scx.http.exception.MethodNotAllowedException
- MethodNotAllowedException(String, Throwable) - Constructor for exception class cool.scx.http.exception.MethodNotAllowedException
- MethodNotAllowedException(Throwable) - Constructor for exception class cool.scx.http.exception.MethodNotAllowedException
- methods() - Method in interface cool.scx.http.routing.Route
- MISDIRECTED_REQUEST - Enum constant in enum class cool.scx.http.HttpStatusCode
-
请求被定向到无法生成响应的服务器。
- modificationDate() - Method in interface cool.scx.http.content_disposition.ContentDisposition
- MOVED_PERMANENTLY - Enum constant in enum class cool.scx.http.HttpStatusCode
-
请求资源的 URL 已永久更改。
- MP3 - Enum constant in enum class cool.scx.http.FileFormat
- MP4 - Enum constant in enum class cool.scx.http.FileFormat
- MULTI_PART_READER - Static variable in class cool.scx.http.media.multi_part.MultiPartStreamReader
- MULTI_PART_READER_CACHED - Static variable in class cool.scx.http.media.multi_part.MultiPartStreamCachedReader
- MultiPart - Interface in cool.scx.http.media.multi_part
- MULTIPART_FORM_DATA - Enum constant in enum class cool.scx.http.MediaType
- MultiPartImpl - Class in cool.scx.http.media.multi_part
- MultiPartImpl(String) - Constructor for class cool.scx.http.media.multi_part.MultiPartImpl
- MultiPartPart - Interface in cool.scx.http.media.multi_part
- MultiPartPartImpl - Class in cool.scx.http.media.multi_part
- MultiPartPartImpl() - Constructor for class cool.scx.http.media.multi_part.MultiPartPartImpl
- MultiPartPartWritable - Interface in cool.scx.http.media.multi_part
- MultiPartStream - Class in cool.scx.http.media.multi_part
- MultiPartStream(InputStream, String) - Constructor for class cool.scx.http.media.multi_part.MultiPartStream
- MultiPartStreamCached - Class in cool.scx.http.media.multi_part
- MultiPartStreamCached(InputStream, String, Path) - Constructor for class cool.scx.http.media.multi_part.MultiPartStreamCached
- MultiPartStreamCachedReader - Class in cool.scx.http.media.multi_part
- MultiPartStreamCachedReader() - Constructor for class cool.scx.http.media.multi_part.MultiPartStreamCachedReader
- MultiPartStreamCachedReader(Path) - Constructor for class cool.scx.http.media.multi_part.MultiPartStreamCachedReader
- MultiPartStreamReader - Class in cool.scx.http.media.multi_part
- MultiPartStreamReader() - Constructor for class cool.scx.http.media.multi_part.MultiPartStreamReader
- MultiPartWritable - Interface in cool.scx.http.media.multi_part
- MultiPartWriter - Class in cool.scx.http.media.multi_part
- MultiPartWriter(MultiPart) - Constructor for class cool.scx.http.media.multi_part.MultiPartWriter
- MULTIPLE_CHOICES - Enum constant in enum class cool.scx.http.HttpStatusCode
-
请求拥有多个可能的响应。
N
- name() - Method in interface cool.scx.http.content_disposition.ContentDisposition
- name() - Method in interface cool.scx.http.cookie.Cookie
- name() - Method in interface cool.scx.http.media.multi_part.MultiPartPart
- name(String) - Method in interface cool.scx.http.content_disposition.ContentDispositionWritable
- name(String) - Method in interface cool.scx.http.media.multi_part.MultiPartPartWritable
- names() - Method in interface cool.scx.http.Parameters
- names() - Method in class cool.scx.http.ParametersImpl
- needCached(ScxHttpHeaders) - Static method in class cool.scx.http.media.multi_part.MultiPartStreamCached
- next() - Method in class cool.scx.http.media.multi_part.MultiPartStream
- next() - Method in class cool.scx.http.media.multi_part.MultiPartStreamCached
- next() - Method in class cool.scx.http.routing.RoutingContext
- next() - Method in class cool.scx.http.routing.WebSocketRoutingContext
- NO_CONTENT - Enum constant in enum class cool.scx.http.HttpStatusCode
-
对于该请求没有的内容可发送,但头部字段可能有用。
- NO_EXTENSION - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Client wanted an extension which server did not negotiate.
- NO_STATUS_CODE - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Expected close status, received none.
- NON_AUTHORITATIVE_INFORMATION - Enum constant in enum class cool.scx.http.HttpStatusCode
-
服务器已成功处理了请求,但返回的实体头部元信息不是在原始服务器上有效的确定集合,而是来自本地或者第三方的拷贝。
- NONE - Enum constant in enum class cool.scx.http.cookie.CookieSameSite
- NORMAL_CLOSE - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Code to use with
ScxWebSocket.close(int, String)to indicate normal close operation. - NOT_ACCEPTABLE - Enum constant in enum class cool.scx.http.HttpStatusCode
-
当 web 服务器在执行服务端驱动型内容协商机制后,没有发现任何符合用户代理给定标准的内容时,就会发送此响应。
- NOT_CONSISTENT - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Endpoint received inconsistent message (e.g. malformed UTF-8).
- NOT_FOUND - Enum constant in enum class cool.scx.http.HttpStatusCode
-
服务器找不到请求的资源。
- NOT_IMPLEMENTED - Enum constant in enum class cool.scx.http.HttpStatusCode
-
服务器不支持请求方法,因此无法处理。
- NOT_MODIFIED - Enum constant in enum class cool.scx.http.HttpStatusCode
-
这是用于缓存的目的。
- NotFoundException - Exception Class in cool.scx.http.exception
-
404 not found 未找到异常
- NotFoundException() - Constructor for exception class cool.scx.http.exception.NotFoundException
- NotFoundException(String) - Constructor for exception class cool.scx.http.exception.NotFoundException
- NotFoundException(String, Throwable) - Constructor for exception class cool.scx.http.exception.NotFoundException
- NotFoundException(Throwable) - Constructor for exception class cool.scx.http.exception.NotFoundException
O
- ObjectReader<T> - Class in cool.scx.http.media.object
- ObjectReader(TypeReference<T>) - Constructor for class cool.scx.http.media.object.ObjectReader
- ObjectReader(JavaType) - Constructor for class cool.scx.http.media.object.ObjectReader
- ObjectReader(Class<T>) - Constructor for class cool.scx.http.media.object.ObjectReader
- ObjectWriter - Class in cool.scx.http.media.object
- ObjectWriter(Object) - Constructor for class cool.scx.http.media.object.ObjectWriter
- of() - Static method in interface cool.scx.http.content_disposition.ContentDisposition
- of() - Static method in interface cool.scx.http.content_type.ContentType
- of() - Static method in interface cool.scx.http.cookie.Cookies
- of() - Static method in interface cool.scx.http.media.multi_part.MultiPart
- of() - Static method in interface cool.scx.http.media.multi_part.MultiPartPart
- of() - Static method in interface cool.scx.http.Parameters
- of() - Static method in interface cool.scx.http.PeerInfo
- of() - Static method in interface cool.scx.http.routing.Route
- of() - Static method in interface cool.scx.http.routing.Router
- of() - Static method in interface cool.scx.http.routing.WebSocketRoute
- of() - Static method in interface cool.scx.http.ScxHttpHeaders
- of() - Static method in interface cool.scx.http.uri.ScxURI
- of(int) - Static method in enum class cool.scx.http.HttpStatusCode
- of(ScxHttpMethod...) - Static method in interface cool.scx.http.routing.MethodMatcher
- of(ScxMediaType) - Static method in interface cool.scx.http.content_type.ContentType
- of(String) - Static method in interface cool.scx.http.accept.Accept
- of(String) - Static method in interface cool.scx.http.accept.Accepts
- of(String) - Static method in interface cool.scx.http.content_disposition.ContentDisposition
- of(String) - Static method in interface cool.scx.http.content_type.ContentType
- of(String) - Static method in interface cool.scx.http.cookie.Cookies
-
cookie 头
- of(String) - Static method in enum class cool.scx.http.cookie.CookieSameSite
- of(String) - Static method in enum class cool.scx.http.HttpFieldName
- of(String) - Static method in enum class cool.scx.http.HttpMethod
- of(String) - Static method in enum class cool.scx.http.HttpVersion
- of(String) - Static method in interface cool.scx.http.media.multi_part.MultiPart
- of(String) - Static method in enum class cool.scx.http.MediaType
- of(String) - Static method in interface cool.scx.http.routing.PathMatcher
- of(String) - Static method in interface cool.scx.http.ScxHttpHeaderName
- of(String) - Static method in interface cool.scx.http.ScxHttpHeaders
- of(String) - Static method in interface cool.scx.http.ScxHttpMethod
- of(String) - Static method in interface cool.scx.http.ScxMediaType
- of(String) - Static method in interface cool.scx.http.uri.ScxURI
- of(String[]) - Static method in interface cool.scx.http.cookie.Cookies
-
set-cookie 头
- of(String, byte[]) - Static method in interface cool.scx.http.media.multi_part.MultiPartPart
- of(String, String) - Static method in interface cool.scx.http.cookie.Cookie
- of(String, String) - Static method in interface cool.scx.http.media.multi_part.MultiPartPart
- of(String, Path) - Static method in interface cool.scx.http.media.multi_part.MultiPartPart
- of(URI) - Static method in interface cool.scx.http.uri.ScxURI
- ofRegex(String) - Static method in interface cool.scx.http.routing.PathMatcher
- OK - Enum constant in enum class cool.scx.http.HttpStatusCode
-
请求成功。
- onBinaryMessage(Consumer<byte[]>) - Method in interface cool.scx.http.ScxWebSocket
- onClose(BiConsumer<Integer, String>) - Method in interface cool.scx.http.ScxWebSocket
- onConnect(Consumer<ScxClientWebSocket>) - Method in interface cool.scx.http.ScxClientWebSocketBuilder
- onError(Consumer<Throwable>) - Method in interface cool.scx.http.ScxWebSocket
- onPing(Consumer<byte[]>) - Method in interface cool.scx.http.ScxWebSocket
- onPong(Consumer<byte[]>) - Method in interface cool.scx.http.ScxWebSocket
- onTextMessage(Consumer<String>) - Method in interface cool.scx.http.ScxWebSocket
- OPTIONS - Enum constant in enum class cool.scx.http.HttpMethod
-
OPTIONS 方法用于描述目标资源的通信选项。
- order() - Method in interface cool.scx.http.routing.Route
- order() - Method in interface cool.scx.http.routing.WebSocketRoute
- order(int) - Method in interface cool.scx.http.routing.RouteWritable
- order(int) - Method in interface cool.scx.http.routing.WebSocketRouteWritable
- ORIGIN - Enum constant in enum class cool.scx.http.HttpFieldName
-
表示了请求的来源(协议、主机、端口)。
- outputStream() - Method in interface cool.scx.http.ScxHttpServerResponse
P
- Parameters<K,
V> - Interface in cool.scx.http -
Parameters 类似 MultiMap 但是分为 只读 和 可读可写 两种类型 , 以便实现更细粒度的控制 ( 默认实现 基于 MultiMap)
- ParametersImpl<K,
V> - Class in cool.scx.http -
ParametersImpl
- ParametersImpl() - Constructor for class cool.scx.http.ParametersImpl
- ParametersWritable<K,
V> - Interface in cool.scx.http -
ParametersWritable
- params() - Method in interface cool.scx.http.content_disposition.ContentDisposition
- params() - Method in class cool.scx.http.content_disposition.ContentDispositionImpl
- params() - Method in interface cool.scx.http.content_disposition.ContentDispositionWritable
- params() - Method in interface cool.scx.http.content_type.ContentType
- params() - Method in class cool.scx.http.content_type.ContentTypeImpl
- params() - Method in interface cool.scx.http.content_type.ContentTypeWritable
- params(ParametersWritable<String, String>) - Method in class cool.scx.http.content_disposition.ContentDispositionImpl
- params(ParametersWritable<String, String>) - Method in interface cool.scx.http.content_disposition.ContentDispositionWritable
- params(ParametersWritable<String, String>) - Method in class cool.scx.http.content_type.ContentTypeImpl
- params(ParametersWritable<String, String>) - Method in interface cool.scx.http.content_type.ContentTypeWritable
- parseCookies(String) - Static method in class cool.scx.http.cookie.CookieHelper
-
注意 用来解析 cookie 不是 setCookie
- parseHeaders(String) - Static method in class cool.scx.http.ScxHttpHeadersHelper
- parseRange(String) - Static method in record class cool.scx.http.range.Range
- parseSetCookie(String) - Static method in class cool.scx.http.cookie.CookieHelper
- parseSetCookie(String[]) - Static method in class cool.scx.http.cookie.CookieHelper
- PARTIAL_CONTENT - Enum constant in enum class cool.scx.http.HttpStatusCode
-
当从客户端发送Range范围标头以只请求资源的一部分时,将使用此响应代码。
- password() - Method in class cool.scx.http.ScxHttpClientOptions.Proxy
- password(char[]) - Method in class cool.scx.http.ScxHttpClientOptions.Proxy
- PATCH - Enum constant in enum class cool.scx.http.HttpMethod
-
PATCH 方法用于对资源应用部分修改。
- path() - Method in interface cool.scx.http.cookie.Cookie
- path() - Method in class cool.scx.http.routing.PathMatcherImpl
- path() - Method in interface cool.scx.http.routing.Route
- path() - Method in interface cool.scx.http.routing.WebSocketRoute
- path() - Method in interface cool.scx.http.ScxHttpServerRequest
- path() - Method in interface cool.scx.http.ScxServerWebSocket
- path() - Method in interface cool.scx.http.uri.ScxURI
- path() - Method in class cool.scx.http.uri.ScxURIImpl
- path(String) - Method in interface cool.scx.http.cookie.CookieWritable
- path(String) - Method in interface cool.scx.http.routing.RouteWritable
- path(String) - Method in interface cool.scx.http.routing.WebSocketRouteWritable
- path(String) - Method in class cool.scx.http.uri.ScxURIImpl
- path(String) - Method in interface cool.scx.http.uri.ScxURIWritable
- pathMatcher() - Method in interface cool.scx.http.routing.Route
- pathMatcher() - Method in interface cool.scx.http.routing.WebSocketRoute
- PathMatcher - Interface in cool.scx.http.routing
-
PathMatcher
- PathMatcher.MatchResult - Record Class in cool.scx.http.routing
- PathMatcherImpl - Class in cool.scx.http.routing
-
PathMatcherImpl (Some Code Copy From Vertx RouteImpl)
- pathParams() - Method in record class cool.scx.http.routing.PathMatcher.MatchResult
-
Returns the value of the
pathParamsrecord component. - pathParams() - Method in class cool.scx.http.routing.RoutingContext
- pathParams() - Method in class cool.scx.http.routing.WebSocketRoutingContext
- PathReader - Class in cool.scx.http.media.path
-
将内容写入到文件
- PathReader(Path, OpenOption...) - Constructor for class cool.scx.http.media.path.PathReader
-
写入的路径
- pathRegex(String) - Method in interface cool.scx.http.routing.RouteWritable
- pathRegex(String) - Method in interface cool.scx.http.routing.WebSocketRouteWritable
- PathWriter - Class in cool.scx.http.media.path
- PathWriter(Path) - Constructor for class cool.scx.http.media.path.PathWriter
- PathWriter(Path, long, long) - Constructor for class cool.scx.http.media.path.PathWriter
- pattern() - Method in class cool.scx.http.routing.PathMatcherImpl
- PAYMENT_REQUIRED - Enum constant in enum class cool.scx.http.HttpStatusCode
-
此响应代码保留供将来使用。
- PDF - Enum constant in enum class cool.scx.http.FileFormat
- PeerInfo - Interface in cool.scx.http
-
PeerInfo
- PeerInfoWritable - Interface in cool.scx.http
-
PeerInfoWritable
- PERMANENT_REDIRECT - Enum constant in enum class cool.scx.http.HttpStatusCode
-
这意味着资源现在永久位于由Location: HTTP Response 标头指定的另一个 URI。
- ping(byte[]) - Method in interface cool.scx.http.ScxWebSocket
- PNG - Enum constant in enum class cool.scx.http.FileFormat
- pong(byte[]) - Method in interface cool.scx.http.ScxWebSocket
- port() - Method in interface cool.scx.http.PeerInfo
- port() - Method in class cool.scx.http.ScxHttpClientOptions.Proxy
- port() - Method in interface cool.scx.http.ScxHttpServer
- port() - Method in class cool.scx.http.ScxHttpServerOptions
- port() - Method in interface cool.scx.http.uri.ScxURI
- port() - Method in class cool.scx.http.uri.ScxURIImpl
- port(int) - Method in interface cool.scx.http.PeerInfoWritable
- port(int) - Method in class cool.scx.http.ScxHttpClientOptions.Proxy
- port(int) - Method in class cool.scx.http.ScxHttpServerOptions
- port(int) - Method in class cool.scx.http.uri.ScxURIImpl
- port(int) - Method in interface cool.scx.http.uri.ScxURIWritable
- POST - Enum constant in enum class cool.scx.http.HttpMethod
-
POST 方法用于将实体提交到指定的资源,通常导致在服务器上的状态变化或副作用。
- PPT - Enum constant in enum class cool.scx.http.FileFormat
- PPTX - Enum constant in enum class cool.scx.http.FileFormat
- PRECONDITION_FAILED - Enum constant in enum class cool.scx.http.HttpStatusCode
-
客户端在其头文件中指出了服务器不满足的先决条件。
- PROTOCOL_ERROR - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Endpoint received a malformed frame.
- proxy() - Method in class cool.scx.http.ScxHttpClientOptions
- proxy(ScxHttpClientOptions.Proxy) - Method in class cool.scx.http.ScxHttpClientOptions
- Proxy() - Constructor for class cool.scx.http.ScxHttpClientOptions.Proxy
- PROXY_AUTHENTICATE - Enum constant in enum class cool.scx.http.HttpFieldName
-
指定了获取 proxy server(代理服务器)上的资源访问权限而采用的身份验证方式。
- PROXY_AUTHENTICATION_REQUIRED - Enum constant in enum class cool.scx.http.HttpStatusCode
-
类似于 401 Unauthorized 但是认证需要由代理完成。
- PROXY_AUTHORIZATION - Enum constant in enum class cool.scx.http.HttpFieldName
-
是一个请求首部,其中包含了用户代理提供给代理服务器的用于身份验证的凭证。
- put(String, Object) - Method in class cool.scx.http.routing.RoutingContext
- PUT - Enum constant in enum class cool.scx.http.HttpMethod
-
PUT 方法用有效载荷请求替换目标资源的所有当前表示。
Q
- q() - Method in interface cool.scx.http.accept.Accept
- q() - Method in class cool.scx.http.accept.AcceptImpl
- q(Double) - Method in class cool.scx.http.accept.AcceptImpl
- q(Double) - Method in interface cool.scx.http.accept.AcceptWritable
- query() - Method in interface cool.scx.http.ScxHttpServerRequest
- query() - Method in interface cool.scx.http.ScxServerWebSocket
- query() - Method in interface cool.scx.http.uri.ScxURI
- query() - Method in class cool.scx.http.uri.ScxURIImpl
- query() - Method in interface cool.scx.http.uri.ScxURIWritable
- query(ParametersWritable<String, String>) - Method in class cool.scx.http.uri.ScxURIImpl
- query(ParametersWritable<String, String>) - Method in interface cool.scx.http.uri.ScxURIWritable
- query(String) - Method in interface cool.scx.http.uri.ScxURIWritable
R
- Range - Record Class in cool.scx.http.range
-
HttpHeader Range
- Range(Long, Long) - Constructor for record class cool.scx.http.range.Range
-
Creates an instance of a
Rangerecord class. - RANGE - Enum constant in enum class cool.scx.http.HttpFieldName
-
是一个请求首部,告知服务器返回文件的哪一部分。
- RANGE_NOT_SATISFIABLE - Enum constant in enum class cool.scx.http.HttpStatusCode
-
无法满足请求中 Range 标头字段指定的范围。
- read(InputStream, ScxHttpHeaders) - Method in class cool.scx.http.media.byte_array.ByteArrayReader
- read(InputStream, ScxHttpHeaders) - Method in class cool.scx.http.media.form_params.FormParamsReader
- read(InputStream, ScxHttpHeaders) - Method in class cool.scx.http.media.input_stream.InputStreamReader
- read(InputStream, ScxHttpHeaders) - Method in class cool.scx.http.media.json_node.JsonNodeReader
- read(InputStream, ScxHttpHeaders) - Method in interface cool.scx.http.media.MediaReader
- read(InputStream, ScxHttpHeaders) - Method in class cool.scx.http.media.multi_part.MultiPartStreamCachedReader
- read(InputStream, ScxHttpHeaders) - Method in class cool.scx.http.media.multi_part.MultiPartStreamReader
- read(InputStream, ScxHttpHeaders) - Method in class cool.scx.http.media.object.ObjectReader
- read(InputStream, ScxHttpHeaders) - Method in class cool.scx.http.media.path.PathReader
- read(InputStream, ScxHttpHeaders) - Method in class cool.scx.http.media.string.StringReader
- readContentToByte() - Method in class cool.scx.http.media.multi_part.MultiPartStream
- readContentToPath(Path) - Method in class cool.scx.http.media.multi_part.MultiPartStreamCached
- readDate() - Method in interface cool.scx.http.content_disposition.ContentDisposition
- readNext() - Method in class cool.scx.http.media.multi_part.MultiPartStream
- readToHeaders() - Method in class cool.scx.http.media.multi_part.MultiPartStream
- reason() - Method in enum class cool.scx.http.WebSocketCloseCode
- REFERER - Enum constant in enum class cool.scx.http.HttpFieldName
- REGISTERED_AT_IANA_MAX - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Registered at IANA max value.
- REGISTERED_AT_IANA_MIN - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Registered at IANA min value.
- remotePeer() - Method in interface cool.scx.http.ScxHttpServerRequest
- remove(Accept) - Method in class cool.scx.http.accept.AcceptsImpl
- remove(Accept) - Method in interface cool.scx.http.accept.AcceptsWritable
- remove(String) - Method in class cool.scx.http.cookie.CookiesImpl
- remove(String) - Method in interface cool.scx.http.cookie.CookiesWritable
- remove(String) - Method in class cool.scx.http.media.form_params.FormParams
- remove(String) - Method in interface cool.scx.http.ScxHttpHeadersWritable
- remove(K) - Method in class cool.scx.http.ParametersImpl
- remove(K) - Method in interface cool.scx.http.ParametersWritable
- removeCookie(String) - Method in interface cool.scx.http.ScxClientWebSocketBuilder
- removeCookie(String) - Method in interface cool.scx.http.ScxHttpClientRequest
- removeCookie(String) - Method in interface cool.scx.http.ScxHttpHeadersWritable
- removeQuery(String) - Method in interface cool.scx.http.uri.ScxURIWritable
- removeSetCookie(String) - Method in interface cool.scx.http.ScxHttpHeadersWritable
- removeSetCookie(String) - Method in interface cool.scx.http.ScxHttpServerResponse
- request() - Method in class cool.scx.http.routing.RoutingContext
- request() - Method in interface cool.scx.http.ScxHttpClient
- request() - Method in interface cool.scx.http.ScxHttpServerResponse
- REQUEST_HEADER_FIELDS_TOO_LARGE - Enum constant in enum class cool.scx.http.HttpStatusCode
-
表示由于请求中的首部字段的值过大,服务器拒绝接受客户端的请求。
- REQUEST_TIMEOUT - Enum constant in enum class cool.scx.http.HttpStatusCode
-
此响应由一些服务器在空闲连接上发送,即使客户端之前没有任何请求。
- requestHandler(Consumer<ScxHttpServerRequest>) - Method in interface cool.scx.http.ScxHttpServer
- RESERVED_FOR_EXTENSIONS_MAX - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Reserved for extensions max value.
- RESERVED_FOR_EXTENSIONS_MIN - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Reserved for extensions min value.
- RESERVED_FOR_LATER_MAX - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Reserved for later max value.
- RESERVED_FOR_LATER_MIN - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Reserved for later min value.
- RESET_CONTENT - Enum constant in enum class cool.scx.http.HttpStatusCode
-
告诉用户代理重置发送此请求的文档。
- response() - Method in class cool.scx.http.routing.RoutingContext
- response() - Method in interface cool.scx.http.ScxHttpServerRequest
- route() - Method in interface cool.scx.http.routing.Router
- route(int) - Method in interface cool.scx.http.routing.Router
- Route - Interface in cool.scx.http.routing
-
Route 路由只保存状态不做行为处理
- Router - Interface in cool.scx.http.routing
- RouterImpl - Class in cool.scx.http.routing
-
Router
- RouterImpl() - Constructor for class cool.scx.http.routing.RouterImpl
- RouteWritable - Interface in cool.scx.http.routing
-
RouteWritable
- RoutingContext - Class in cool.scx.http.routing
-
RoutingContext
S
- sameSite() - Method in interface cool.scx.http.cookie.Cookie
- sameSite(CookieSameSite) - Method in interface cool.scx.http.cookie.CookieWritable
- scheme() - Method in interface cool.scx.http.uri.ScxURI
- scheme() - Method in class cool.scx.http.uri.ScxURIImpl
- scheme(String) - Method in class cool.scx.http.uri.ScxURIImpl
- scheme(String) - Method in interface cool.scx.http.uri.ScxURIWritable
- ScxClientWebSocket - Interface in cool.scx.http
-
ScxClientWebSocket
- ScxClientWebSocketBuilder - Interface in cool.scx.http
-
ScxClientWebSocketBuilder
- ScxHttpBody - Interface in cool.scx.http
-
ScxHttpBody
- ScxHttpBodyImpl - Class in cool.scx.http
- ScxHttpBodyImpl(InputStream, ScxHttpHeaders, int) - Constructor for class cool.scx.http.ScxHttpBodyImpl
- ScxHttpClient - Interface in cool.scx.http
-
ScxHttpClient
- ScxHttpClientOptions - Class in cool.scx.http
-
ScxHttpClientOptions
- ScxHttpClientOptions() - Constructor for class cool.scx.http.ScxHttpClientOptions
- ScxHttpClientOptions.Proxy - Class in cool.scx.http
- ScxHttpClientRequest - Interface in cool.scx.http
-
ScxHttpClientRequest
- ScxHttpClientRequestBase - Class in cool.scx.http
-
ScxHttpClientRequestBase
- ScxHttpClientRequestBase() - Constructor for class cool.scx.http.ScxHttpClientRequestBase
- ScxHttpClientResponse - Interface in cool.scx.http
-
ScxHttpClientResponse
- ScxHttpException - Exception Class in cool.scx.http.exception
-
当我们的代码中有需要向客户端返回错误信息的时候
- ScxHttpException(HttpStatusCode) - Constructor for exception class cool.scx.http.exception.ScxHttpException
- ScxHttpException(HttpStatusCode, String) - Constructor for exception class cool.scx.http.exception.ScxHttpException
- ScxHttpException(HttpStatusCode, String, Throwable) - Constructor for exception class cool.scx.http.exception.ScxHttpException
- ScxHttpException(HttpStatusCode, Throwable) - Constructor for exception class cool.scx.http.exception.ScxHttpException
- ScxHttpHeaderName - Interface in cool.scx.http
-
HttpHeaderName 是不区分大小写的 所以我们这里全部按照小写处理
- ScxHttpHeaders - Interface in cool.scx.http
-
只读的 Headers 可用于 ServerRequest 和 ClientResponse 在 Parameters 的基础上实现了一些 方便操作 Http 头协议的方法
- ScxHttpHeadersHelper - Class in cool.scx.http
- ScxHttpHeadersHelper() - Constructor for class cool.scx.http.ScxHttpHeadersHelper
- ScxHttpHeadersWritable - Interface in cool.scx.http
-
可写的 Headers 可用于 ServerResponse 和 ClientRequest 在 Parameters 的基础上实现了一些 方便操作 Http 头协议的方法
- ScxHttpMethod - Interface in cool.scx.http
-
HTTP Method (注意 需要 区分大小写)
- ScxHttpServer - Interface in cool.scx.http
-
ScxHttpServer
- ScxHttpServerOptions - Class in cool.scx.http
-
ScxHttpServerOptions
- ScxHttpServerOptions() - Constructor for class cool.scx.http.ScxHttpServerOptions
- ScxHttpServerRequest - Interface in cool.scx.http
-
ScxHttpServerRequest
- ScxHttpServerResponse - Interface in cool.scx.http
-
ScxHttpServerResponse
- ScxMediaType - Interface in cool.scx.http
- ScxMediaTypeImpl - Class in cool.scx.http
- ScxMediaTypeImpl(String, String) - Constructor for class cool.scx.http.ScxMediaTypeImpl
- ScxServerWebSocket - Interface in cool.scx.http
-
ScxServerWebSocket
- ScxURI - Interface in cool.scx.http.uri
-
ScxURI
- ScxURIHelper - Class in cool.scx.http.uri
-
URIHelper
- ScxURIHelper() - Constructor for class cool.scx.http.uri.ScxURIHelper
- ScxURIImpl - Class in cool.scx.http.uri
-
ScxURIImpl
- ScxURIImpl() - Constructor for class cool.scx.http.uri.ScxURIImpl
- ScxURIWritable - Interface in cool.scx.http.uri
-
ScxURIWritable
- ScxWebSocket - Interface in cool.scx.http
-
ScxWebSocket
- SEC_WEBSOCKET_ACCEPT - Enum constant in enum class cool.scx.http.HttpFieldName
-
用在 websocket 开放握手中。
- secure() - Method in interface cool.scx.http.cookie.Cookie
- secure(boolean) - Method in interface cool.scx.http.cookie.CookieWritable
- SEE_OTHER - Enum constant in enum class cool.scx.http.HttpStatusCode
-
服务器发送此响应,以指示客户端通过一个 GET 请求在另一个 URI 中获取所请求的资源。
- SEMICOLON_PATTERN - Static variable in class cool.scx.http.content_type.ContentTypeHelper
- send() - Method in interface cool.scx.http.ScxHttpClientRequest
- send() - Method in interface cool.scx.http.ScxHttpServerResponse
- send(byte[]) - Method in interface cool.scx.http.ScxHttpClientRequest
- send(byte[]) - Method in interface cool.scx.http.ScxHttpServerResponse
- send(byte[]) - Method in interface cool.scx.http.ScxWebSocket
- send(byte[], boolean) - Method in interface cool.scx.http.ScxWebSocket
- send(JsonNode) - Method in interface cool.scx.http.ScxHttpClientRequest
- send(JsonNode) - Method in interface cool.scx.http.ScxHttpServerResponse
- send(FormParams) - Method in interface cool.scx.http.ScxHttpClientRequest
- send(FormParams) - Method in interface cool.scx.http.ScxHttpServerResponse
- send(MediaWriter) - Method in interface cool.scx.http.ScxHttpClientRequest
- send(MediaWriter) - Method in interface cool.scx.http.ScxHttpServerResponse
- send(MultiPart) - Method in interface cool.scx.http.ScxHttpClientRequest
- send(MultiPart) - Method in interface cool.scx.http.ScxHttpServerResponse
- send(InputStream) - Method in interface cool.scx.http.ScxHttpClientRequest
- send(InputStream) - Method in interface cool.scx.http.ScxHttpServerResponse
- send(Object) - Method in interface cool.scx.http.ScxHttpClientRequest
- send(Object) - Method in interface cool.scx.http.ScxHttpServerResponse
- send(String) - Method in interface cool.scx.http.ScxHttpClientRequest
- send(String) - Method in interface cool.scx.http.ScxHttpServerResponse
- send(String) - Method in interface cool.scx.http.ScxWebSocket
- send(String, boolean) - Method in interface cool.scx.http.ScxWebSocket
- send(String, Charset) - Method in interface cool.scx.http.ScxHttpClientRequest
- send(String, Charset) - Method in interface cool.scx.http.ScxHttpServerResponse
- send(Path) - Method in interface cool.scx.http.ScxHttpClientRequest
- send(Path) - Method in interface cool.scx.http.ScxHttpServerResponse
- send(Path, long, long) - Method in interface cool.scx.http.ScxHttpClientRequest
- send(Path, long, long) - Method in interface cool.scx.http.ScxHttpServerResponse
- sendStatic(Path, RoutingContext) - Static method in class cool.scx.http.routing.handler.StaticHelper
- SERVER - Enum constant in enum class cool.scx.http.HttpFieldName
-
首部包含了处理请求的源头服务器所用到的软件相关信息。
- SERVICE_RESTART - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Server/service is restarting.
- SERVICE_UNAVAILABLE - Enum constant in enum class cool.scx.http.HttpStatusCode
-
服务器没有准备好处理请求。
- set(String, String...) - Method in class cool.scx.http.media.form_params.FormParams
- set(String, String...) - Method in interface cool.scx.http.ScxHttpHeadersWritable
- set(K, V...) - Method in class cool.scx.http.ParametersImpl
- set(K, V...) - Method in interface cool.scx.http.ParametersWritable
- SET_COOKIE - Enum constant in enum class cool.scx.http.HttpFieldName
-
HTTP 响应标头用于将 cookie 由服务器发送到用户代理,以便用户代理在后续的请求中可以将其发送回服务器。
- setCookies() - Method in interface cool.scx.http.ScxHttpHeaders
- setCookies() - Method in interface cool.scx.http.ScxHttpHeadersWritable
- setCookies(Cookies) - Method in interface cool.scx.http.ScxHttpHeadersWritable
- setHeader(ScxHttpHeaderName, String...) - Method in interface cool.scx.http.ScxClientWebSocketBuilder
- setHeader(ScxHttpHeaderName, String...) - Method in interface cool.scx.http.ScxHttpClientRequest
- setHeader(ScxHttpHeaderName, String...) - Method in interface cool.scx.http.ScxHttpServerResponse
- setHeader(String, String...) - Method in interface cool.scx.http.ScxClientWebSocketBuilder
- setHeader(String, String...) - Method in interface cool.scx.http.ScxHttpClientRequest
- setHeader(String, String...) - Method in interface cool.scx.http.ScxHttpServerResponse
- setQuery(String, String...) - Method in interface cool.scx.http.uri.ScxURIWritable
- size() - Method in interface cool.scx.http.accept.Accepts
- size() - Method in class cool.scx.http.accept.AcceptsImpl
- size() - Method in interface cool.scx.http.content_disposition.ContentDisposition
- size() - Method in interface cool.scx.http.cookie.Cookies
- size() - Method in class cool.scx.http.cookie.CookiesImpl
- size() - Method in interface cool.scx.http.media.multi_part.MultiPartPart
- size() - Method in interface cool.scx.http.Parameters
- size() - Method in class cool.scx.http.ParametersImpl
- size(long) - Method in interface cool.scx.http.content_disposition.ContentDispositionWritable
- size(long) - Method in interface cool.scx.http.media.multi_part.MultiPartPartWritable
- start() - Method in record class cool.scx.http.range.Range
-
Returns the value of the
startrecord component. - start() - Method in interface cool.scx.http.ScxHttpServer
- StaticHandler - Class in cool.scx.http.routing.handler
- StaticHandler(Path) - Constructor for class cool.scx.http.routing.handler.StaticHandler
- StaticHelper - Class in cool.scx.http.routing.handler
- StaticHelper() - Constructor for class cool.scx.http.routing.handler.StaticHelper
- status() - Method in interface cool.scx.http.ScxHttpClientResponse
- status() - Method in interface cool.scx.http.ScxHttpServerResponse
- status(int) - Method in interface cool.scx.http.ScxHttpServerResponse
- status(HttpStatusCode) - Method in interface cool.scx.http.ScxHttpServerResponse
- statusCode() - Method in exception class cool.scx.http.exception.ScxHttpException
- stop() - Method in interface cool.scx.http.ScxHttpServer
- STRICT - Enum constant in enum class cool.scx.http.cookie.CookieSameSite
- STRICT_TRANSPORT_SECURITY - Enum constant in enum class cool.scx.http.HttpFieldName
-
响应标头用来通知浏览器应该只通过 HTTPS 访问该站点,并且以后使用 HTTP 访问该站点的所有尝试都应自动重定向到 HTTPS。
- STRING_READER - Static variable in class cool.scx.http.media.string.StringReader
-
常用情况 特殊情况直接 new
- StringReader - Class in cool.scx.http.media.string
-
1, 如果未指定字符集则 使用 请求头中的字符集 如果请求头中的字符集为空则回退到 UTF_8 2, 如果指定字符集 忽略 请求头中的字符集
- StringReader() - Constructor for class cool.scx.http.media.string.StringReader
- StringReader(Charset) - Constructor for class cool.scx.http.media.string.StringReader
- StringWriter - Class in cool.scx.http.media.string
- StringWriter(String) - Constructor for class cool.scx.http.media.string.StringWriter
- StringWriter(String, Charset) - Constructor for class cool.scx.http.media.string.StringWriter
- subtype() - Method in enum class cool.scx.http.MediaType
- subtype() - Method in interface cool.scx.http.ScxMediaType
- subtype() - Method in class cool.scx.http.ScxMediaTypeImpl
- SVG - Enum constant in enum class cool.scx.http.FileFormat
- SWITCHING_PROTOCOLS - Enum constant in enum class cool.scx.http.HttpStatusCode
-
该代码是响应客户端的 Upgrade (en-US) 请求头发送的,指明服务器即将切换的协议。
T
- TE - Enum constant in enum class cool.scx.http.HttpFieldName
-
用来指定用户代理希望使用的传输编码类型。
- TEMPORARY_REDIRECT - Enum constant in enum class cool.scx.http.HttpStatusCode
-
服务器发送此响应,以指示客户端使用在前一个请求中使用的相同方法在另一个 URI 上获取所请求的资源。
- terminate() - Method in interface cool.scx.http.ScxWebSocket
- TEXT_CSS - Enum constant in enum class cool.scx.http.MediaType
- TEXT_HTML - Enum constant in enum class cool.scx.http.MediaType
- TEXT_JS - Enum constant in enum class cool.scx.http.MediaType
- TEXT_PLAIN - Enum constant in enum class cool.scx.http.MediaType
- tls() - Method in class cool.scx.http.ScxHttpServerOptions
- tls(Object) - Method in class cool.scx.http.ScxHttpServerOptions
- TLS_HANDSHAKE_FAIL - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Transport Layer Security handshake failure.
- tlsCertificates() - Method in interface cool.scx.http.PeerInfo
- tlsCertificates(Certificate[]) - Method in interface cool.scx.http.PeerInfoWritable
- tlsPrincipal() - Method in interface cool.scx.http.PeerInfo
- tlsPrincipal(Principal) - Method in interface cool.scx.http.PeerInfoWritable
- toMap() - Method in interface cool.scx.http.Parameters
- toMap() - Method in class cool.scx.http.ParametersImpl
- TOO_BIG - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Endpoint won't process large frame.
- TOO_MANY_REQUESTS - Enum constant in enum class cool.scx.http.HttpStatusCode
-
表示在一定的时间内用户发送了太多的请求,即超出了“频次限制”。
- toString() - Method in class cool.scx.http.content_disposition.ContentDispositionImpl
- toString() - Method in class cool.scx.http.content_type.ContentTypeImpl
- toString() - Method in enum class cool.scx.http.HttpStatusCode
- toString() - Method in class cool.scx.http.ParametersImpl
- toString() - Method in record class cool.scx.http.range.Range
-
Returns a string representation of this record class.
- toString() - Method in record class cool.scx.http.routing.PathMatcher.MatchResult
-
Returns a string representation of this record class.
- toString() - Method in class cool.scx.http.ScxHttpBodyImpl
- toString() - Method in class cool.scx.http.uri.ScxURIImpl
- toURI() - Method in interface cool.scx.http.uri.ScxURI
- TRACE - Enum constant in enum class cool.scx.http.HttpMethod
-
TRACE 方法沿着到目标资源的路径执行一个消息环回测试。
- TRAILER - Enum constant in enum class cool.scx.http.HttpFieldName
-
允许发送方在分块发送的消息后面添加额外的元信息,这些元信息可能是随着消息主体的发送动态生成的,比如消息的完整性校验,消息的数字签名,或者消息经过处理之后的最终状态等
- TRANSFER_ENCODING - Enum constant in enum class cool.scx.http.HttpFieldName
-
指明了将 entity 安全传递给用户所采用的编码形式。
- TRY_AGAIN_LATER - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Temporary server condition forced blocking client's request.
- trySetContentType(ScxHttpHeadersWritable, ScxHttpHeaders) - Static method in class cool.scx.http.media.json_node.JsonNodeWriter
- TXT - Enum constant in enum class cool.scx.http.FileFormat
- type() - Method in interface cool.scx.http.content_disposition.ContentDisposition
- type() - Method in class cool.scx.http.content_disposition.ContentDispositionImpl
- type() - Method in enum class cool.scx.http.MediaType
- type() - Method in interface cool.scx.http.ScxMediaType
- type() - Method in class cool.scx.http.ScxMediaTypeImpl
- type(String) - Method in class cool.scx.http.content_disposition.ContentDispositionImpl
- type(String) - Method in interface cool.scx.http.content_disposition.ContentDispositionWritable
U
- UNAUTHORIZED - Enum constant in enum class cool.scx.http.HttpStatusCode
-
虽然 HTTP 标准指定了"unauthorized",但从语义上来说,这个响应意味着"unauthenticated"。
- UnauthorizedException - Exception Class in cool.scx.http.exception
-
未认证异常 (未登录)
- UnauthorizedException() - Constructor for exception class cool.scx.http.exception.UnauthorizedException
- UnauthorizedException(String) - Constructor for exception class cool.scx.http.exception.UnauthorizedException
- UnauthorizedException(String, Throwable) - Constructor for exception class cool.scx.http.exception.UnauthorizedException
- UnauthorizedException(Throwable) - Constructor for exception class cool.scx.http.exception.UnauthorizedException
- UNEXPECTED_CONDITION - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Internal server error while operating.
- UNPROCESSABLE_CONTENT - Enum constant in enum class cool.scx.http.HttpStatusCode
-
请求格式正确,但由于语义错误而无法遵循。
- UNSUPPORTED_MEDIA_TYPE - Enum constant in enum class cool.scx.http.HttpStatusCode
-
服务器不支持请求数据的媒体格式,因此服务器拒绝请求。
- UnsupportedMediaTypeException - Exception Class in cool.scx.http.exception
-
415 参数异常
- UnsupportedMediaTypeException() - Constructor for exception class cool.scx.http.exception.UnsupportedMediaTypeException
- UnsupportedMediaTypeException(String) - Constructor for exception class cool.scx.http.exception.UnsupportedMediaTypeException
- UnsupportedMediaTypeException(String, Throwable) - Constructor for exception class cool.scx.http.exception.UnsupportedMediaTypeException
- UnsupportedMediaTypeException(Throwable) - Constructor for exception class cool.scx.http.exception.UnsupportedMediaTypeException
- UPGRADE - Enum constant in enum class cool.scx.http.HttpFieldName
-
The HTTP 1.1 (only) Upgrade header can be used to upgrade an already established client/server connection to a different protocol (over the same transport protocol).
- UPGRADE_REQUIRED - Enum constant in enum class cool.scx.http.HttpStatusCode
-
服务器拒绝使用当前协议执行请求,但在客户端升级到其他协议后可能愿意这样做。
- uri - Variable in class cool.scx.http.ScxHttpClientRequestBase
- uri() - Method in interface cool.scx.http.ScxClientWebSocketBuilder
- uri() - Method in interface cool.scx.http.ScxHttpClientRequest
- uri() - Method in class cool.scx.http.ScxHttpClientRequestBase
- uri() - Method in interface cool.scx.http.ScxHttpServerRequest
- uri() - Method in interface cool.scx.http.ScxServerWebSocket
- uri(ScxURI) - Method in interface cool.scx.http.ScxClientWebSocketBuilder
- uri(ScxURIWritable) - Method in interface cool.scx.http.ScxHttpClientRequest
- uri(ScxURIWritable) - Method in class cool.scx.http.ScxHttpClientRequestBase
- uri(String) - Method in interface cool.scx.http.ScxClientWebSocketBuilder
- uri(String) - Method in interface cool.scx.http.ScxHttpClientRequest
- URI_TOO_LONG - Enum constant in enum class cool.scx.http.HttpStatusCode
-
客户端请求的 URI 比服务器愿意接收的长度长。
- URIEncoder - Class in cool.scx.http.uri
- URIEncoder() - Constructor for class cool.scx.http.uri.URIEncoder
- USER_AGENT - Enum constant in enum class cool.scx.http.HttpFieldName
-
首部包含了一个特征字符串,用来让网络协议的对端来识别发起请求的用户代理软件的应用类型、操作系统、软件开发商以及版本号。
- username() - Method in class cool.scx.http.ScxHttpClientOptions.Proxy
- username(String) - Method in class cool.scx.http.ScxHttpClientOptions.Proxy
V
- value() - Method in interface cool.scx.http.cookie.Cookie
- value() - Method in enum class cool.scx.http.cookie.CookieSameSite
- value() - Method in enum class cool.scx.http.HttpFieldName
- value() - Method in enum class cool.scx.http.HttpMethod
- value() - Method in enum class cool.scx.http.HttpVersion
- value() - Method in enum class cool.scx.http.MediaType
- value() - Method in interface cool.scx.http.ScxHttpHeaderName
- value() - Method in interface cool.scx.http.ScxHttpMethod
- value() - Method in interface cool.scx.http.ScxMediaType
- value() - Method in class cool.scx.http.ScxMediaTypeImpl
- valueOf(String) - Static method in enum class cool.scx.http.cookie.CookieSameSite
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.FileFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.HttpFieldName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.HttpMethod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.HttpStatusCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.HttpVersion
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.MediaType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.WebSocketCloseCode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cool.scx.http.cookie.CookieSameSite
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cool.scx.http.FileFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cool.scx.http.HttpFieldName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cool.scx.http.HttpMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cool.scx.http.HttpStatusCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cool.scx.http.HttpVersion
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cool.scx.http.MediaType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cool.scx.http.WebSocketCloseCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VARY - Enum constant in enum class cool.scx.http.HttpFieldName
-
描述了除方法和 URL 之外影响响应内容的请求消息。
- version() - Method in interface cool.scx.http.ScxHttpServerRequest
- VIA - Enum constant in enum class cool.scx.http.HttpFieldName
-
由代理服务器添加的,适用于正向和反向代理,在请求和响应首部中均可出现。
- VIDEO_MP4 - Enum constant in enum class cool.scx.http.MediaType
- VIDEO_WEBM - Enum constant in enum class cool.scx.http.MediaType
- VIOLATED_POLICY - Enum constant in enum class cool.scx.http.WebSocketCloseCode
-
Generic code used for situations other than 1003 and 1009.
W
- WAV - Enum constant in enum class cool.scx.http.FileFormat
- WEBM - Enum constant in enum class cool.scx.http.FileFormat
- WEBP - Enum constant in enum class cool.scx.http.FileFormat
- webSocket() - Method in class cool.scx.http.routing.WebSocketRoutingContext
- webSocket() - Method in interface cool.scx.http.ScxHttpClient
- WebSocketCloseCode - Enum Class in cool.scx.http
- webSocketHandler(Consumer<ScxServerWebSocket>) - Method in interface cool.scx.http.ScxHttpServer
- WebSocketRoute - Interface in cool.scx.http.routing
-
WebSocketRoute 路由只保存状态不做行为处理
- WebSocketRouter - Class in cool.scx.http.routing
-
WebSocketRouter
- WebSocketRouter() - Constructor for class cool.scx.http.routing.WebSocketRouter
- WebSocketRouteWritable - Interface in cool.scx.http.routing
-
WebSocketRouteWritable
- WebSocketRoutingContext - Class in cool.scx.http.routing
-
WebSocketRoutingContext
- WebSocketRoutingContext(WebSocketRouter, ScxServerWebSocket) - Constructor for class cool.scx.http.routing.WebSocketRoutingContext
- write(OutputStream) - Method in class cool.scx.http.media.byte_array.ByteArrayWriter
- write(OutputStream) - Method in class cool.scx.http.media.empty.EmptyWriter
- write(OutputStream) - Method in class cool.scx.http.media.form_params.FormParamsWriter
- write(OutputStream) - Method in class cool.scx.http.media.input_stream.InputStreamWriter
- write(OutputStream) - Method in class cool.scx.http.media.json_node.JsonNodeWriter
- write(OutputStream) - Method in interface cool.scx.http.media.MediaWriter
-
写入内容
- write(OutputStream) - Method in class cool.scx.http.media.multi_part.MultiPartWriter
- write(OutputStream) - Method in class cool.scx.http.media.object.ObjectWriter
- write(OutputStream) - Method in class cool.scx.http.media.path.PathWriter
- write(OutputStream) - Method in class cool.scx.http.media.string.StringWriter
- WWW_AUTHENTICATE - Enum constant in enum class cool.scx.http.HttpFieldName
-
WWW_Authenticate
X
- XLS - Enum constant in enum class cool.scx.http.FileFormat
- XLSX - Enum constant in enum class cool.scx.http.FileFormat
- XML - Enum constant in enum class cool.scx.http.FileFormat
Z
- ZIP - Enum constant in enum class cool.scx.http.FileFormat
All Classes and Interfaces|All Packages|Serialized Form