Index
All Classes and Interfaces|All Packages|Serialized Form
A
- ABSOLUTE_FORM - Enum constant in enum class cool.scx.http.x.http1.request_line.RequestTargetForm
-
例:
GET http://example.com/index.html HTTP/1.1 - add(ScxHttpHeaderName, String...) - Method in class cool.scx.http.x.http1.headers.Http1Headers
- addUpgradeHandler(Http1UpgradeHandler...) - Method in class cool.scx.http.x.http1.Http1ServerConnectionOptions
- addUpgradeHandler(Http1UpgradeHandler...) - Method in class cool.scx.http.x.HttpServerOptions
- as(MediaReader<T>) - Method in record class cool.scx.http.x.http1.Http1Body
- ASTERISK_FORM - Enum constant in enum class cool.scx.http.x.http1.request_line.RequestTargetForm
-
例:
OPTIONS * HTTP/1.1 - AUTHORITY_FORM - Enum constant in enum class cool.scx.http.x.http1.request_line.RequestTargetForm
-
例:
CONNECT example.com:443 HTTP/1.1 - AutoContinueInputStream - Class in cool.scx.http.x.http1
-
当初次读取的时候 自动响应 Continue-100 响应 todo close 时是否也应该响应 ?
- AutoContinueInputStream(InputStream, OutputStream) - Constructor for class cool.scx.http.x.http1.AutoContinueInputStream
- autoRespond100Continue() - Method in class cool.scx.http.x.http1.Http1ServerConnectionOptions
- autoRespond100Continue() - Method in class cool.scx.http.x.HttpServerOptions
- autoRespond100Continue(boolean) - Method in class cool.scx.http.x.http1.Http1ServerConnectionOptions
- autoRespond100Continue(boolean) - Method in class cool.scx.http.x.HttpServerOptions
B
- backlog() - Method in class cool.scx.http.x.HttpServerOptions
- backlog(int) - Method in class cool.scx.http.x.HttpServerOptions
- body() - Method in class cool.scx.http.x.http1.Http1ClientResponse
- body() - Method in class cool.scx.http.x.http1.Http1ServerRequest
- body() - Method in class cool.scx.http.x.http2.Http2ServerRequest
- body() - Method in class cool.scx.http.x.http3.Http3ServerRequest
C
- canHandle(ScxUpgrade) - Method in interface cool.scx.http.x.http1.Http1UpgradeHandler
- checkIsTLS(ScxURI) - Static method in class cool.scx.http.x.HttpClientHelper
- checkMaxPayload(int) - Method in class cool.scx.http.x.http1.chunked.HttpChunkedByteSupplier
- checkRequestHasBody(ScxHttpMethod) - Static method in class cool.scx.http.x.http1.Http1Helper
- checkResponseHasBody(ScxHttpStatus) - Static method in class cool.scx.http.x.http1.Http1Helper
- checkUpgradeRequest(Http1RequestLine, Http1Headers) - Static method in class cool.scx.http.x.http1.Http1Helper
-
检查是不是 升级请求 如果不是 返回 null
- CHUNKED - Enum constant in enum class cool.scx.http.x.http1.headers.transfer_encoding.TransferEncoding
- CHUNKED_END_BYTES - Static variable in class cool.scx.http.x.http1.Http1Helper
- clear() - Method in class cool.scx.http.x.http1.headers.Http1Headers
- close() - Method in class cool.scx.http.x.http1.AutoContinueInputStream
- close() - Method in class cool.scx.http.x.http1.chunked.HttpChunkedOutputStream
- close() - Method in class cool.scx.http.x.http1.Http1ServerConnection
- close() - Method in class cool.scx.http.x.http1.Http1ServerResponseOutputStream
- close() - Method in class cool.scx.http.x.http1.NoCloseOutputStream
- CLOSE - Enum constant in enum class cool.scx.http.x.http1.headers.connection.Connection
- code() - Method in record class cool.scx.http.x.http1.status_line.Http1StatusLine
-
Returns the value of the
coderecord component. - code() - Method in enum class cool.scx.http.x.http2.Http2FrameType
- connection - Variable in class cool.scx.http.x.http1.Http1ServerRequest
- connection - Variable in class cool.scx.http.x.http1.Http1ServerResponse
- connection() - Method in class cool.scx.http.x.http1.headers.Http1Headers
- connection(Connection) - Method in class cool.scx.http.x.http1.headers.Http1Headers
- Connection - Enum Class in cool.scx.http.x.http1.headers.connection
- consumeInputStream(InputStream) - Static method in class cool.scx.http.x.http1.Http1Helper
- contains(ScxHttpHeaderName) - Method in class cool.scx.http.x.http1.headers.Http1Headers
- CONTINUATION - Enum constant in enum class cool.scx.http.x.http2.Http2FrameType
- CONTINUE - Enum constant in enum class cool.scx.http.x.http1.headers.expect.Expect
- CONTINUE_100 - Static variable in class cool.scx.http.x.http1.Http1Helper
- cool.scx.http.x - package cool.scx.http.x
- cool.scx.http.x.http1 - package cool.scx.http.x.http1
- cool.scx.http.x.http1.chunked - package cool.scx.http.x.http1.chunked
- cool.scx.http.x.http1.exception - package cool.scx.http.x.http1.exception
- cool.scx.http.x.http1.fixed_length - package cool.scx.http.x.http1.fixed_length
- cool.scx.http.x.http1.headers - package cool.scx.http.x.http1.headers
- cool.scx.http.x.http1.headers.connection - package cool.scx.http.x.http1.headers.connection
- cool.scx.http.x.http1.headers.expect - package cool.scx.http.x.http1.headers.expect
- cool.scx.http.x.http1.headers.transfer_encoding - package cool.scx.http.x.http1.headers.transfer_encoding
- cool.scx.http.x.http1.headers.upgrade - package cool.scx.http.x.http1.headers.upgrade
- cool.scx.http.x.http1.request_line - package cool.scx.http.x.http1.request_line
- cool.scx.http.x.http1.status_line - package cool.scx.http.x.http1.status_line
- cool.scx.http.x.http2 - package cool.scx.http.x.http2
- cool.scx.http.x.http2.hpack - package cool.scx.http.x.http2.hpack
- cool.scx.http.x.http3 - package cool.scx.http.x.http3
- cool.scx.http.x.proxy - package cool.scx.http.x.proxy
- createPlainTCPSocket(ScxURI) - Method in class cool.scx.http.x.HttpClient
-
创建 明文 socket
- createPlainTCPSocketWithProxy() - Method in class cool.scx.http.x.HttpClient
-
创建 具有代理 的 明文 socket
- createReasonPhrase() - Method in class cool.scx.http.x.http1.Http1ServerResponse
- createScxHttpServerRequest(Http1ServerConnection, Http1RequestLine, Http1Headers, InputStream) - Method in interface cool.scx.http.x.http1.Http1UpgradeHandler
- createTCPSocket(ScxURI, String...) - Method in class cool.scx.http.x.HttpClient
- createTLSTCPSocket(ScxURI, String...) - Method in class cool.scx.http.x.HttpClient
-
创建 tls socket
- createTLSTCPSocketWithProxy(ScxURI, String...) - Method in class cool.scx.http.x.HttpClient
-
创建 具有代理 的 tls socket
- CRLF_BYTES - Static variable in class cool.scx.http.x.http1.Http1Helper
- CRLF_CRLF_BYTES - Static variable in class cool.scx.http.x.http1.Http1Helper
D
- DATA - Enum constant in enum class cool.scx.http.x.http2.Http2FrameType
- dataReader - Variable in class cool.scx.http.x.http1.Http1ClientConnection
- dataReader - Variable in class cool.scx.http.x.http1.Http1ServerConnection
- dataWriter - Variable in class cool.scx.http.x.http1.Http1ClientConnection
- dataWriter - Variable in class cool.scx.http.x.http1.Http1ServerConnection
- decode(byte[]) - Method in class cool.scx.http.x.http2.hpack.HPACKDecoder
- decode(byte[]) - Method in class cool.scx.http.x.http2.hpack.HPACKHuffmanCodec
- DEFAULT_HTTP_CLIENT - Static variable in class cool.scx.http.x.ScxHttpClientHelper
- delete(ScxURI, MultiPart) - Static method in class cool.scx.http.x.ScxHttpClientHelper
- delete(String, MultiPart) - Static method in class cool.scx.http.x.ScxHttpClientHelper
E
- enabled() - Method in interface cool.scx.http.x.proxy.Proxy
- enabled(boolean) - Method in interface cool.scx.http.x.proxy.Proxy
- enableHttp2() - Method in class cool.scx.http.x.HttpClientOptions
- enableHttp2() - Method in class cool.scx.http.x.HttpServerOptions
- enableHttp2(boolean) - Method in class cool.scx.http.x.HttpClientOptions
- enableHttp2(boolean) - Method in class cool.scx.http.x.HttpServerOptions
- encode() - Method in record class cool.scx.http.x.http1.request_line.Http1RequestLine
- encode() - Method in record class cool.scx.http.x.http1.status_line.Http1StatusLine
- encode(RequestTargetForm) - Method in record class cool.scx.http.x.http1.request_line.Http1RequestLine
- encode(Http1StatusLine) - Static method in class cool.scx.http.x.http1.status_line.Http1StatusLineHelper
- encodeRequestLine(Http1RequestLine, RequestTargetForm) - Static method in class cool.scx.http.x.http1.request_line.Http1RequestLineHelper
-
编码请求行
- equals(Object) - Method in record class cool.scx.http.x.http1.Http1Body
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cool.scx.http.x.http1.request_line.Http1RequestLine
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cool.scx.http.x.http1.status_line.Http1StatusLine
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cool.scx.http.x.http2.Http2FrameHeader
-
Indicates whether some other object is "equal to" this one.
- errorHandler - Variable in class cool.scx.http.x.http1.Http1ServerConnection
- expect() - Method in class cool.scx.http.x.http1.headers.Http1Headers
- expect(ScxExpect) - Method in class cool.scx.http.x.http1.headers.Http1Headers
- Expect - Enum Class in cool.scx.http.x.http1.headers.expect
-
实际上在 HTTP/1.1 中 只有一个合法值 即 "100-continue"
F
- find(int) - Static method in enum class cool.scx.http.x.http2.Http2FrameType
- find(String) - Static method in enum class cool.scx.http.x.http1.headers.connection.Connection
- find(String) - Static method in enum class cool.scx.http.x.http1.headers.expect.Expect
- find(String) - Static method in enum class cool.scx.http.x.http1.headers.transfer_encoding.TransferEncoding
- find(String) - Static method in enum class cool.scx.http.x.http1.headers.upgrade.Upgrade
- FixedLengthByteSupplier - Class in cool.scx.http.x.http1.fixed_length
- FixedLengthByteSupplier(IByteReader, long) - Constructor for class cool.scx.http.x.http1.fixed_length.FixedLengthByteSupplier
- flags() - Method in record class cool.scx.http.x.http2.Http2FrameHeader
-
Returns the value of the
flagsrecord component. - flush() - Method in class cool.scx.http.x.http1.chunked.HttpChunkedOutputStream
- flush() - Method in class cool.scx.http.x.http1.Http1ServerResponseOutputStream
- flush() - Method in class cool.scx.http.x.http1.NoCloseOutputStream
- forEach(BiConsumerX<? super ScxHttpHeaderName, String, X>) - Method in class cool.scx.http.x.http1.headers.Http1Headers
- forEachParameter(BiConsumerX<? super ScxHttpHeaderName, List<String>, X>) - Method in class cool.scx.http.x.http1.headers.Http1Headers
G
- get() - Method in class cool.scx.http.x.http1.chunked.HttpChunkedByteSupplier
- get() - Method in class cool.scx.http.x.http1.fixed_length.FixedLengthByteSupplier
- get(ScxHttpHeaderName) - Method in class cool.scx.http.x.http1.headers.Http1Headers
- get(ScxURI) - Static method in class cool.scx.http.x.ScxHttpClientHelper
- get(String) - Static method in class cool.scx.http.x.ScxHttpClientHelper
- getAll(ScxHttpHeaderName) - Method in class cool.scx.http.x.http1.headers.Http1Headers
- getDefaultPort(String) - Static method in class cool.scx.http.x.HttpClientHelper
- getLocalPeer(ScxTCPSocket) - Static method in class cool.scx.http.x.http1.Http1Helper
- getRemoteAddress(ScxURI) - Static method in class cool.scx.http.x.HttpClientHelper
- getRemotePeer(ScxTCPSocket) - Static method in class cool.scx.http.x.http1.Http1Helper
- getRequestTargetStr(ScxURIWritable, RequestTargetForm) - Static method in class cool.scx.http.x.http1.request_line.Http1RequestLineHelper
- GOAWAY - Enum constant in enum class cool.scx.http.x.http2.Http2FrameType
H
- hashCode() - Method in record class cool.scx.http.x.http1.Http1Body
-
Returns a hash code value for this object.
- hashCode() - Method in record class cool.scx.http.x.http1.request_line.Http1RequestLine
-
Returns a hash code value for this object.
- hashCode() - Method in record class cool.scx.http.x.http1.status_line.Http1StatusLine
-
Returns a hash code value for this object.
- hashCode() - Method in record class cool.scx.http.x.http2.Http2FrameHeader
-
Returns a hash code value for this object.
- headers - Variable in class cool.scx.http.x.HttpClientRequest
- headers() - Method in record class cool.scx.http.x.http1.Http1Body
-
Returns the value of the
headersrecord component. - headers() - Method in class cool.scx.http.x.http1.Http1ClientResponse
- headers() - Method in class cool.scx.http.x.http1.Http1ServerRequest
- headers() - Method in class cool.scx.http.x.http1.Http1ServerResponse
- headers() - Method in class cool.scx.http.x.http2.Http2ServerRequest
- headers() - Method in class cool.scx.http.x.http3.Http3ServerRequest
- headers() - Method in class cool.scx.http.x.HttpClientRequest
- headers(ScxHttpHeaders) - Method in class cool.scx.http.x.http1.Http1ServerResponse
- headers(ScxHttpHeaders) - Method in class cool.scx.http.x.HttpClientRequest
- HEADERS - Enum constant in enum class cool.scx.http.x.http2.Http2FrameType
- HPACK_HUFFMAN_CODEC - Static variable in class cool.scx.http.x.http2.hpack.HPACKHuffmanCodec
- HPACK_HUFFMAN_TABLE - Static variable in class cool.scx.http.x.http2.hpack.HPACKHuffmanTable
- HPACKDecoder - Class in cool.scx.http.x.http2.hpack
- HPACKDecoder() - Constructor for class cool.scx.http.x.http2.hpack.HPACKDecoder
- HPACKHuffmanCodec - Class in cool.scx.http.x.http2.hpack
- HPACKHuffmanTable - Class in cool.scx.http.x.http2.hpack
-
HPACK 静态霍夫曼编码表, 取自 RFC 7541 附录 B.
- HPACKHuffmanTable() - Constructor for class cool.scx.http.x.http2.hpack.HPACKHuffmanTable
- Http1Body - Record Class in cool.scx.http.x.http1
-
ScxHttpBodyImpl
- Http1Body(InputStream, Http1Headers) - Constructor for record class cool.scx.http.x.http1.Http1Body
-
Creates an instance of a
Http1Bodyrecord class. - Http1ClientConnection - Class in cool.scx.http.x.http1
- Http1ClientConnection(ScxTCPSocket, HttpClientOptions) - Constructor for class cool.scx.http.x.http1.Http1ClientConnection
- Http1ClientConnectionOptions - Class in cool.scx.http.x.http1
- Http1ClientConnectionOptions() - Constructor for class cool.scx.http.x.http1.Http1ClientConnectionOptions
- Http1ClientConnectionOptions(Http1ClientConnectionOptions) - Constructor for class cool.scx.http.x.http1.Http1ClientConnectionOptions
- Http1ClientRequest - Interface in cool.scx.http.x.http1
- Http1ClientResponse - Class in cool.scx.http.x.http1
-
HTTP/1.1 ClientResponse
- Http1ClientResponse(Http1StatusLine, Http1Headers, InputStream) - Constructor for class cool.scx.http.x.http1.Http1ClientResponse
- http1ConnectionOptions() - Method in class cool.scx.http.x.HttpClientOptions
- http1ConnectionOptions() - Method in class cool.scx.http.x.HttpServerOptions
- Http1Headers - Class in cool.scx.http.x.http1.headers
- Http1Headers() - Constructor for class cool.scx.http.x.http1.headers.Http1Headers
- Http1Headers(ScxHttpHeaders) - Constructor for class cool.scx.http.x.http1.headers.Http1Headers
- Http1Helper - Class in cool.scx.http.x.http1
- Http1Helper() - Constructor for class cool.scx.http.x.http1.Http1Helper
- Http1RequestLine - Record Class in cool.scx.http.x.http1.request_line
-
Http 1.x 的请求行
- Http1RequestLine(ScxHttpMethod, ScxURI) - Constructor for record class cool.scx.http.x.http1.request_line.Http1RequestLine
- Http1RequestLine(ScxHttpMethod, ScxURI, HttpVersion) - Constructor for record class cool.scx.http.x.http1.request_line.Http1RequestLine
-
Creates an instance of a
Http1RequestLinerecord class. - Http1RequestLineHelper - Class in cool.scx.http.x.http1.request_line
- Http1RequestLineHelper() - Constructor for class cool.scx.http.x.http1.request_line.Http1RequestLineHelper
- Http1ServerConnection - Class in cool.scx.http.x.http1
-
Http 1.1 连接处理器
- Http1ServerConnection(ScxTCPSocket, HttpServerOptions, ConsumerX<ScxHttpServerRequest, ?>, ScxHttpServerErrorHandler) - Constructor for class cool.scx.http.x.http1.Http1ServerConnection
- Http1ServerConnectionOptions - Class in cool.scx.http.x.http1
- Http1ServerConnectionOptions() - Constructor for class cool.scx.http.x.http1.Http1ServerConnectionOptions
- Http1ServerConnectionOptions(Http1ServerConnectionOptions) - Constructor for class cool.scx.http.x.http1.Http1ServerConnectionOptions
- Http1ServerRequest - Class in cool.scx.http.x.http1
-
HTTP/1.1 ServerRequest
- Http1ServerRequest(Http1ServerConnection, Http1RequestLine, Http1Headers, InputStream) - Constructor for class cool.scx.http.x.http1.Http1ServerRequest
- Http1ServerResponse - Class in cool.scx.http.x.http1
-
Http1ServerResponse
- Http1ServerResponseOutputStream - Class in cool.scx.http.x.http1
- Http1ServerResponseOutputStream(Http1ServerConnection, boolean) - Constructor for class cool.scx.http.x.http1.Http1ServerResponseOutputStream
- Http1StatusLine - Record Class in cool.scx.http.x.http1.status_line
- Http1StatusLine(HttpVersion, int, String) - Constructor for record class cool.scx.http.x.http1.status_line.Http1StatusLine
-
Creates an instance of a
Http1StatusLinerecord class. - Http1StatusLineHelper - Class in cool.scx.http.x.http1.status_line
- Http1StatusLineHelper() - Constructor for class cool.scx.http.x.http1.status_line.Http1StatusLineHelper
- Http1UpgradeHandler - Interface in cool.scx.http.x.http1
- Http2ClientConnection - Class in cool.scx.http.x.http2
- Http2ClientConnection(ScxTCPSocket, HttpClientOptions) - Constructor for class cool.scx.http.x.http2.Http2ClientConnection
- Http2FrameHeader - Record Class in cool.scx.http.x.http2
- Http2FrameHeader(int, Http2FrameType, byte, int) - Constructor for record class cool.scx.http.x.http2.Http2FrameHeader
-
Creates an instance of a
Http2FrameHeaderrecord class. - Http2FrameHeaderHelper - Class in cool.scx.http.x.http2
- Http2FrameHeaderHelper() - Constructor for class cool.scx.http.x.http2.Http2FrameHeaderHelper
- Http2FrameType - Enum Class in cool.scx.http.x.http2
- Http2ServerConnection - Class in cool.scx.http.x.http2
- Http2ServerConnection(ScxTCPSocket, HttpServerOptions, ConsumerX<ScxHttpServerRequest, ?>, ScxHttpServerErrorHandler) - Constructor for class cool.scx.http.x.http2.Http2ServerConnection
- Http2ServerRequest - Class in cool.scx.http.x.http2
- Http2ServerRequest() - Constructor for class cool.scx.http.x.http2.Http2ServerRequest
- Http2SettingsHelper - Class in cool.scx.http.x.http2
- Http2SettingsHelper() - Constructor for class cool.scx.http.x.http2.Http2SettingsHelper
- Http3ServerRequest - Class in cool.scx.http.x.http3
- Http3ServerRequest() - Constructor for class cool.scx.http.x.http3.Http3ServerRequest
- HttpChunkedByteSupplier - Class in cool.scx.http.x.http1.chunked
-
用来解析 HttpChunked 分块传输数据
- HttpChunkedByteSupplier(ByteReader) - Constructor for class cool.scx.http.x.http1.chunked.HttpChunkedByteSupplier
- HttpChunkedByteSupplier(ByteReader, long) - Constructor for class cool.scx.http.x.http1.chunked.HttpChunkedByteSupplier
- HttpChunkedOutputStream - Class in cool.scx.http.x.http1.chunked
- HttpChunkedOutputStream(OutputStream) - Constructor for class cool.scx.http.x.http1.chunked.HttpChunkedOutputStream
- HttpClient - Class in cool.scx.http.x
-
todo 待完成
- HttpClient() - Constructor for class cool.scx.http.x.HttpClient
- HttpClient(HttpClientOptions) - Constructor for class cool.scx.http.x.HttpClient
- HttpClientHelper - Class in cool.scx.http.x
- HttpClientHelper() - Constructor for class cool.scx.http.x.HttpClientHelper
- HttpClientOptions - Class in cool.scx.http.x
-
HttpClientOptions
- HttpClientOptions() - Constructor for class cool.scx.http.x.HttpClientOptions
- HttpClientOptions(HttpClientOptions) - Constructor for class cool.scx.http.x.HttpClientOptions
- HttpClientRequest - Class in cool.scx.http.x
-
todo 待完成
- HttpClientRequest(HttpClient) - Constructor for class cool.scx.http.x.HttpClientRequest
- HttpServer - Class in cool.scx.http.x
-
Http 服务器
- HttpServer() - Constructor for class cool.scx.http.x.HttpServer
- HttpServer(HttpServerOptions) - Constructor for class cool.scx.http.x.HttpServer
- HttpServerOptions - Class in cool.scx.http.x
-
Http 服务器配置
- HttpServerOptions() - Constructor for class cool.scx.http.x.HttpServerOptions
- HttpServerOptions(HttpServerOptions) - Constructor for class cool.scx.http.x.HttpServerOptions
- HttpVersionNotSupportedException - Exception Class in cool.scx.http.x.http1.exception
-
HttpVersionNotSupportedException
- HttpVersionNotSupportedException() - Constructor for exception class cool.scx.http.x.http1.exception.HttpVersionNotSupportedException
- HttpVersionNotSupportedException(String) - Constructor for exception class cool.scx.http.x.http1.exception.HttpVersionNotSupportedException
- HttpVersionNotSupportedException(String, Throwable) - Constructor for exception class cool.scx.http.x.http1.exception.HttpVersionNotSupportedException
- HttpVersionNotSupportedException(Throwable) - Constructor for exception class cool.scx.http.x.http1.exception.HttpVersionNotSupportedException
I
- inferURI(ScxURI, ScxHttpHeaders, ScxTCPSocket) - Static method in class cool.scx.http.x.http1.Http1Helper
-
事实上我们无法拿到真正的地址 所以这里只是推测而已
- inputStream() - Method in record class cool.scx.http.x.http1.Http1Body
-
Returns the value of the
inputStreamrecord component. - InvalidHttpRequestLineException - Exception Class in cool.scx.http.x.http1.request_line
-
非法请求行异常
- InvalidHttpRequestLineException(String) - Constructor for exception class cool.scx.http.x.http1.request_line.InvalidHttpRequestLineException
- InvalidHttpStatusException - Exception Class in cool.scx.http.x.http1.status_line
-
非法 Http 响应状态
- InvalidHttpStatusException(String) - Constructor for exception class cool.scx.http.x.http1.status_line.InvalidHttpStatusException
- InvalidHttpStatusLineException - Exception Class in cool.scx.http.x.http1.status_line
-
非法响应行异常
- InvalidHttpStatusLineException(String) - Constructor for exception class cool.scx.http.x.http1.status_line.InvalidHttpStatusLineException
- InvalidHttpVersion - Exception Class in cool.scx.http.x.http1.request_line
-
非法 Http 版本
- InvalidHttpVersion(String) - Constructor for exception class cool.scx.http.x.http1.request_line.InvalidHttpVersion
- isEmpty() - Method in class cool.scx.http.x.http1.headers.Http1Headers
- isKeepAlive() - Method in class cool.scx.http.x.http1.Http1ServerRequest
- isSent() - Method in class cool.scx.http.x.http1.Http1ServerResponse
- iterator() - Method in class cool.scx.http.x.http1.headers.Http1Headers
K
- KEEP_ALIVE - Enum constant in enum class cool.scx.http.x.http1.headers.connection.Connection
L
- length() - Method in record class cool.scx.http.x.http2.Http2FrameHeader
-
Returns the value of the
lengthrecord component. - localAddress() - Method in class cool.scx.http.x.HttpServer
- localPeer() - Method in class cool.scx.http.x.http1.Http1ServerRequest
- localPeer() - Method in class cool.scx.http.x.http2.Http2ServerRequest
- localPeer() - Method in class cool.scx.http.x.http3.Http3ServerRequest
M
- maxHeaderSize() - Method in class cool.scx.http.x.http1.Http1ClientConnectionOptions
- maxHeaderSize() - Method in class cool.scx.http.x.http1.Http1ServerConnectionOptions
- maxHeaderSize() - Method in class cool.scx.http.x.HttpServerOptions
- maxHeaderSize(int) - Method in class cool.scx.http.x.http1.Http1ClientConnectionOptions
- maxHeaderSize(int) - Method in class cool.scx.http.x.http1.Http1ServerConnectionOptions
- maxHeaderSize(int) - Method in class cool.scx.http.x.HttpServerOptions
- maxPayloadSize() - Method in class cool.scx.http.x.http1.Http1ClientConnectionOptions
- maxPayloadSize() - Method in class cool.scx.http.x.http1.Http1ServerConnectionOptions
- maxPayloadSize() - Method in class cool.scx.http.x.HttpServerOptions
- maxPayloadSize(int) - Method in class cool.scx.http.x.http1.Http1ClientConnectionOptions
- maxPayloadSize(long) - Method in class cool.scx.http.x.http1.Http1ServerConnectionOptions
- maxPayloadSize(long) - Method in class cool.scx.http.x.HttpServerOptions
- maxRequestLineSize() - Method in class cool.scx.http.x.http1.Http1ServerConnectionOptions
- maxRequestLineSize() - Method in class cool.scx.http.x.HttpServerOptions
- maxRequestLineSize(int) - Method in class cool.scx.http.x.http1.Http1ServerConnectionOptions
- maxRequestLineSize(int) - Method in class cool.scx.http.x.HttpServerOptions
- maxStatusLineSize() - Method in class cool.scx.http.x.http1.Http1ClientConnectionOptions
- maxStatusLineSize(int) - Method in class cool.scx.http.x.http1.Http1ClientConnectionOptions
- method - Variable in class cool.scx.http.x.HttpClientRequest
- method() - Method in class cool.scx.http.x.http1.Http1ServerRequest
- method() - Method in record class cool.scx.http.x.http1.request_line.Http1RequestLine
-
Returns the value of the
methodrecord component. - method() - Method in class cool.scx.http.x.http2.Http2ServerRequest
- method() - Method in class cool.scx.http.x.http3.Http3ServerRequest
- method() - Method in class cool.scx.http.x.HttpClientRequest
- method(ScxHttpMethod) - Method in class cool.scx.http.x.HttpClientRequest
N
- names() - Method in class cool.scx.http.x.http1.headers.Http1Headers
- NoCloseOutputStream - Class in cool.scx.http.x.http1
-
NoCloseOutputStream
- NoCloseOutputStream(OutputStream) - Constructor for class cool.scx.http.x.http1.NoCloseOutputStream
O
- of(byte[]) - Static method in record class cool.scx.http.x.http2.Http2FrameHeader
- of(int) - Static method in enum class cool.scx.http.x.http2.Http2FrameType
- of(String) - Static method in enum class cool.scx.http.x.http1.headers.connection.Connection
- of(String) - Static method in interface cool.scx.http.x.http1.headers.connection.ScxConnection
- of(String) - Static method in enum class cool.scx.http.x.http1.headers.expect.Expect
- of(String) - Static method in interface cool.scx.http.x.http1.headers.expect.ScxExpect
- of(String) - Static method in interface cool.scx.http.x.http1.headers.transfer_encoding.ScxTransferEncoding
- of(String) - Static method in enum class cool.scx.http.x.http1.headers.transfer_encoding.TransferEncoding
- of(String) - Static method in interface cool.scx.http.x.http1.headers.upgrade.ScxUpgrade
- of(String) - Static method in enum class cool.scx.http.x.http1.headers.upgrade.Upgrade
- of(String) - Static method in record class cool.scx.http.x.http1.request_line.Http1RequestLine
- of(String) - Static method in record class cool.scx.http.x.http1.status_line.Http1StatusLine
- of(String, int) - Static method in interface cool.scx.http.x.proxy.Proxy
- of(InetSocketAddress) - Static method in interface cool.scx.http.x.proxy.Proxy
- onError(ScxHttpServerErrorHandler) - Method in class cool.scx.http.x.HttpServer
- onRequest(ConsumerX<ScxHttpServerRequest, ?>) - Method in class cool.scx.http.x.HttpServer
- options - Variable in class cool.scx.http.x.http1.Http1ClientConnection
- options - Variable in class cool.scx.http.x.http1.Http1ServerConnection
- options() - Method in class cool.scx.http.x.HttpClient
- options() - Method in class cool.scx.http.x.HttpServer
- ORIGIN_FORM - Enum constant in enum class cool.scx.http.x.http1.request_line.RequestTargetForm
-
例: `GET /index.html?
- outputStream() - Method in class cool.scx.http.x.http1.chunked.HttpChunkedOutputStream
P
- parseHttp2FrameHeader(byte[]) - Static method in class cool.scx.http.x.http2.Http2FrameHeaderHelper
- parseRequestLine(String) - Static method in class cool.scx.http.x.http1.request_line.Http1RequestLineHelper
-
解析 请求行
- parseStatusLine(String) - Static method in class cool.scx.http.x.http1.status_line.Http1StatusLineHelper
- PING - Enum constant in enum class cool.scx.http.x.http2.Http2FrameType
- post(ScxURI, MultiPart) - Static method in class cool.scx.http.x.ScxHttpClientHelper
- post(String, MultiPart) - Static method in class cool.scx.http.x.ScxHttpClientHelper
- PRIORITY - Enum constant in enum class cool.scx.http.x.http2.Http2FrameType
- proxy() - Method in class cool.scx.http.x.HttpClientOptions
- proxy(Proxy) - Method in class cool.scx.http.x.HttpClientOptions
- Proxy - Interface in cool.scx.http.x.proxy
-
Http 代理
- proxyAddress() - Method in interface cool.scx.http.x.proxy.Proxy
- PUSH_PROMISE - Enum constant in enum class cool.scx.http.x.http2.Http2FrameType
- put(ScxURI, MultiPart) - Static method in class cool.scx.http.x.ScxHttpClientHelper
- put(String, MultiPart) - Static method in class cool.scx.http.x.ScxHttpClientHelper
R
- read() - Method in class cool.scx.http.x.http1.AutoContinueInputStream
- read(byte[]) - Method in class cool.scx.http.x.http1.AutoContinueInputStream
- read(byte[], int, int) - Method in class cool.scx.http.x.http1.AutoContinueInputStream
- readHttp2Settings(byte[]) - Static method in class cool.scx.http.x.http2.Http2SettingsHelper
- reason() - Method in record class cool.scx.http.x.http1.status_line.Http1StatusLine
-
Returns the value of the
reasonrecord component. - reasonPhrase() - Method in class cool.scx.http.x.http1.Http1ClientResponse
- reasonPhrase() - Method in class cool.scx.http.x.http1.Http1ServerResponse
- reasonPhrase(String) - Method in class cool.scx.http.x.http1.Http1ServerResponse
- remotePeer() - Method in class cool.scx.http.x.http1.Http1ServerRequest
- remotePeer() - Method in class cool.scx.http.x.http2.Http2ServerRequest
- remotePeer() - Method in class cool.scx.http.x.http3.Http3ServerRequest
- remove(ScxHttpHeaderName) - Method in class cool.scx.http.x.http1.headers.Http1Headers
- request() - Method in class cool.scx.http.x.http1.Http1ServerResponse
- request() - Method in class cool.scx.http.x.HttpClient
- request() - Static method in class cool.scx.http.x.ScxHttpClientHelper
- requestHandler - Variable in class cool.scx.http.x.http1.Http1ServerConnection
- RequestHeaderFieldsTooLargeException - Exception Class in cool.scx.http.x.http1.exception
-
RequestHeaderFieldsTooLargeException
- RequestHeaderFieldsTooLargeException() - Constructor for exception class cool.scx.http.x.http1.exception.RequestHeaderFieldsTooLargeException
- RequestHeaderFieldsTooLargeException(String) - Constructor for exception class cool.scx.http.x.http1.exception.RequestHeaderFieldsTooLargeException
- RequestHeaderFieldsTooLargeException(String, Throwable) - Constructor for exception class cool.scx.http.x.http1.exception.RequestHeaderFieldsTooLargeException
- RequestHeaderFieldsTooLargeException(Throwable) - Constructor for exception class cool.scx.http.x.http1.exception.RequestHeaderFieldsTooLargeException
- requestLineStr - Variable in exception class cool.scx.http.x.http1.request_line.InvalidHttpRequestLineException
- requestTarget() - Method in record class cool.scx.http.x.http1.request_line.Http1RequestLine
-
Returns the value of the
requestTargetrecord component. - requestTargetForm - Variable in class cool.scx.http.x.HttpClientRequest
- requestTargetForm() - Method in interface cool.scx.http.x.http1.Http1ClientRequest
- requestTargetForm() - Method in class cool.scx.http.x.HttpClientRequest
- requestTargetForm(RequestTargetForm) - Method in interface cool.scx.http.x.http1.Http1ClientRequest
- requestTargetForm(RequestTargetForm) - Method in class cool.scx.http.x.HttpClientRequest
- RequestTargetForm - Enum Class in cool.scx.http.x.http1.request_line
- response() - Method in class cool.scx.http.x.http1.Http1ServerRequest
- response() - Method in class cool.scx.http.x.http2.Http2ServerRequest
- response() - Method in class cool.scx.http.x.http3.Http3ServerRequest
- RST_STREAM - Enum constant in enum class cool.scx.http.x.http2.Http2FrameType
- running() - Method in class cool.scx.http.x.http1.Http1ServerConnection
S
- ScxConnection - Interface in cool.scx.http.x.http1.headers.connection
-
虽然 Connection 理论上支持 多个按照 "," 分割的值 但是在现代的服务器和客户端实现中, 几乎只存在 一个单值 所以这里我们也仅支持 单个值
- ScxExpect - Interface in cool.scx.http.x.http1.headers.expect
- ScxHttpClientHelper - Class in cool.scx.http.x
-
ScxHttpClientHelper
- ScxHttpClientHelper() - Constructor for class cool.scx.http.x.ScxHttpClientHelper
- ScxTransferEncoding - Interface in cool.scx.http.x.http1.headers.transfer_encoding
-
虽然 TransferEncoding 理论上支持 多个按照 "," 分割的值 但是在现代的服务器和客户端实现中, 几乎只存在 一个单值 所以这里我们也仅支持 单个值
- ScxUpgrade - Interface in cool.scx.http.x.http1.headers.upgrade
- send(MediaWriter) - Method in class cool.scx.http.x.http1.Http1ServerResponse
- send(MediaWriter) - Method in class cool.scx.http.x.HttpClientRequest
- sendContinue100(OutputStream) - Static method in class cool.scx.http.x.http1.Http1Helper
- sendRequest(Http1ClientRequest, MediaWriter) - Method in class cool.scx.http.x.http1.Http1ClientConnection
- sendRequest(HttpClientRequest, MediaWriter) - Method in class cool.scx.http.x.http2.Http2ClientConnection
- set(ScxHttpHeaderName, String...) - Method in class cool.scx.http.x.http1.headers.Http1Headers
- SETTINGS - Enum constant in enum class cool.scx.http.x.http2.Http2FrameType
- size() - Method in class cool.scx.http.x.http1.headers.Http1Headers
- start() - Method in class cool.scx.http.x.http1.Http1ServerConnection
- start() - Method in class cool.scx.http.x.http2.Http2ServerConnection
- start(SocketAddress) - Method in class cool.scx.http.x.HttpServer
- status() - Method in class cool.scx.http.x.http1.Http1ClientResponse
- status() - Method in class cool.scx.http.x.http1.Http1ServerResponse
- status(ScxHttpStatus) - Method in class cool.scx.http.x.http1.Http1ServerResponse
- statusLineStr - Variable in exception class cool.scx.http.x.http1.status_line.InvalidHttpStatusLineException
- statusStr - Variable in exception class cool.scx.http.x.http1.status_line.InvalidHttpStatusException
- stop() - Method in class cool.scx.http.x.http1.Http1ServerConnection
- stop() - Method in class cool.scx.http.x.HttpServer
- streamId() - Method in record class cool.scx.http.x.http2.Http2FrameHeader
-
Returns the value of the
streamIdrecord component.
T
- tcpSocket - Variable in class cool.scx.http.x.http1.Http1ClientConnection
- tcpSocket - Variable in class cool.scx.http.x.http1.Http1ServerConnection
- timeout() - Method in class cool.scx.http.x.HttpClientOptions
- timeout(int) - Method in class cool.scx.http.x.HttpClientOptions
- tls() - Method in class cool.scx.http.x.HttpClientOptions
- tls() - Method in class cool.scx.http.x.HttpServerOptions
- tls(TLS) - Method in class cool.scx.http.x.HttpClientOptions
- tls(TLS) - Method in class cool.scx.http.x.HttpServerOptions
- toMap() - Method in class cool.scx.http.x.http1.headers.Http1Headers
- toMultiValueMap() - Method in class cool.scx.http.x.http1.headers.Http1Headers
- toString() - Method in class cool.scx.http.x.http1.headers.Http1Headers
- toString() - Method in record class cool.scx.http.x.http1.Http1Body
-
Returns a string representation of this record class.
- toString() - Method in record class cool.scx.http.x.http1.request_line.Http1RequestLine
-
Returns a string representation of this record class.
- toString() - Method in record class cool.scx.http.x.http1.status_line.Http1StatusLine
-
Returns a string representation of this record class.
- toString() - Method in record class cool.scx.http.x.http2.Http2FrameHeader
-
Returns a string representation of this record class.
- transferEncoding() - Method in class cool.scx.http.x.http1.headers.Http1Headers
- transferEncoding(ScxTransferEncoding) - Method in class cool.scx.http.x.http1.headers.Http1Headers
- TransferEncoding - Enum Class in cool.scx.http.x.http1.headers.transfer_encoding
- transferTo(OutputStream) - Method in class cool.scx.http.x.http1.AutoContinueInputStream
- type() - Method in record class cool.scx.http.x.http2.Http2FrameHeader
-
Returns the value of the
typerecord component.
U
- upgrade() - Method in class cool.scx.http.x.http1.headers.Http1Headers
- upgrade(ScxUpgrade) - Method in class cool.scx.http.x.http1.headers.Http1Headers
- Upgrade - Enum Class in cool.scx.http.x.http1.headers.upgrade
- UPGRADE - Enum constant in enum class cool.scx.http.x.http1.headers.connection.Connection
- upgradeHandlerList() - Method in class cool.scx.http.x.http1.Http1ServerConnectionOptions
- upgradeHandlerList() - Method in class cool.scx.http.x.HttpServerOptions
- upgradeHandlerList(List<Http1UpgradeHandler>) - Method in class cool.scx.http.x.http1.Http1ServerConnectionOptions
- upgradeHandlerList(List<Http1UpgradeHandler>) - Method in class cool.scx.http.x.HttpServerOptions
- uri - Variable in class cool.scx.http.x.HttpClientRequest
- uri() - Method in class cool.scx.http.x.http1.Http1ServerRequest
- uri() - Method in class cool.scx.http.x.http2.Http2ServerRequest
- uri() - Method in class cool.scx.http.x.http3.Http3ServerRequest
- uri() - Method in class cool.scx.http.x.HttpClientRequest
- uri(ScxURI) - Method in class cool.scx.http.x.HttpClientRequest
V
- validateHost() - Method in class cool.scx.http.x.http1.Http1ServerConnectionOptions
- validateHost() - Method in class cool.scx.http.x.HttpServerOptions
- validateHost(boolean) - Method in class cool.scx.http.x.http1.Http1ServerConnectionOptions
- validateHost(boolean) - Method in class cool.scx.http.x.HttpServerOptions
- validateHost(ScxHttpHeadersWritable) - Static method in class cool.scx.http.x.http1.Http1Helper
-
验证 Http/1.1 中的 Host, 这里我们只校验是否存在且只有一个值
- value() - Method in enum class cool.scx.http.x.http1.headers.connection.Connection
- value() - Method in interface cool.scx.http.x.http1.headers.connection.ScxConnection
- value() - Method in enum class cool.scx.http.x.http1.headers.expect.Expect
- value() - Method in interface cool.scx.http.x.http1.headers.expect.ScxExpect
- value() - Method in interface cool.scx.http.x.http1.headers.transfer_encoding.ScxTransferEncoding
- value() - Method in enum class cool.scx.http.x.http1.headers.transfer_encoding.TransferEncoding
- value() - Method in interface cool.scx.http.x.http1.headers.upgrade.ScxUpgrade
- value() - Method in enum class cool.scx.http.x.http1.headers.upgrade.Upgrade
- valueOf(String) - Static method in enum class cool.scx.http.x.http1.headers.connection.Connection
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.x.http1.headers.expect.Expect
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.x.http1.headers.transfer_encoding.TransferEncoding
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.x.http1.headers.upgrade.Upgrade
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.x.http1.request_line.RequestTargetForm
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cool.scx.http.x.http2.Http2FrameType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cool.scx.http.x.http1.headers.connection.Connection
-
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.x.http1.headers.expect.Expect
-
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.x.http1.headers.transfer_encoding.TransferEncoding
-
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.x.http1.headers.upgrade.Upgrade
-
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.x.http1.request_line.RequestTargetForm
-
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.x.http2.Http2FrameType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version - Variable in class cool.scx.http.x.HttpClientRequest
- version() - Method in class cool.scx.http.x.http1.Http1ServerRequest
- version() - Method in record class cool.scx.http.x.http1.request_line.Http1RequestLine
-
Returns the value of the
versionrecord component. - version() - Method in record class cool.scx.http.x.http1.status_line.Http1StatusLine
-
Returns the value of the
versionrecord component. - version() - Method in class cool.scx.http.x.http2.Http2ServerRequest
- version() - Method in class cool.scx.http.x.http3.Http3ServerRequest
- version() - Method in class cool.scx.http.x.HttpClientRequest
- version(HttpVersion) - Method in class cool.scx.http.x.HttpClientRequest
- versionStr - Variable in exception class cool.scx.http.x.http1.request_line.InvalidHttpVersion
W
- waitResponse() - Method in class cool.scx.http.x.http1.Http1ClientConnection
- waitResponse() - Method in class cool.scx.http.x.http2.Http2ClientConnection
- WEB_SOCKET - Enum constant in enum class cool.scx.http.x.http1.headers.upgrade.Upgrade
- WINDOW_UPDATE - Enum constant in enum class cool.scx.http.x.http2.Http2FrameType
- write(byte[]) - Method in class cool.scx.http.x.http1.Http1ServerResponseOutputStream
- write(byte[]) - Method in class cool.scx.http.x.http1.NoCloseOutputStream
- write(byte[], int, int) - Method in class cool.scx.http.x.http1.chunked.HttpChunkedOutputStream
- write(byte[], int, int) - Method in class cool.scx.http.x.http1.Http1ServerResponseOutputStream
- write(byte[], int, int) - Method in class cool.scx.http.x.http1.NoCloseOutputStream
- write(int) - Method in class cool.scx.http.x.http1.chunked.HttpChunkedOutputStream
- write(int) - Method in class cool.scx.http.x.http1.Http1ServerResponseOutputStream
- write(int) - Method in class cool.scx.http.x.http1.NoCloseOutputStream
All Classes and Interfaces|All Packages|Serialized Form