Index
All Classes and Interfaces|All Packages|Serialized Form
A
- accept() - Method in interface cool.scx.http.headers.ScxHttpHeaders
- accept(Throwable, ScxHttpServerRequest, ErrorPhase) - Method in class cool.scx.http.error_handler.DefaultHttpServerErrorHandler
- accept(Throwable, ScxHttpServerRequest, ErrorPhase) - Method in interface cool.scx.http.error_handler.ScxHttpServerErrorHandler
- Accept - Interface in cool.scx.http.headers.accept
-
Accept
- ACCEPT - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- ACCEPT_ENCODING - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- ACCEPT_LANGUAGE - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- ACCEPT_PATCH - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- ACCEPT_POST - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- ACCEPT_RANGES - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- ACCEPTED - Enum constant in enum class cool.scx.http.status.HttpStatus
- AcceptHelper - Class in cool.scx.http.headers.accept
-
AcceptHelper
- AcceptHelper() - Constructor for class cool.scx.http.headers.accept.AcceptHelper
- AcceptImpl - Class in cool.scx.http.headers.accept
-
AcceptsImpl
- AcceptImpl() - Constructor for class cool.scx.http.headers.accept.AcceptImpl
- AcceptImpl(List<MediaRange>) - Constructor for class cool.scx.http.headers.accept.AcceptImpl
- AcceptWritable - Interface in cool.scx.http.headers.accept
-
AcceptsWritable
- ACCESS_CONTROL_ALLOW_CREDENTIALS - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- ACCESS_CONTROL_ALLOW_HEADERS - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- ACCESS_CONTROL_ALLOW_METHODS - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- ACCESS_CONTROL_ALLOW_ORIGIN - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- ACCESS_CONTROL_EXPOSE_HEADERS - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- ACCESS_CONTROL_MAX_AGE - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- ACCESS_CONTROL_REQUEST_HEADERS - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- ACCESS_CONTROL_REQUEST_METHOD - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- add(MediaRange) - Method in class cool.scx.http.headers.accept.AcceptImpl
- add(MediaRange) - Method in interface cool.scx.http.headers.accept.AcceptWritable
- add(Cookie) - Method in class cool.scx.http.headers.cookie.CookiesImpl
- add(Cookie) - Method in interface cool.scx.http.headers.cookie.CookiesWritable
- add(ScxHttpHeaderName, String...) - Method in interface cool.scx.http.headers.ScxHttpHeadersWritable
- 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 interface cool.scx.http.headers.ScxHttpHeadersWritable
- add(String, String...) - Method in class cool.scx.http.media.form_params.FormParamsImpl
- add(String, String...) - Method in interface cool.scx.http.media.form_params.FormParamsWritable
- add(String, Path) - Method in interface cool.scx.http.media.multi_part.MultiPartWritable
- add(K, V...) - Method in class cool.scx.http.parameters.ParametersImpl
- add(K, V...) - Method in interface cool.scx.http.parameters.ParametersWritable
- addCookie(Cookie...) - Method in interface cool.scx.http.headers.ScxHttpHeadersWritable
- addCookie(Cookie...) - Method in interface cool.scx.http.headers.ScxHttpHeadersWriteHelper
- addHeader(ScxHttpHeaderName, String...) - Method in interface cool.scx.http.headers.ScxHttpHeadersWriteHelper
- addHeader(String, String...) - Method in interface cool.scx.http.headers.ScxHttpHeadersWriteHelper
- 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.peer_info.PeerInfo
- address(SocketAddress) - Method in interface cool.scx.http.peer_info.PeerInfoWritable
- addSetCookie(Cookie...) - Method in interface cool.scx.http.headers.ScxHttpHeadersWritable
- addSetCookie(Cookie...) - Method in interface cool.scx.http.headers.ScxHttpHeadersWriteHelper
- AGE - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- ALLOW - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- alpnValue() - Method in enum class cool.scx.http.version.HttpVersion
- APK - Enum constant in enum class cool.scx.http.media_type.FileFormat
- APPLICATION_APK - Enum constant in enum class cool.scx.http.media_type.MediaType
- APPLICATION_DOC - Enum constant in enum class cool.scx.http.media_type.MediaType
- APPLICATION_DOCX - Enum constant in enum class cool.scx.http.media_type.MediaType
- APPLICATION_JSON - Enum constant in enum class cool.scx.http.media_type.MediaType
- APPLICATION_OCTET_STREAM - Enum constant in enum class cool.scx.http.media_type.MediaType
- APPLICATION_PDF - Enum constant in enum class cool.scx.http.media_type.MediaType
- APPLICATION_PPT - Enum constant in enum class cool.scx.http.media_type.MediaType
- APPLICATION_PPTX - Enum constant in enum class cool.scx.http.media_type.MediaType
- APPLICATION_X_WWW_FORM_URLENCODED - Enum constant in enum class cool.scx.http.media_type.MediaType
- APPLICATION_XLS - Enum constant in enum class cool.scx.http.media_type.MediaType
- APPLICATION_XLSX - Enum constant in enum class cool.scx.http.media_type.MediaType
- APPLICATION_XML - Enum constant in enum class cool.scx.http.media_type.MediaType
- APPLICATION_ZIP - Enum constant in enum class cool.scx.http.media_type.MediaType
- as(MediaReader<T>) - Method in class cool.scx.http.body.CacheBody
- as(MediaReader<T>) - Method in class cool.scx.http.body.GzipBody
- as(MediaReader<T>) - Method in interface cool.scx.http.body.ScxHttpBody
- as(MediaReader<T>) - Method in interface cool.scx.http.media.multi_part.MultiPartPart
- asBytes() - Method in interface cool.scx.http.body.ScxHttpBody
- asCacheBody() - Method in class cool.scx.http.body.CacheBody
- asCacheBody() - Method in interface cool.scx.http.body.ScxHttpBody
- asEventStream() - Method in interface cool.scx.http.body.ScxHttpBody
- asFormParams() - Method in interface cool.scx.http.body.ScxHttpBody
- asGzipBody() - Method in class cool.scx.http.body.GzipBody
- asGzipBody() - Method in interface cool.scx.http.body.ScxHttpBody
- asMultiPart() - Method in interface cool.scx.http.body.ScxHttpBody
- asObject(TypeReference<T>) - Method in interface cool.scx.http.body.ScxHttpBody
- asObject(Class<T>) - Method in interface cool.scx.http.body.ScxHttpBody
- asPath(Path, OpenOption...) - Method in interface cool.scx.http.body.ScxHttpBody
- asString() - Method in interface cool.scx.http.body.ScxHttpBody
- asString(Charset) - Method in interface cool.scx.http.body.ScxHttpBody
- asTree() - Method in interface cool.scx.http.body.ScxHttpBody
- AUDIO_MPEG - Enum constant in enum class cool.scx.http.media_type.MediaType
- AUDIO_WAV - Enum constant in enum class cool.scx.http.media_type.MediaType
- AUTHORIZATION - Enum constant in enum class cool.scx.http.headers.HttpFieldName
B
- BAD_GATEWAY - Enum constant in enum class cool.scx.http.status.HttpStatus
- BAD_REQUEST - Enum constant in enum class cool.scx.http.status.HttpStatus
- BadRequestException - Exception Class in cool.scx.http.exception
-
BadRequestException
- 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.event_stream.ServerEventStreamWriter
- beforeWrite(ScxHttpHeadersWritable, ScxHttpHeaders) - Method in class cool.scx.http.media.form_params.FormParamsWriter
- beforeWrite(ScxHttpHeadersWritable, ScxHttpHeaders) - Method in record class cool.scx.http.media.gzip.GzipWriter
- beforeWrite(ScxHttpHeadersWritable, ScxHttpHeaders) - Method in class cool.scx.http.media.input_stream.InputStreamWriter
- 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
- beforeWrite(ScxHttpHeadersWritable, ScxHttpHeaders) - Method in class cool.scx.http.media.tree.TreeWriter
- BIN - Enum constant in enum class cool.scx.http.media_type.FileFormat
- BMP - Enum constant in enum class cool.scx.http.media_type.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
- BodyAlreadyConsumedException - Exception Class in cool.scx.http.body
-
请求体已经被消费异常
- BodyAlreadyConsumedException() - Constructor for exception class cool.scx.http.body.BodyAlreadyConsumedException
- BodyAlreadySentException - Exception Class in cool.scx.http.sender
-
内容已经发送过异常
- BodyAlreadySentException() - Constructor for exception class cool.scx.http.sender.BodyAlreadySentException
- BodyReadException - Exception Class in cool.scx.http.body
-
读取异常 一般表示底层异常
- BodyReadException(Throwable) - Constructor for exception class cool.scx.http.body.BodyReadException
- boundary() - Method in interface cool.scx.http.media_type.ScxMediaType
- 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.media_type.ScxMediaTypeWritable
- boundary(String) - Method in class cool.scx.http.media.multi_part.MultiPartImpl
- boundary(String) - Method in interface cool.scx.http.media.multi_part.MultiPartWritable
- 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
- ByteArrayWriter(byte[]) - Constructor for class cool.scx.http.media.byte_array.ByteArrayWriter
C
- CACHE_CONTROL - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- CacheBody - Class in cool.scx.http.body
- CacheBody(InputStream, ScxHttpHeaders) - Constructor for class cool.scx.http.body.CacheBody
- charset() - Method in interface cool.scx.http.media_type.ScxMediaType
- charset(Charset) - Method in interface cool.scx.http.media_type.ScxMediaTypeWritable
- checkedBoundary(ScxHttpHeaders) - Static method in class cool.scx.http.media.multi_part.MultiPartStreamReader
- clear() - Method in interface cool.scx.http.headers.ScxHttpHeadersWritable
- clear() - Method in class cool.scx.http.media.form_params.FormParamsImpl
- clear() - Method in interface cool.scx.http.media.form_params.FormParamsWritable
- clear() - Method in class cool.scx.http.parameters.ParametersImpl
- clear() - Method in interface cool.scx.http.parameters.ParametersWritable
- clearQuery() - Method in interface cool.scx.http.uri.ScxURIWritable
- CLIENT_EVENT_STREAM_READER - Static variable in class cool.scx.http.media.event_stream.ClientEventStreamReader
- ClientEventStream - Class in cool.scx.http.media.event_stream
- ClientEventStream(InputStream, Charset) - Constructor for class cool.scx.http.media.event_stream.ClientEventStream
- ClientEventStreamReader - Class in cool.scx.http.media.event_stream
-
ClientEventStreamReader
- close() - Method in class cool.scx.http.media.event_stream.ServerEventStream
- close() - Method in class cool.scx.http.media.multi_part.MultiPartStream
- code() - Method in enum class cool.scx.http.status.HttpStatus
- code() - Method in interface cool.scx.http.status.ScxHttpStatus
- comment() - Method in interface cool.scx.http.media.event_stream.SseEvent
- comment() - Method in class cool.scx.http.media.event_stream.SseEventImpl
- comment(String) - Method in class cool.scx.http.media.event_stream.SseEventImpl
- comment(String) - Method in interface cool.scx.http.media.event_stream.SseEventWritable
- CONFLICT - Enum constant in enum class cool.scx.http.status.HttpStatus
- CONNECT - Enum constant in enum class cool.scx.http.method.HttpMethod
- CONNECTION - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- consumeInputStream(InputStream) - Static method in class cool.scx.http.media.multi_part.MultiPartStream
- contains(ScxMediaType) - Method in interface cool.scx.http.headers.accept.Accept
-
判断提供的 媒体类型是否包含 内部采用 精确匹配
- contains(ScxMediaType) - Method in class cool.scx.http.headers.accept.AcceptImpl
- contains(String) - Method in interface cool.scx.http.headers.ScxHttpHeaders
- contains(K) - Method in interface cool.scx.http.parameters.Parameters
- contains(K) - Method in class cool.scx.http.parameters.ParametersImpl
- CONTENT_DISPOSITION - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- CONTENT_ENCODING - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- CONTENT_LANGUAGE - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- CONTENT_LENGTH - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- CONTENT_LOCATION - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- CONTENT_RANGE - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- CONTENT_TOO_LARGE - Enum constant in enum class cool.scx.http.status.HttpStatus
- CONTENT_TYPE - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- contentDisposition() - Method in interface cool.scx.http.headers.ScxHttpHeaders
- contentDisposition() - Method in interface cool.scx.http.media.multi_part.MultiPartPart
- contentDisposition(ContentDisposition) - Method in interface cool.scx.http.headers.ScxHttpHeadersWritable
- contentDisposition(ContentDisposition) - Method in interface cool.scx.http.media.multi_part.MultiPartPartWritable
- ContentDisposition - Interface in cool.scx.http.headers.content_disposition
-
ContentDisposition
- ContentDispositionHelper - Class in cool.scx.http.headers.content_disposition
-
ContentDispositionHelper
- ContentDispositionHelper() - Constructor for class cool.scx.http.headers.content_disposition.ContentDispositionHelper
- ContentDispositionImpl - Class in cool.scx.http.headers.content_disposition
-
ContentDispositionImpl
- ContentDispositionImpl() - Constructor for class cool.scx.http.headers.content_disposition.ContentDispositionImpl
- ContentDispositionImpl(ContentDisposition) - Constructor for class cool.scx.http.headers.content_disposition.ContentDispositionImpl
- ContentDispositionWritable - Interface in cool.scx.http.headers.content_disposition
-
ContentDispositionWritable
- contentEncoding() - Method in interface cool.scx.http.headers.ScxHttpHeaders
- contentEncoding() - Method in interface cool.scx.http.headers.ScxHttpHeadersReadHelper
- contentEncoding(ScxContentEncoding) - Method in interface cool.scx.http.headers.ScxHttpHeadersWritable
- contentEncoding(ScxContentEncoding) - Method in interface cool.scx.http.headers.ScxHttpHeadersWriteHelper
- ContentEncoding - Enum Class in cool.scx.http.headers.content_encoding
-
ContentEncoding
- contentLength() - Method in interface cool.scx.http.headers.ScxHttpHeaders
- contentLength() - Method in interface cool.scx.http.headers.ScxHttpHeadersReadHelper
- contentLength(long) - Method in interface cool.scx.http.headers.ScxHttpHeadersWritable
- contentLength(long) - Method in interface cool.scx.http.headers.ScxHttpHeadersWriteHelper
- ContentTooLargeException - Exception Class in cool.scx.http.exception
-
ContentTooLargeException
- ContentTooLargeException() - Constructor for exception class cool.scx.http.exception.ContentTooLargeException
- ContentTooLargeException(String) - Constructor for exception class cool.scx.http.exception.ContentTooLargeException
- ContentTooLargeException(String, Throwable) - Constructor for exception class cool.scx.http.exception.ContentTooLargeException
- ContentTooLargeException(Throwable) - Constructor for exception class cool.scx.http.exception.ContentTooLargeException
- contentType() - Method in interface cool.scx.http.headers.ScxHttpHeaders
- contentType() - Method in interface cool.scx.http.headers.ScxHttpHeadersReadHelper
- contentType() - Method in interface cool.scx.http.media.multi_part.MultiPartPart
- contentType(ScxMediaType) - Method in interface cool.scx.http.headers.ScxHttpHeadersWritable
- contentType(ScxMediaType) - Method in interface cool.scx.http.headers.ScxHttpHeadersWriteHelper
- contentType(ScxMediaType) - Method in interface cool.scx.http.media.multi_part.MultiPartPartWritable
- CONTINUE - Enum constant in enum class cool.scx.http.status.HttpStatus
- Cookie - Interface in cool.scx.http.headers.cookie
-
Cookie
- COOKIE - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- CookieHelper - Class in cool.scx.http.headers.cookie
-
CookieHelper todo 中文编码有一些问题
- CookieHelper() - Constructor for class cool.scx.http.headers.cookie.CookieHelper
- cookies() - Method in interface cool.scx.http.headers.ScxHttpHeaders
- cookies() - Method in interface cool.scx.http.headers.ScxHttpHeadersReadHelper
- cookies(Cookies) - Method in interface cool.scx.http.headers.ScxHttpHeadersWritable
- Cookies - Interface in cool.scx.http.headers.cookie
-
Cookies
- CookieSameSite - Enum Class in cool.scx.http.headers.cookie
-
CookieSameSite
- CookiesImpl - Class in cool.scx.http.headers.cookie
-
CookiesImpl
- CookiesImpl() - Constructor for class cool.scx.http.headers.cookie.CookiesImpl
- CookiesWritable - Interface in cool.scx.http.headers.cookie
-
CookiesWritable
- CookieWritable - Interface in cool.scx.http.headers.cookie
-
CookieWritable
- cool.scx.http - package cool.scx.http
- cool.scx.http.body - package cool.scx.http.body
- cool.scx.http.error_handler - package cool.scx.http.error_handler
- cool.scx.http.exception - package cool.scx.http.exception
- cool.scx.http.headers - package cool.scx.http.headers
- cool.scx.http.headers.accept - package cool.scx.http.headers.accept
- cool.scx.http.headers.content_disposition - package cool.scx.http.headers.content_disposition
- cool.scx.http.headers.content_encoding - package cool.scx.http.headers.content_encoding
- cool.scx.http.headers.cookie - package cool.scx.http.headers.cookie
- cool.scx.http.headers.range - package cool.scx.http.headers.range
- cool.scx.http.media - package cool.scx.http.media
- cool.scx.http.media_type - package cool.scx.http.media_type
- 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.event_stream - package cool.scx.http.media.event_stream
- cool.scx.http.media.event_stream.event - package cool.scx.http.media.event_stream.event
- cool.scx.http.media.form_params - package cool.scx.http.media.form_params
- cool.scx.http.media.gzip - package cool.scx.http.media.gzip
- cool.scx.http.media.input_stream - package cool.scx.http.media.input_stream
- 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.media.tree - package cool.scx.http.media.tree
- cool.scx.http.method - package cool.scx.http.method
- cool.scx.http.parameters - package cool.scx.http.parameters
- cool.scx.http.peer_info - package cool.scx.http.peer_info
- cool.scx.http.sender - package cool.scx.http.sender
- cool.scx.http.status - package cool.scx.http.status
- cool.scx.http.uri - package cool.scx.http.uri
- cool.scx.http.version - package cool.scx.http.version
- CREATED - Enum constant in enum class cool.scx.http.status.HttpStatus
- creationDate() - Method in interface cool.scx.http.headers.content_disposition.ContentDisposition
- CSS - Enum constant in enum class cool.scx.http.media_type.FileFormat
D
- data() - Method in interface cool.scx.http.media.event_stream.SseEvent
- data() - Method in class cool.scx.http.media.event_stream.SseEventImpl
- data(String) - Method in class cool.scx.http.media.event_stream.SseEventImpl
- data(String) - Method in interface cool.scx.http.media.event_stream.SseEventWritable
- DATE - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- decodeAccepts(String) - Static method in class cool.scx.http.headers.accept.AcceptHelper
- decodeAuthority(String) - Static method in class cool.scx.http.uri.ScxURIHelper
- decodedContentDisposition(String) - Static method in class cool.scx.http.headers.content_disposition.ContentDispositionHelper
- decodedMediaType(String) - Static method in class cool.scx.http.media_type.ScxMediaTypeHelper
- decodeFormParams(T, String) - Static method in class cool.scx.http.media.form_params.FormParamsHelper
- decodeQuery(String) - Static method in class cool.scx.http.uri.ScxURIHelper
- DEFAULT_HTTP_SERVER_ERROR_HANDLER - Static variable in class cool.scx.http.error_handler.DefaultHttpServerErrorHandler
- DefaultHttpServerErrorHandler - Class in cool.scx.http.error_handler
-
默认错误处理器
- DefaultHttpServerErrorHandler(boolean) - Constructor for class cool.scx.http.error_handler.DefaultHttpServerErrorHandler
- DELETE - Enum constant in enum class cool.scx.http.method.HttpMethod
- DOC - Enum constant in enum class cool.scx.http.media_type.FileFormat
- DOCX - Enum constant in enum class cool.scx.http.media_type.FileFormat
- domain() - Method in interface cool.scx.http.headers.cookie.Cookie
- domain(String) - Method in interface cool.scx.http.headers.cookie.CookieWritable
E
- EMPTY_WRITER - Static variable in class cool.scx.http.media.empty.EmptyWriter
- EmptyWriter - Class in cool.scx.http.media.empty
-
EmptyWriter
- encode() - Method in interface cool.scx.http.headers.content_disposition.ContentDisposition
- encode() - Method in class cool.scx.http.headers.content_disposition.ContentDispositionImpl
- encode() - Method in interface cool.scx.http.headers.cookie.Cookie
- encode() - Method in interface cool.scx.http.headers.ScxHttpHeaders
-
转换成标准的 Http1 格式, 人类可读, 可用于传输或调试
- encode() - Method in interface cool.scx.http.media_type.ScxMediaType
- encode() - Method in interface cool.scx.http.media.form_params.FormParams
-
编码成 from 表单格式
- encode() - Method in interface cool.scx.http.uri.ScxURI
-
编码 (默认不进行 URI 编码)
- encode(boolean) - Method in interface cool.scx.http.uri.ScxURI
-
编码
- encodeContentDisposition(ContentDisposition) - Static method in class cool.scx.http.headers.content_disposition.ContentDispositionHelper
- encodeCookie() - Method in interface cool.scx.http.headers.cookie.Cookies
- encodeCookie(Cookie) - Static method in class cool.scx.http.headers.cookie.CookieHelper
- encodeCookie(Cookies) - Static method in class cool.scx.http.headers.cookie.CookieHelper
- encodeFormParams(FormParams) - Static method in class cool.scx.http.media.form_params.FormParamsHelper
- encodeHeaders(ScxHttpHeaders) - Static method in class cool.scx.http.headers.ScxHttpHeadersHelper
- encodeMediaType(ScxMediaType) - Static method in class cool.scx.http.media_type.ScxMediaTypeHelper
- encodeParams(StringBuilder, Parameters<String, String>) - Static method in class cool.scx.http.media_type.ScxMediaTypeHelper
- 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.headers.cookie.Cookies
- encodeSetCookie(Cookies) - Static method in class cool.scx.http.headers.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.headers.range.Range
-
Returns the value of the
endrecord component. - equals(Object) - Method in record class cool.scx.http.headers.range.Range
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cool.scx.http.media.gzip.GzipWriter
-
Indicates whether some other object is "equal to" this one.
- equalsIgnoreParams(ScxMediaType) - Method in interface cool.scx.http.media_type.ScxMediaType
- ErrorPhase - Enum Class in cool.scx.http.error_handler
-
错误阶段
- ErrorPhaseHelper - Class in cool.scx.http.error_handler
- ErrorPhaseHelper() - Constructor for class cool.scx.http.error_handler.ErrorPhaseHelper
- ETAG - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- event() - Method in interface cool.scx.http.media.event_stream.SseEvent
- event() - Method in class cool.scx.http.media.event_stream.SseEventImpl
- event(String) - Method in class cool.scx.http.media.event_stream.SseEventImpl
- event(String) - Method in interface cool.scx.http.media.event_stream.SseEventWritable
- EventClientEventStream - Class in cool.scx.http.media.event_stream.event
- EventClientEventStream(ClientEventStream) - Constructor for class cool.scx.http.media.event_stream.event.EventClientEventStream
- eventStream() - Method in class cool.scx.http.media.event_stream.ServerEventStreamWriter
- EventStreamHelper - Class in cool.scx.http.media.event_stream
- EventStreamHelper() - Constructor for class cool.scx.http.media.event_stream.EventStreamHelper
- exactMatch(ScxMediaType) - Method in interface cool.scx.http.headers.accept.MediaRange
-
判断是否匹配某个 MediaType 严格匹配 忽略通配符
- EXPECT - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- EXPECTATION_FAILED - Enum constant in enum class cool.scx.http.status.HttpStatus
- EXPIRES - Enum constant in enum class cool.scx.http.headers.HttpFieldName
F
- FileFormat - Enum Class in cool.scx.http.media_type
-
常见 文件格式 (文件类型/文件后缀/文件拓展名)
- filename() - Method in interface cool.scx.http.headers.content_disposition.ContentDisposition
- filename() - Method in interface cool.scx.http.media.multi_part.MultiPartPart
- filename(String) - Method in interface cool.scx.http.headers.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.status.HttpStatus
- find(String) - Static method in enum class cool.scx.http.headers.content_encoding.ContentEncoding
- find(String) - Static method in enum class cool.scx.http.headers.cookie.CookieSameSite
- find(String) - Static method in enum class cool.scx.http.headers.HttpFieldName
- find(String) - Static method in enum class cool.scx.http.method.HttpMethod
- find(String) - Static method in enum class cool.scx.http.version.HttpVersion
- findByExtension(String) - Static method in enum class cool.scx.http.media_type.FileFormat
- findByFileName(String) - Static method in enum class cool.scx.http.media_type.FileFormat
- FORBIDDEN - Enum constant in enum class cool.scx.http.status.HttpStatus
- ForbiddenException - Exception Class in cool.scx.http.exception
-
ForbiddenException
- 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
- forEach(ScxBiConsumer<? super K, V, E>) - Method in interface cool.scx.http.parameters.Parameters
- forEach(ScxBiConsumer<? super K, V, E>) - Method in class cool.scx.http.parameters.ParametersImpl
- forEachParameter(ScxBiConsumer<? super K, List<V>, E>) - Method in interface cool.scx.http.parameters.Parameters
- forEachParameter(ScxBiConsumer<? super K, List<V>, E>) - Method in class cool.scx.http.parameters.ParametersImpl
- FORM_PARAMS_READER - Static variable in class cool.scx.http.media.form_params.FormParamsReader
- FormParams - Interface in cool.scx.http.media.form_params
-
FormParams
- FormParamsHelper - Class in cool.scx.http.media.form_params
-
FormParamsHelper
- FormParamsHelper() - Constructor for class cool.scx.http.media.form_params.FormParamsHelper
- FormParamsImpl - Class in cool.scx.http.media.form_params
-
FormParams
- FormParamsImpl() - Constructor for class cool.scx.http.media.form_params.FormParamsImpl
- FormParamsImpl(FormParams) - Constructor for class cool.scx.http.media.form_params.FormParamsImpl
- FormParamsReader - Class in cool.scx.http.media.form_params
-
FormParamsReader
- FormParamsWritable - Interface in cool.scx.http.media.form_params
-
FormParams
- FormParamsWriter - Class in cool.scx.http.media.form_params
-
FormParamsWriter
- FormParamsWriter(FormParams) - Constructor for class cool.scx.http.media.form_params.FormParamsWriter
- FORWARDED - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- FOUND - Enum constant in enum class cool.scx.http.status.HttpStatus
- fragment() - Method in interface cool.scx.http.uri.ScxURI
- fragment(String) - Method in interface cool.scx.http.uri.ScxURIWritable
- FROM - Enum constant in enum class cool.scx.http.headers.HttpFieldName
G
- GATEWAY_TIMEOUT - Enum constant in enum class cool.scx.http.status.HttpStatus
- get(String) - Method in interface cool.scx.http.headers.cookie.Cookies
- get(String) - Method in class cool.scx.http.headers.cookie.CookiesImpl
- get(String) - Method in interface cool.scx.http.headers.ScxHttpHeaders
- get(K) - Method in interface cool.scx.http.parameters.Parameters
- get(K) - Method in class cool.scx.http.parameters.ParametersImpl
- GET - Enum constant in enum class cool.scx.http.method.HttpMethod
- getAll(String) - Method in interface cool.scx.http.headers.ScxHttpHeaders
- getAll(K) - Method in interface cool.scx.http.parameters.Parameters
- getAll(K) - Method in class cool.scx.http.parameters.ParametersImpl
- getContentTypeCharsetOrUTF8(ScxHttpHeaders) - Static method in class cool.scx.http.media.string.StringReader
- getCookie(String) - Method in interface cool.scx.http.headers.ScxHttpHeaders
- getCookie(String) - Method in interface cool.scx.http.headers.ScxHttpHeadersReadHelper
- getEnd(long) - Method in record class cool.scx.http.headers.range.Range
- getErrorPhaseStr(ErrorPhase) - Static method in class cool.scx.http.error_handler.ErrorPhaseHelper
- getHeader(ScxHttpHeaderName) - Method in interface cool.scx.http.headers.ScxHttpHeadersReadHelper
- getHeader(String) - Method in interface cool.scx.http.headers.ScxHttpHeadersReadHelper
- getQuery(String) - Method in interface cool.scx.http.ScxHttpServerRequest
- getQuery(String) - Method in interface cool.scx.http.uri.ScxURI
- getReasonPhrase(HttpStatus) - Static method in class cool.scx.http.status.ScxHttpStatusHelper
- getReasonPhrase(ScxHttpStatus, String) - Static method in class cool.scx.http.status.ScxHttpStatusHelper
- getSetCookie(String) - Method in interface cool.scx.http.headers.ScxHttpHeaders
- getSetCookie(String) - Method in interface cool.scx.http.headers.ScxHttpHeadersReadHelper
- getStart() - Method in record class cool.scx.http.headers.range.Range
- GIF - Enum constant in enum class cool.scx.http.media_type.FileFormat
- GONE - Enum constant in enum class cool.scx.http.status.HttpStatus
- GZIP - Enum constant in enum class cool.scx.http.headers.content_encoding.ContentEncoding
- GzipBody - Class in cool.scx.http.body
- GzipBody(InputStream, ScxHttpHeaders) - Constructor for class cool.scx.http.body.GzipBody
- GzipSender<T> - Class in cool.scx.http.sender
- GzipSender(ScxHttpSender<T>) - Constructor for class cool.scx.http.sender.GzipSender
- GzipWriter - Record Class in cool.scx.http.media.gzip
- GzipWriter(MediaWriter) - Constructor for record class cool.scx.http.media.gzip.GzipWriter
-
Creates an instance of a
GzipWriterrecord class.
H
- handleScxHttpException(ScxHttpException, ScxHttpServerRequest) - Method in class cool.scx.http.error_handler.DefaultHttpServerErrorHandler
- hashCode() - Method in record class cool.scx.http.headers.range.Range
-
Returns a hash code value for this object.
- hashCode() - Method in record class cool.scx.http.media.gzip.GzipWriter
-
Returns a hash code value for this object.
- hasNext() - Method in class cool.scx.http.media.multi_part.MultiPartStream
- hasNext() - Method in class cool.scx.http.parameters.ParametersIterator
- HEAD - Enum constant in enum class cool.scx.http.method.HttpMethod
- headers() - Method in interface cool.scx.http.headers.ScxHttpHeadersReadHelper
- headers() - Method in interface cool.scx.http.headers.ScxHttpHeadersWriteHelper
- 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.ScxHttpClientRequest
- 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(ScxHttpHeaders) - Method in class cool.scx.http.media.multi_part.MultiPartPartImpl
- headers(ScxHttpHeaders) - Method in interface cool.scx.http.media.multi_part.MultiPartPartWritable
- headers(ScxHttpHeaders) - Method in interface cool.scx.http.ScxHttpClientRequest
- headers(ScxHttpHeaders) - Method in interface cool.scx.http.ScxHttpServerResponse
- host() - Method in interface cool.scx.http.peer_info.PeerInfo
- host() - Method in interface cool.scx.http.uri.ScxURI
- host(String) - Method in interface cool.scx.http.peer_info.PeerInfoWritable
- host(String) - Method in interface cool.scx.http.uri.ScxURIWritable
- HOST - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- HTML - Enum constant in enum class cool.scx.http.media_type.FileFormat
- HTTP_1_1 - Enum constant in enum class cool.scx.http.version.HttpVersion
- HTTP_2 - Enum constant in enum class cool.scx.http.version.HttpVersion
- HTTP_3 - Enum constant in enum class cool.scx.http.version.HttpVersion
- HTTP_VERSION_NOT_SUPPORTED - Enum constant in enum class cool.scx.http.status.HttpStatus
- HttpFieldName - Enum Class in cool.scx.http.headers
-
HttpFieldName
- HttpMethod - Enum Class in cool.scx.http.method
-
HttpMethod
- httpOnly() - Method in interface cool.scx.http.headers.cookie.Cookie
- httpOnly(boolean) - Method in interface cool.scx.http.headers.cookie.CookieWritable
- HttpSendException - Exception Class in cool.scx.http.sender
-
发送异常 一般表示底层异常
- HttpSendException(String, Throwable) - Constructor for exception class cool.scx.http.sender.HttpSendException
- HttpSendException(Throwable) - Constructor for exception class cool.scx.http.sender.HttpSendException
- HttpStatus - Enum Class in cool.scx.http.status
-
HttpStatus
- HttpVersion - Enum Class in cool.scx.http.version
-
HttpVersion
I
- id() - Method in interface cool.scx.http.media.event_stream.SseEvent
- id() - Method in class cool.scx.http.media.event_stream.SseEventImpl
- id(String) - Method in class cool.scx.http.media.event_stream.SseEventImpl
- id(String) - Method in interface cool.scx.http.media.event_stream.SseEventWritable
- IF_MATCH - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- IF_MODIFIED_SINCE - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- IF_NONE_MATCH - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- IF_RANGE - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- IF_UNMODIFIED_SINCE - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- IllegalMediaRangeException - Exception Class in cool.scx.http.headers.accept
- IllegalMediaRangeException(String) - Constructor for exception class cool.scx.http.headers.accept.IllegalMediaRangeException
- IllegalMediaTypeException - Exception Class in cool.scx.http.media_type
- IllegalMediaTypeException(String) - Constructor for exception class cool.scx.http.media_type.IllegalMediaTypeException
- IMAGE_BMP - Enum constant in enum class cool.scx.http.media_type.MediaType
- IMAGE_GIF - Enum constant in enum class cool.scx.http.media_type.MediaType
- IMAGE_JPEG - Enum constant in enum class cool.scx.http.media_type.MediaType
- IMAGE_PNG - Enum constant in enum class cool.scx.http.media_type.MediaType
- IMAGE_SVG - Enum constant in enum class cool.scx.http.media_type.MediaType
- IMAGE_WEBP - Enum constant in enum class cool.scx.http.media_type.MediaType
- initInputStream(InputStream, ScxContentEncoding) - Static method in class cool.scx.http.body.GzipBody
- inputStream() - Method in class cool.scx.http.body.CacheBody
- inputStream() - Method in class cool.scx.http.body.GzipBody
- inputStream() - Method in interface cool.scx.http.body.ScxHttpBody
- inputStream() - Method in interface cool.scx.http.media.multi_part.MultiPartPart
- InputStreamWriter - Class in cool.scx.http.media.input_stream
-
InputStreamWriter
- InputStreamWriter(InputStream) - Constructor for class cool.scx.http.media.input_stream.InputStreamWriter
- INTERNAL_SERVER_ERROR - Enum constant in enum class cool.scx.http.status.HttpStatus
- InternalServerErrorException - Exception Class in cool.scx.http.exception
-
InternalServerErrorException
- 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
- isAcceptable(ScxMediaType) - Method in interface cool.scx.http.headers.accept.Accept
-
判断提供的 媒体类型是否支持 内部采用 模糊匹配
- isAcceptable(ScxMediaType) - Method in class cool.scx.http.headers.accept.AcceptImpl
- isEmpty() - Method in interface cool.scx.http.parameters.Parameters
- isEmpty() - Method in class cool.scx.http.parameters.ParametersImpl
- isSent() - Method in interface cool.scx.http.ScxHttpServerResponse
- isWhitespace(char) - Static method in class cool.scx.http.headers.ScxHttpHeadersHelper
- iterator() - Method in class cool.scx.http.headers.accept.AcceptImpl
- iterator() - Method in class cool.scx.http.headers.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.parameters.ParametersImpl
J
- JPEG - Enum constant in enum class cool.scx.http.media_type.FileFormat
- JPG - Enum constant in enum class cool.scx.http.media_type.FileFormat
- JS - Enum constant in enum class cool.scx.http.media_type.FileFormat
- JSON - Enum constant in enum class cool.scx.http.media_type.FileFormat
L
- LAST_MODIFIED - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- LAX - Enum constant in enum class cool.scx.http.headers.cookie.CookieSameSite
- LENGTH_REQUIRED - Enum constant in enum class cool.scx.http.status.HttpStatus
- LF_BYTES - Static variable in class cool.scx.http.media.event_stream.EventStreamHelper
- localAddress() - Method in interface cool.scx.http.ScxHttpServer
- localPeer() - Method in interface cool.scx.http.ScxHttpServerRequest
- LOCATION - Enum constant in enum class cool.scx.http.headers.HttpFieldName
M
- matches(ScxMediaType) - Method in interface cool.scx.http.headers.accept.MediaRange
-
判断是否匹配某个 MediaType 支持通配符匹配
- MAX_FORWARDS - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- maxAge() - Method in interface cool.scx.http.headers.cookie.Cookie
- maxAge(Long) - Method in interface cool.scx.http.headers.cookie.CookieWritable
- MediaRange - Interface in cool.scx.http.headers.accept
-
MediaRange
- MediaRangeHelper - Class in cool.scx.http.headers.accept
- MediaRangeHelper() - Constructor for class cool.scx.http.headers.accept.MediaRangeHelper
- MediaRangeImpl - Class in cool.scx.http.headers.accept
-
AcceptImpl
- MediaRangeImpl() - Constructor for class cool.scx.http.headers.accept.MediaRangeImpl
- mediaRangeStr - Variable in exception class cool.scx.http.headers.accept.IllegalMediaRangeException
- MediaRangeWritable - Interface in cool.scx.http.headers.accept
-
MediaRangeWritable
- MediaReader<T> - Interface in cool.scx.http.media
-
读取器 可用于 ServerRequest 和 ClientResponse
- mediaType() - Method in enum class cool.scx.http.media_type.FileFormat
-
对应的 mediaType
- MediaType - Enum Class in cool.scx.http.media_type
-
MediaType
- mediaTypeStr - Variable in exception class cool.scx.http.media_type.IllegalMediaTypeException
- mediaWriter() - Method in record class cool.scx.http.media.gzip.GzipWriter
-
Returns the value of the
mediaWriterrecord component. - MediaWriter - Interface in cool.scx.http.media
-
写入器 可用于 ServerResponse 和 ClientRequest
- method() - Method in interface cool.scx.http.ScxHttpClientRequest
- method() - Method in interface cool.scx.http.ScxHttpServerRequest
- method(ScxHttpMethod) - Method in interface cool.scx.http.ScxHttpClientRequest
- method(String) - Method in interface cool.scx.http.ScxHttpClientRequest
- METHOD_NOT_ALLOWED - Enum constant in enum class cool.scx.http.status.HttpStatus
- MethodNotAllowedException - Exception Class in cool.scx.http.exception
-
MethodNotAllowedException
- 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
- MISDIRECTED_REQUEST - Enum constant in enum class cool.scx.http.status.HttpStatus
- MJS - Enum constant in enum class cool.scx.http.media_type.FileFormat
- modificationDate() - Method in interface cool.scx.http.headers.content_disposition.ContentDisposition
- MOVED_PERMANENTLY - Enum constant in enum class cool.scx.http.status.HttpStatus
- MP3 - Enum constant in enum class cool.scx.http.media_type.FileFormat
- MP4 - Enum constant in enum class cool.scx.http.media_type.FileFormat
- MULTI_PART_READER - Static variable in class cool.scx.http.media.multi_part.MultiPartStreamReader
- MultiPart - Interface in cool.scx.http.media.multi_part
-
MultiPart
- MULTIPART_FORM_DATA - Enum constant in enum class cool.scx.http.media_type.MediaType
- MultiPartImpl - Class in cool.scx.http.media.multi_part
-
MultiPartImpl
- MultiPartImpl(String) - Constructor for class cool.scx.http.media.multi_part.MultiPartImpl
- MultiPartPart - Interface in cool.scx.http.media.multi_part
-
MultiPartPart
- MultiPartPartImpl - Class in cool.scx.http.media.multi_part
-
MultiPartPartImpl
- MultiPartPartImpl() - Constructor for class cool.scx.http.media.multi_part.MultiPartPartImpl
- MultiPartPartWritable - Interface in cool.scx.http.media.multi_part
-
MultiPartPartWritable
- MultiPartStream - Class in cool.scx.http.media.multi_part
-
MultiPartStream
- MultiPartStream(InputStream, String) - Constructor for class cool.scx.http.media.multi_part.MultiPartStream
- MultiPartStreamReader - Class in cool.scx.http.media.multi_part
-
MultiPartStreamReader
- MultiPartWritable - Interface in cool.scx.http.media.multi_part
-
MultiPartWritable
- MultiPartWriter - Class in cool.scx.http.media.multi_part
-
MultiPartWriter
- MultiPartWriter(MultiPart) - Constructor for class cool.scx.http.media.multi_part.MultiPartWriter
- MULTIPLE_CHOICES - Enum constant in enum class cool.scx.http.status.HttpStatus
N
- name() - Method in interface cool.scx.http.headers.content_disposition.ContentDisposition
- name() - Method in interface cool.scx.http.headers.cookie.Cookie
- name() - Method in interface cool.scx.http.media.multi_part.MultiPartPart
- name() - Method in interface cool.scx.http.parameters.ParameterEntry
- name() - Method in class cool.scx.http.parameters.ParameterEntryImpl
- name(String) - Method in interface cool.scx.http.headers.content_disposition.ContentDispositionWritable
- name(String) - Method in interface cool.scx.http.media.multi_part.MultiPartPartWritable
- names() - Method in interface cool.scx.http.parameters.Parameters
- names() - Method in class cool.scx.http.parameters.ParametersImpl
- negotiate(T...) - Method in interface cool.scx.http.headers.accept.Accept
-
根据提供的媒体类型列表 找到最优支持
- negotiate(T...) - Method in class cool.scx.http.headers.accept.AcceptImpl
- next() - Method in class cool.scx.http.media.multi_part.MultiPartStream
- next() - Method in class cool.scx.http.parameters.ParametersIterator
- NO_CONTENT - Enum constant in enum class cool.scx.http.status.HttpStatus
- NON_AUTHORITATIVE_INFORMATION - Enum constant in enum class cool.scx.http.status.HttpStatus
- NONE - Enum constant in enum class cool.scx.http.headers.cookie.CookieSameSite
- NOT_ACCEPTABLE - Enum constant in enum class cool.scx.http.status.HttpStatus
- NOT_FOUND - Enum constant in enum class cool.scx.http.status.HttpStatus
- NOT_IMPLEMENTED - Enum constant in enum class cool.scx.http.status.HttpStatus
- NOT_MODIFIED - Enum constant in enum class cool.scx.http.status.HttpStatus
- NotFoundException - Exception Class in cool.scx.http.exception
-
NotFoundException
- 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 逻辑参考
TreeReader - 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 逻辑参考
TreeWriter - ObjectWriter(Object) - Constructor for class cool.scx.http.media.object.ObjectWriter
- of() - Static method in interface cool.scx.http.headers.accept.MediaRange
- of() - Static method in interface cool.scx.http.headers.content_disposition.ContentDisposition
- of() - Static method in interface cool.scx.http.headers.cookie.Cookies
- of() - Static method in interface cool.scx.http.headers.ScxHttpHeaders
- of() - Static method in interface cool.scx.http.media_type.ScxMediaType
- of() - Static method in interface cool.scx.http.media.event_stream.SseEvent
- of() - Static method in interface cool.scx.http.media.form_params.FormParams
- 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.Parameters
- of() - Static method in interface cool.scx.http.peer_info.PeerInfo
- of() - Static method in interface cool.scx.http.uri.ScxURI
-
创建一个空的 ScxURI 实例
- of(int) - Static method in enum class cool.scx.http.status.HttpStatus
- of(int) - Static method in interface cool.scx.http.status.ScxHttpStatus
- of(ContentDisposition) - Static method in interface cool.scx.http.headers.content_disposition.ContentDisposition
- of(Cookies) - Static method in interface cool.scx.http.headers.cookie.Cookies
- of(ScxHttpHeaders) - Static method in interface cool.scx.http.headers.ScxHttpHeaders
- of(ScxMediaType) - Static method in interface cool.scx.http.media_type.ScxMediaType
- of(ClientEventStream) - Static method in class cool.scx.http.media.event_stream.event.EventClientEventStream
- of(FormParams) - Static method in interface cool.scx.http.media.form_params.FormParams
- of(Parameters<K, V>) - Static method in interface cool.scx.http.parameters.Parameters
- of(ScxURI) - Static method in interface cool.scx.http.uri.ScxURI
- of(String) - Static method in interface cool.scx.http.headers.accept.Accept
- of(String) - Static method in interface cool.scx.http.headers.accept.MediaRange
- of(String) - Static method in interface cool.scx.http.headers.content_disposition.ContentDisposition
- of(String) - Static method in enum class cool.scx.http.headers.content_encoding.ContentEncoding
- of(String) - Static method in interface cool.scx.http.headers.content_encoding.ScxContentEncoding
- of(String) - Static method in interface cool.scx.http.headers.cookie.Cookies
-
cookie 头
- of(String) - Static method in enum class cool.scx.http.headers.cookie.CookieSameSite
- of(String) - Static method in enum class cool.scx.http.headers.HttpFieldName
- of(String) - Static method in interface cool.scx.http.headers.ScxHttpHeaderName
- of(String) - Static method in interface cool.scx.http.headers.ScxHttpHeaders
-
通过 Http1 格式文本直接构建 headers 在某些情况下很好用 比如调试 分隔符同时支持 '\r\n' 和 '\n'
- of(String) - Static method in interface cool.scx.http.media_type.ScxMediaType
- of(String) - Static method in interface cool.scx.http.media.event_stream.SseEvent
- of(String) - Static method in interface cool.scx.http.media.form_params.FormParams
-
从编码后的文本内容中生成 FormParams
- of(String) - Static method in interface cool.scx.http.media.multi_part.MultiPart
- of(String) - Static method in enum class cool.scx.http.method.HttpMethod
- of(String) - Static method in interface cool.scx.http.method.ScxHttpMethod
- of(String) - Static method in interface cool.scx.http.uri.ScxURI
-
从一个原始的 URI 字符串创建 URI 实例.
- of(String) - Static method in enum class cool.scx.http.version.HttpVersion
- of(String, byte[]) - Static method in interface cool.scx.http.media.multi_part.MultiPartPart
- of(String, String) - Static method in interface cool.scx.http.headers.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
-
从一个标准 URI 对象创建 URI 实例.
- ofAuthority(String) - Static method in interface cool.scx.http.uri.ScxURI
- ofEncoded(String) - Static method in interface cool.scx.http.uri.ScxURI
-
从一个已编码的标准 URI 字符串创建 URI 实例.
- ofSetCookie(List<String>) - Static method in interface cool.scx.http.headers.cookie.Cookies
-
set-cookie 头
- ofStrict(String) - Static method in interface cool.scx.http.headers.ScxHttpHeaders
-
通过 Http1 格式文本直接构建 headers 在某些情况下很好用 比如调试 分隔符仅支持 '\r\n'
- OK - Enum constant in enum class cool.scx.http.status.HttpStatus
- onError(ScxHttpServerErrorHandler) - Method in interface cool.scx.http.ScxHttpServer
-
只在连接可能可用时调用, 若远端断开连接,或其他网络中断类错误 则不会触发
- onEvent(Consumer<SseEvent>) - Method in class cool.scx.http.media.event_stream.event.EventClientEventStream
- onRequest(ScxConsumer<ScxHttpServerRequest, ?>) - Method in interface cool.scx.http.ScxHttpServer
- OPTIONS - Enum constant in enum class cool.scx.http.method.HttpMethod
- ORIGIN - Enum constant in enum class cool.scx.http.headers.HttpFieldName
P
- ParameterEntry<K,
V> - Interface in cool.scx.http.parameters -
ParameterEntry 表示 HTTP 请求中的参数项, 包含参数名与多个值.
- ParameterEntryImpl<K,
V> - Class in cool.scx.http.parameters - ParameterEntryImpl(IMultiMapEntry<K, V>) - Constructor for class cool.scx.http.parameters.ParameterEntryImpl
- Parameters<K,
V> - Interface in cool.scx.http.parameters -
Parameters 表示一组 HTTP 参数项, 类似 MultiMap (实际上默认实现 就是基于 MultiMap 的), 一个 name 可以对应多个值.
- ParametersImpl<K,
V> - Class in cool.scx.http.parameters -
ParametersImpl
- ParametersImpl() - Constructor for class cool.scx.http.parameters.ParametersImpl
- ParametersImpl(Parameters<K, V>) - Constructor for class cool.scx.http.parameters.ParametersImpl
- ParametersIterator<K,
V> - Class in cool.scx.http.parameters - ParametersIterator(Iterator<IMultiMapEntry<K, V>>) - Constructor for class cool.scx.http.parameters.ParametersIterator
- ParametersWritable<K,
V> - Interface in cool.scx.http.parameters -
ParametersWritable
- params() - Method in interface cool.scx.http.headers.accept.MediaRange
- params() - Method in class cool.scx.http.headers.accept.MediaRangeImpl
- params() - Method in interface cool.scx.http.headers.accept.MediaRangeWritable
- params() - Method in interface cool.scx.http.headers.content_disposition.ContentDisposition
- params() - Method in class cool.scx.http.headers.content_disposition.ContentDispositionImpl
- params() - Method in interface cool.scx.http.headers.content_disposition.ContentDispositionWritable
- params() - Method in enum class cool.scx.http.media_type.MediaType
- params() - Method in interface cool.scx.http.media_type.ScxMediaType
- params() - Method in class cool.scx.http.media_type.ScxMediaTypeImpl
- params() - Method in interface cool.scx.http.media_type.ScxMediaTypeWritable
- params(Parameters<String, String>) - Method in class cool.scx.http.headers.accept.MediaRangeImpl
- params(Parameters<String, String>) - Method in interface cool.scx.http.headers.accept.MediaRangeWritable
- params(Parameters<String, String>) - Method in class cool.scx.http.headers.content_disposition.ContentDispositionImpl
- params(Parameters<String, String>) - Method in interface cool.scx.http.headers.content_disposition.ContentDispositionWritable
- params(Parameters<String, String>) - Method in class cool.scx.http.media_type.ScxMediaTypeImpl
- params(Parameters<String, String>) - Method in interface cool.scx.http.media_type.ScxMediaTypeWritable
- parseCookies(String) - Static method in class cool.scx.http.headers.cookie.CookieHelper
-
注意 用来解析 cookie 不是 setCookie
- parseHeaders(T, String, boolean) - Static method in class cool.scx.http.headers.ScxHttpHeadersHelper
-
解析 header 头
- parseMediaRange(String) - Static method in class cool.scx.http.headers.accept.MediaRangeHelper
- parseRange(String) - Static method in record class cool.scx.http.headers.range.Range
- parseSetCookie(String) - Static method in class cool.scx.http.headers.cookie.CookieHelper
- parseSetCookie(List<String>) - Static method in class cool.scx.http.headers.cookie.CookieHelper
- PARTIAL_CONTENT - Enum constant in enum class cool.scx.http.status.HttpStatus
- PATCH - Enum constant in enum class cool.scx.http.method.HttpMethod
- path() - Method in interface cool.scx.http.headers.cookie.Cookie
- path() - Method in interface cool.scx.http.ScxHttpServerRequest
- path() - Method in interface cool.scx.http.uri.ScxURI
- path(String) - Method in interface cool.scx.http.headers.cookie.CookieWritable
- path(String) - Method in interface cool.scx.http.uri.ScxURIWritable
- PathReader - Class in cool.scx.http.media.path
-
将内容写入到文件 todo 这里是否有必要支持 复杂的写入 比如指定文件的偏移量和写入长度 还是保持当前类的简便化 因为 用户可以直接拿到 InputStream 添加复杂的功能是否有意义 ?
- PathReader(Path, OpenOption...) - Constructor for class cool.scx.http.media.path.PathReader
-
写入的路径
- PathWriter - Class in cool.scx.http.media.path
-
PathWriter
- PathWriter(Path) - Constructor for class cool.scx.http.media.path.PathWriter
- PathWriter(Path, long, long) - Constructor for class cool.scx.http.media.path.PathWriter
- PAYMENT_REQUIRED - Enum constant in enum class cool.scx.http.status.HttpStatus
- PDF - Enum constant in enum class cool.scx.http.media_type.FileFormat
- PeerInfo - Interface in cool.scx.http.peer_info
-
PeerInfo
- PeerInfoWritable - Interface in cool.scx.http.peer_info
-
PeerInfoWritable
- PERMANENT_REDIRECT - Enum constant in enum class cool.scx.http.status.HttpStatus
- PNG - Enum constant in enum class cool.scx.http.media_type.FileFormat
- port() - Method in interface cool.scx.http.peer_info.PeerInfo
- port() - Method in interface cool.scx.http.uri.ScxURI
- port(int) - Method in interface cool.scx.http.peer_info.PeerInfoWritable
- port(Integer) - Method in interface cool.scx.http.uri.ScxURIWritable
- POST - Enum constant in enum class cool.scx.http.method.HttpMethod
- PPT - Enum constant in enum class cool.scx.http.media_type.FileFormat
- PPTX - Enum constant in enum class cool.scx.http.media_type.FileFormat
- PRECONDITION_FAILED - Enum constant in enum class cool.scx.http.status.HttpStatus
- protocolVersion() - Method in enum class cool.scx.http.version.HttpVersion
- PROXY_AUTHENTICATE - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- PROXY_AUTHENTICATION_REQUIRED - Enum constant in enum class cool.scx.http.status.HttpStatus
- PROXY_AUTHORIZATION - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- PUT - Enum constant in enum class cool.scx.http.method.HttpMethod
Q
- q() - Method in interface cool.scx.http.headers.accept.MediaRange
- q(Double) - Method in interface cool.scx.http.headers.accept.MediaRangeWritable
- query() - Method in interface cool.scx.http.ScxHttpServerRequest
- query() - Method in interface cool.scx.http.uri.ScxURI
- query() - Method in interface cool.scx.http.uri.ScxURIWritable
- query(Parameters<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.headers.range
-
HttpHeader Range
- Range(Long, Long) - Constructor for record class cool.scx.http.headers.range.Range
-
Creates an instance of a
Rangerecord class. - RANGE - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- RANGE_NOT_SATISFIABLE - Enum constant in enum class cool.scx.http.status.HttpStatus
- read(InputStream, ScxHttpHeaders) - Method in class cool.scx.http.media.byte_array.ByteArrayReader
- read(InputStream, ScxHttpHeaders) - Method in class cool.scx.http.media.event_stream.ClientEventStreamReader
- read(InputStream, ScxHttpHeaders) - Method in class cool.scx.http.media.form_params.FormParamsReader
- read(InputStream, ScxHttpHeaders) - Method in interface cool.scx.http.media.MediaReader
-
读取内容
- 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
- read(InputStream, ScxHttpHeaders) - Method in class cool.scx.http.media.tree.TreeReader
- readContent() - Method in class cool.scx.http.media.multi_part.MultiPartStream
- readDate() - Method in interface cool.scx.http.headers.content_disposition.ContentDisposition
- readEvent() - Method in class cool.scx.http.media.event_stream.ClientEventStream
- readHeaders() - Method in class cool.scx.http.media.multi_part.MultiPartStream
- REFERER - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- remotePeer() - Method in interface cool.scx.http.ScxHttpServerRequest
- remove(MediaRange) - Method in class cool.scx.http.headers.accept.AcceptImpl
- remove(MediaRange) - Method in interface cool.scx.http.headers.accept.AcceptWritable
- remove(ScxHttpHeaderName) - Method in interface cool.scx.http.headers.ScxHttpHeadersWritable
- remove(String) - Method in class cool.scx.http.headers.cookie.CookiesImpl
- remove(String) - Method in interface cool.scx.http.headers.cookie.CookiesWritable
- remove(String) - Method in interface cool.scx.http.headers.ScxHttpHeadersWritable
- remove(String) - Method in class cool.scx.http.media.form_params.FormParamsImpl
- remove(String) - Method in interface cool.scx.http.media.form_params.FormParamsWritable
- remove(K) - Method in class cool.scx.http.parameters.ParametersImpl
- remove(K) - Method in interface cool.scx.http.parameters.ParametersWritable
- removeCookie(String) - Method in interface cool.scx.http.headers.ScxHttpHeadersWritable
- removeCookie(String) - Method in interface cool.scx.http.headers.ScxHttpHeadersWriteHelper
- removeHeader(ScxHttpHeaderName) - Method in interface cool.scx.http.headers.ScxHttpHeadersWriteHelper
- removeHeader(String) - Method in interface cool.scx.http.headers.ScxHttpHeadersWriteHelper
- removeQuery(String) - Method in interface cool.scx.http.uri.ScxURIWritable
- removeSetCookie(String) - Method in interface cool.scx.http.headers.ScxHttpHeadersWritable
- removeSetCookie(String) - Method in interface cool.scx.http.headers.ScxHttpHeadersWriteHelper
- 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.status.HttpStatus
- REQUEST_TIMEOUT - Enum constant in enum class cool.scx.http.status.HttpStatus
- RESET_CONTENT - Enum constant in enum class cool.scx.http.status.HttpStatus
- response() - Method in interface cool.scx.http.ScxHttpServerRequest
- retry() - Method in interface cool.scx.http.media.event_stream.SseEvent
- retry() - Method in class cool.scx.http.media.event_stream.SseEventImpl
- retry(Long) - Method in class cool.scx.http.media.event_stream.SseEventImpl
- retry(Long) - Method in interface cool.scx.http.media.event_stream.SseEventWritable
S
- sameSite() - Method in interface cool.scx.http.headers.cookie.Cookie
- sameSite(CookieSameSite) - Method in interface cool.scx.http.headers.cookie.CookieWritable
- scheme() - Method in interface cool.scx.http.uri.ScxURI
- scheme(String) - Method in interface cool.scx.http.uri.ScxURIWritable
- ScxContentEncoding - Interface in cool.scx.http.headers.content_encoding
-
ContentEncoding
- ScxHttpBody - Interface in cool.scx.http.body
-
ScxHttpBody
- ScxHttpClient - Interface in cool.scx.http
-
ScxHttpClient
- ScxHttpClientRequest - Interface in cool.scx.http
-
ScxHttpClientRequest
- ScxHttpClientResponse - Interface in cool.scx.http
-
ScxHttpClientResponse
- ScxHttpException - Exception Class in cool.scx.http.exception
-
ScxHttpException 这是一个基于
ScxHttpStatus的运行时异常类, 用于表示 HTTP 请求处理过程中的异常情况. - ScxHttpException(ScxHttpStatus) - Constructor for exception class cool.scx.http.exception.ScxHttpException
- ScxHttpException(ScxHttpStatus, String) - Constructor for exception class cool.scx.http.exception.ScxHttpException
- ScxHttpException(ScxHttpStatus, String, Throwable) - Constructor for exception class cool.scx.http.exception.ScxHttpException
- ScxHttpException(ScxHttpStatus, Throwable) - Constructor for exception class cool.scx.http.exception.ScxHttpException
- ScxHttpHeaderName - Interface in cool.scx.http.headers
-
HttpHeaderName 是不区分大小写的 所以我们这里全部按照小写处理
- ScxHttpHeaders - Interface in cool.scx.http.headers
-
只读的 Headers 可用于 ServerRequest 和 ClientResponse 在 Parameters 的基础上实现了一些 方便操作 Http 头协议的方法
- ScxHttpHeadersHelper - Class in cool.scx.http.headers
-
ScxHttpHeadersHelper
- ScxHttpHeadersHelper() - Constructor for class cool.scx.http.headers.ScxHttpHeadersHelper
- ScxHttpHeadersReadHelper - Interface in cool.scx.http.headers
-
这只是一个帮助类 用于简化 header 的读取
- ScxHttpHeadersWritable - Interface in cool.scx.http.headers
-
可写的 Headers 可用于 ServerResponse 和 ClientRequest 在 Parameters 的基础上实现了一些 方便操作 Http 头协议的方法
- ScxHttpHeadersWriteHelper<T> - Interface in cool.scx.http.headers
-
这只是一个帮助类 用于简化 header 的写入
- ScxHttpMethod - Interface in cool.scx.http.method
-
HTTP Method (注意 需要 区分大小写)
- ScxHttpSender<T> - Interface in cool.scx.http.sender
- ScxHttpServer - Interface in cool.scx.http
-
ScxHttpServer
- ScxHttpServerErrorHandler - Interface in cool.scx.http.error_handler
-
HTTP 服务器 错误处理器
- ScxHttpServerRequest - Interface in cool.scx.http
-
ScxHttpServerRequest
- ScxHttpServerResponse - Interface in cool.scx.http
-
ScxHttpServerResponse
- ScxHttpStatus - Interface in cool.scx.http.status
-
Http Status
- ScxHttpStatusHelper - Class in cool.scx.http.status
- ScxHttpStatusHelper() - Constructor for class cool.scx.http.status.ScxHttpStatusHelper
- ScxMediaType - Interface in cool.scx.http.media_type
-
ScxMediaType
- ScxMediaTypeHelper - Class in cool.scx.http.media_type
- ScxMediaTypeHelper() - Constructor for class cool.scx.http.media_type.ScxMediaTypeHelper
- ScxMediaTypeImpl - Class in cool.scx.http.media_type
-
ScxMediaType
- ScxMediaTypeImpl() - Constructor for class cool.scx.http.media_type.ScxMediaTypeImpl
- ScxMediaTypeImpl(String, String, Parameters<String, String>) - Constructor for class cool.scx.http.media_type.ScxMediaTypeImpl
- ScxMediaTypeWritable - Interface in cool.scx.http.media_type
-
ScxMediaTypeWritable
- ScxURI - Interface in cool.scx.http.uri
-
ScxURI 是对 URI 的抽象 , 提供了更直观、灵活的操作方式.
- ScxURIHelper - Class in cool.scx.http.uri
-
ScxURIHelper
- ScxURIHelper() - Constructor for class cool.scx.http.uri.ScxURIHelper
- ScxURIWritable - Interface in cool.scx.http.uri
-
ScxURIWritable
- SEC_WEBSOCKET_ACCEPT - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- SEC_WEBSOCKET_KEY - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- SEC_WEBSOCKET_PROTOCOL - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- SEC_WEBSOCKET_VERSION - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- secure() - Method in interface cool.scx.http.headers.cookie.Cookie
- secure(boolean) - Method in interface cool.scx.http.headers.cookie.CookieWritable
- SEE_OTHER - Enum constant in enum class cool.scx.http.status.HttpStatus
- SEMICOLON_PATTERN - Static variable in class cool.scx.http.media_type.ScxMediaTypeHelper
- send() - Method in interface cool.scx.http.sender.ScxHttpSender
- send(byte[]) - Method in interface cool.scx.http.sender.ScxHttpSender
- send(JsonNode) - Method in interface cool.scx.http.sender.ScxHttpSender
- send(SseEvent) - Method in class cool.scx.http.media.event_stream.ServerEventStream
-
发送一个 SSE 事件
- send(FormParams) - Method in interface cool.scx.http.sender.ScxHttpSender
- send(MediaWriter) - Method in interface cool.scx.http.ScxHttpClientRequest
- send(MediaWriter) - Method in interface cool.scx.http.ScxHttpServerResponse
- send(MediaWriter) - Method in class cool.scx.http.sender.GzipSender
- send(MediaWriter) - Method in interface cool.scx.http.sender.ScxHttpSender
- send(MultiPart) - Method in interface cool.scx.http.sender.ScxHttpSender
- send(InputStream) - Method in interface cool.scx.http.sender.ScxHttpSender
- send(Object) - Method in interface cool.scx.http.sender.ScxHttpSender
- send(String) - Method in interface cool.scx.http.sender.ScxHttpSender
- send(String, Charset) - Method in interface cool.scx.http.sender.ScxHttpSender
- send(Path) - Method in interface cool.scx.http.sender.ScxHttpSender
- send(Path, long, long) - Method in interface cool.scx.http.sender.ScxHttpSender
- sendEventStream() - Method in interface cool.scx.http.sender.ScxHttpSender
- sendGzip() - Method in class cool.scx.http.sender.GzipSender
- sendGzip() - Method in interface cool.scx.http.sender.ScxHttpSender
- sendToClient(ScxHttpStatus, String, ScxHttpServerRequest) - Static method in class cool.scx.http.error_handler.DefaultHttpServerErrorHandler
- SERVER - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- ServerEventStream - Class in cool.scx.http.media.event_stream
- ServerEventStream(OutputStream) - Constructor for class cool.scx.http.media.event_stream.ServerEventStream
- ServerEventStreamWriter - Class in cool.scx.http.media.event_stream
-
todo 整体待重构 比如没有正确处理 输出流的关闭
- ServerEventStreamWriter() - Constructor for class cool.scx.http.media.event_stream.ServerEventStreamWriter
- SERVICE_UNAVAILABLE - Enum constant in enum class cool.scx.http.status.HttpStatus
- set(ScxHttpHeaderName, String...) - Method in interface cool.scx.http.headers.ScxHttpHeadersWritable
- set(String, String...) - Method in interface cool.scx.http.headers.ScxHttpHeadersWritable
- set(String, String...) - Method in class cool.scx.http.media.form_params.FormParamsImpl
- set(String, String...) - Method in interface cool.scx.http.media.form_params.FormParamsWritable
- set(K, V...) - Method in class cool.scx.http.parameters.ParametersImpl
- set(K, V...) - Method in interface cool.scx.http.parameters.ParametersWritable
- SET_COOKIE - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- setCookies() - Method in interface cool.scx.http.headers.ScxHttpHeaders
- setCookies() - Method in interface cool.scx.http.headers.ScxHttpHeadersReadHelper
- setCookies(Cookies) - Method in interface cool.scx.http.headers.ScxHttpHeadersWritable
- setHeader(ScxHttpHeaderName, String...) - Method in interface cool.scx.http.headers.ScxHttpHeadersWriteHelper
- setHeader(String, String...) - Method in interface cool.scx.http.headers.ScxHttpHeadersWriteHelper
- setQuery(String, String...) - Method in interface cool.scx.http.uri.ScxURIWritable
- size() - Method in interface cool.scx.http.headers.accept.Accept
- size() - Method in class cool.scx.http.headers.accept.AcceptImpl
- size() - Method in interface cool.scx.http.headers.content_disposition.ContentDisposition
- size() - Method in interface cool.scx.http.headers.cookie.Cookies
- size() - Method in class cool.scx.http.headers.cookie.CookiesImpl
- size() - Method in interface cool.scx.http.media.multi_part.MultiPartPart
- size() - Method in interface cool.scx.http.parameters.Parameters
- size() - Method in class cool.scx.http.parameters.ParametersImpl
- size(long) - Method in interface cool.scx.http.headers.content_disposition.ContentDispositionWritable
- size(long) - Method in interface cool.scx.http.media.multi_part.MultiPartPartWritable
- sortMediaRanges(List<MediaRange>) - Static method in class cool.scx.http.headers.accept.AcceptHelper
- SseEvent - Interface in cool.scx.http.media.event_stream
- SseEventImpl - Class in cool.scx.http.media.event_stream
- SseEventImpl() - Constructor for class cool.scx.http.media.event_stream.SseEventImpl
- SseEventWritable - Interface in cool.scx.http.media.event_stream
- start() - Method in record class cool.scx.http.headers.range.Range
-
Returns the value of the
startrecord component. - start() - Method in class cool.scx.http.media.event_stream.event.EventClientEventStream
- start(int) - Method in interface cool.scx.http.ScxHttpServer
- start(SocketAddress) - Method in interface cool.scx.http.ScxHttpServer
- status() - Method in exception class cool.scx.http.exception.ScxHttpException
- 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(ScxHttpStatus) - Method in interface cool.scx.http.ScxHttpServerResponse
- stop() - Method in class cool.scx.http.media.event_stream.event.EventClientEventStream
- stop() - Method in interface cool.scx.http.ScxHttpServer
- STRICT - Enum constant in enum class cool.scx.http.headers.cookie.CookieSameSite
- STRICT_TRANSPORT_SECURITY - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- 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(Charset) - Constructor for class cool.scx.http.media.string.StringReader
- StringWriter - Class in cool.scx.http.media.string
-
StringWriter
- 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 interface cool.scx.http.headers.accept.MediaRange
- subtype() - Method in class cool.scx.http.headers.accept.MediaRangeImpl
- subtype() - Method in enum class cool.scx.http.media_type.MediaType
- subtype() - Method in interface cool.scx.http.media_type.ScxMediaType
- subtype() - Method in class cool.scx.http.media_type.ScxMediaTypeImpl
- subtype(String) - Method in class cool.scx.http.headers.accept.MediaRangeImpl
- subtype(String) - Method in interface cool.scx.http.headers.accept.MediaRangeWritable
- subtype(String) - Method in class cool.scx.http.media_type.ScxMediaTypeImpl
- subtype(String) - Method in interface cool.scx.http.media_type.ScxMediaTypeWritable
- SVG - Enum constant in enum class cool.scx.http.media_type.FileFormat
- SWITCHING_PROTOCOLS - Enum constant in enum class cool.scx.http.status.HttpStatus
- SYSTEM - Enum constant in enum class cool.scx.http.error_handler.ErrorPhase
-
系统阶段, 比如解析 Http 头时发生错误
T
- TE - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- TEMPORARY_REDIRECT - Enum constant in enum class cool.scx.http.status.HttpStatus
- TEXT_CSS - Enum constant in enum class cool.scx.http.media_type.MediaType
- TEXT_EVENT_STREAM - Enum constant in enum class cool.scx.http.media_type.MediaType
- TEXT_HTML - Enum constant in enum class cool.scx.http.media_type.MediaType
- TEXT_JS - Enum constant in enum class cool.scx.http.media_type.MediaType
- TEXT_PLAIN - Enum constant in enum class cool.scx.http.media_type.MediaType
- tlsCertificates() - Method in interface cool.scx.http.peer_info.PeerInfo
- tlsCertificates(Certificate[]) - Method in interface cool.scx.http.peer_info.PeerInfoWritable
- tlsPrincipal() - Method in interface cool.scx.http.peer_info.PeerInfo
- tlsPrincipal(Principal) - Method in interface cool.scx.http.peer_info.PeerInfoWritable
- toMap() - Method in interface cool.scx.http.parameters.Parameters
- toMap() - Method in class cool.scx.http.parameters.ParametersImpl
- toMultiValueMap() - Method in interface cool.scx.http.parameters.Parameters
- toMultiValueMap() - Method in class cool.scx.http.parameters.ParametersImpl
- TOO_MANY_REQUESTS - Enum constant in enum class cool.scx.http.status.HttpStatus
- toString() - Method in class cool.scx.http.headers.content_disposition.ContentDispositionImpl
- toString() - Method in enum class cool.scx.http.headers.content_encoding.ContentEncoding
- toString() - Method in enum class cool.scx.http.headers.HttpFieldName
- toString() - Method in record class cool.scx.http.headers.range.Range
-
Returns a string representation of this record class.
- toString() - Method in class cool.scx.http.media_type.ScxMediaTypeImpl
- toString() - Method in record class cool.scx.http.media.gzip.GzipWriter
-
Returns a string representation of this record class.
- toString() - Method in enum class cool.scx.http.method.HttpMethod
- toString() - Method in class cool.scx.http.parameters.ParametersImpl
- toString() - Method in enum class cool.scx.http.status.HttpStatus
- toString() - Method in enum class cool.scx.http.version.HttpVersion
- toURI() - Method in interface cool.scx.http.uri.ScxURI
-
转换为 URI
- TRACE - Enum constant in enum class cool.scx.http.method.HttpMethod
- TRAILER - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- TRANSFER_ENCODING - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- TREE_READER - Static variable in class cool.scx.http.media.tree.TreeReader
- TreeHelper - Class in cool.scx.http.media.tree
- TreeHelper() - Constructor for class cool.scx.http.media.tree.TreeHelper
- TreeReader - Class in cool.scx.http.media.tree
-
TreeReader 此处之所以 先将请求体读取为字符串, 然后解析为 JsonNode.
- TreeWriter - Class in cool.scx.http.media.tree
-
JsonNodeWriter
- TreeWriter(JsonNode) - Constructor for class cool.scx.http.media.tree.TreeWriter
- trySetContentType(ScxHttpHeadersWritable, ScxHttpHeaders) - Static method in class cool.scx.http.media.tree.TreeHelper
-
根据客户端的 Accept 值尝试推断我们应该使用什么类型的 Content-Type
- TXT - Enum constant in enum class cool.scx.http.media_type.FileFormat
- type() - Method in interface cool.scx.http.headers.accept.MediaRange
- type() - Method in class cool.scx.http.headers.accept.MediaRangeImpl
- type() - Method in interface cool.scx.http.headers.content_disposition.ContentDisposition
- type() - Method in class cool.scx.http.headers.content_disposition.ContentDispositionImpl
- type() - Method in enum class cool.scx.http.media_type.MediaType
- type() - Method in interface cool.scx.http.media_type.ScxMediaType
- type() - Method in class cool.scx.http.media_type.ScxMediaTypeImpl
- type(String) - Method in class cool.scx.http.headers.accept.MediaRangeImpl
- type(String) - Method in interface cool.scx.http.headers.accept.MediaRangeWritable
- type(String) - Method in class cool.scx.http.headers.content_disposition.ContentDispositionImpl
- type(String) - Method in interface cool.scx.http.headers.content_disposition.ContentDispositionWritable
- type(String) - Method in class cool.scx.http.media_type.ScxMediaTypeImpl
- type(String) - Method in interface cool.scx.http.media_type.ScxMediaTypeWritable
U
- UNAUTHORIZED - Enum constant in enum class cool.scx.http.status.HttpStatus
- UnauthorizedException - Exception Class in cool.scx.http.exception
-
UnauthorizedException
- 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
- UNPROCESSABLE_CONTENT - Enum constant in enum class cool.scx.http.status.HttpStatus
- UNSUPPORTED_MEDIA_TYPE - Enum constant in enum class cool.scx.http.status.HttpStatus
- UnsupportedMediaTypeException - Exception Class in cool.scx.http.exception
-
UnsupportedMediaTypeException
- 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.headers.HttpFieldName
- UPGRADE_REQUIRED - Enum constant in enum class cool.scx.http.status.HttpStatus
- uri() - Method in interface cool.scx.http.ScxHttpClientRequest
- uri() - Method in interface cool.scx.http.ScxHttpServerRequest
- uri(ScxURI) - Method in interface cool.scx.http.ScxHttpClientRequest
- uri(String) - Method in interface cool.scx.http.ScxHttpClientRequest
- URI_TOO_LONG - Enum constant in enum class cool.scx.http.status.HttpStatus
- URIEncoder - Class in cool.scx.http.uri
-
URIEncoder
- URIEncoder() - Constructor for class cool.scx.http.uri.URIEncoder
- URITooLongException - Exception Class in cool.scx.http.exception
-
URITooLongException
- URITooLongException() - Constructor for exception class cool.scx.http.exception.URITooLongException
- URITooLongException(String) - Constructor for exception class cool.scx.http.exception.URITooLongException
- URITooLongException(String, Throwable) - Constructor for exception class cool.scx.http.exception.URITooLongException
- URITooLongException(Throwable) - Constructor for exception class cool.scx.http.exception.URITooLongException
- USER - Enum constant in enum class cool.scx.http.error_handler.ErrorPhase
-
用户阶段, 比如用户代码错误
- USER_AGENT - Enum constant in enum class cool.scx.http.headers.HttpFieldName
V
- value() - Method in enum class cool.scx.http.headers.content_encoding.ContentEncoding
- value() - Method in interface cool.scx.http.headers.content_encoding.ScxContentEncoding
- value() - Method in interface cool.scx.http.headers.cookie.Cookie
- value() - Method in enum class cool.scx.http.headers.cookie.CookieSameSite
- value() - Method in enum class cool.scx.http.headers.HttpFieldName
- value() - Method in interface cool.scx.http.headers.ScxHttpHeaderName
- value() - Method in enum class cool.scx.http.method.HttpMethod
- value() - Method in interface cool.scx.http.method.ScxHttpMethod
- value() - Method in interface cool.scx.http.parameters.ParameterEntry
- value() - Method in class cool.scx.http.parameters.ParameterEntryImpl
- valueOf(String) - Static method in enum class cool.scx.http.error_handler.ErrorPhase
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.headers.content_encoding.ContentEncoding
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.headers.cookie.CookieSameSite
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.headers.HttpFieldName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.media_type.FileFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.media_type.MediaType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.method.HttpMethod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.status.HttpStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.version.HttpVersion
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cool.scx.http.error_handler.ErrorPhase
-
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.headers.content_encoding.ContentEncoding
-
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.headers.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.headers.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.media_type.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.media_type.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.method.HttpMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in interface cool.scx.http.parameters.ParameterEntry
- values() - Method in class cool.scx.http.parameters.ParameterEntryImpl
- values() - Static method in enum class cool.scx.http.status.HttpStatus
-
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.version.HttpVersion
-
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.headers.HttpFieldName
- version() - Method in interface cool.scx.http.ScxHttpClientRequest
- version() - Method in interface cool.scx.http.ScxHttpServerRequest
- version(HttpVersion) - Method in interface cool.scx.http.ScxHttpClientRequest
- VIA - Enum constant in enum class cool.scx.http.headers.HttpFieldName
- VIDEO_MP4 - Enum constant in enum class cool.scx.http.media_type.MediaType
- VIDEO_WEBM - Enum constant in enum class cool.scx.http.media_type.MediaType
W
- WAV - Enum constant in enum class cool.scx.http.media_type.FileFormat
- WEBM - Enum constant in enum class cool.scx.http.media_type.FileFormat
- WEBP - Enum constant in enum class cool.scx.http.media_type.FileFormat
- 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.event_stream.ServerEventStreamWriter
- write(OutputStream) - Method in class cool.scx.http.media.form_params.FormParamsWriter
- write(OutputStream) - Method in record class cool.scx.http.media.gzip.GzipWriter
- write(OutputStream) - Method in class cool.scx.http.media.input_stream.InputStreamWriter
- 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
- write(OutputStream) - Method in class cool.scx.http.media.tree.TreeWriter
- writeToOutputStream(SseEvent, OutputStream) - Static method in class cool.scx.http.media.event_stream.EventStreamHelper
- WWW_AUTHENTICATE - Enum constant in enum class cool.scx.http.headers.HttpFieldName
X
- XLS - Enum constant in enum class cool.scx.http.media_type.FileFormat
- XLSX - Enum constant in enum class cool.scx.http.media_type.FileFormat
- XML - Enum constant in enum class cool.scx.http.media_type.FileFormat
Z
- ZIP - Enum constant in enum class cool.scx.http.media_type.FileFormat
All Classes and Interfaces|All Packages|Serialized Form