Index

A B C D E F G H I J K L M N O P Q R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractResultEncryptor - Class in cloud.opencode.base.web.crypto
Abstract Result Encryptor 抽象响应加密器
AbstractResultEncryptor() - Constructor for class cloud.opencode.base.web.crypto.AbstractResultEncryptor
 
accept(String) - Method in class cloud.opencode.base.web.http.HttpHeaders
Sets Accept header.
ACCEPT - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
ACCEPT_CHARSET - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
ACCEPT_ENCODING - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
ACCEPT_LANGUAGE - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
ACCEPTED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
ACCEPTED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
ACCOUNT_DISABLED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
ACCOUNT_LOCKED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
ACCOUNT_NOT_VERIFIED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
add(String, String) - Method in class cloud.opencode.base.web.body.FormBody.Builder
 
add(String, String) - Method in class cloud.opencode.base.web.http.HttpHeaders
Adds a header value.
add(String, String) - Method in class cloud.opencode.base.web.url.QueryString.Builder
Adds a parameter.
add(URI, HttpCookie) - Method in class cloud.opencode.base.web.cookie.CookieJar
 
addAll(Map) - Method in class cloud.opencode.base.web.body.FormBody.Builder
 
addAll(Map) - Method in class cloud.opencode.base.web.url.QueryString.Builder
Adds all parameters from map.
addIfNotEmpty(String, String) - Method in class cloud.opencode.base.web.url.QueryString.Builder
Adds a parameter if value is not empty.
addIfNotNull(String, String) - Method in class cloud.opencode.base.web.body.FormBody.Builder
 
addIfNotNull(String, String) - Method in class cloud.opencode.base.web.url.QueryString.Builder
Adds a parameter if value is not null.
AesResultEncryptor - Class in cloud.opencode.base.web.crypto
AES Result Encryptor AES响应加密器
AesResultEncryptor(byte[]) - Constructor for class cloud.opencode.base.web.crypto.AesResultEncryptor
Create AES encryptor with key 使用密钥创建AES加密器
AesResultEncryptor(String) - Constructor for class cloud.opencode.base.web.crypto.AesResultEncryptor
Create AES encryptor with key string 使用密钥字符串创建AES加密器
AesResultEncryptor.KeyAndEncryptor - Record Class in cloud.opencode.base.web.crypto
Key and Encryptor pair 密钥和加密器对
algorithm() - Method in record class cloud.opencode.base.web.crypto.EncryptedResult
Returns the value of the algorithm record component.
allCookies() - Method in class cloud.opencode.base.web.cookie.CookieJar
 
ALREADY_REPORTED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
and(Sort.Order) - Method in record class cloud.opencode.base.web.page.Sort
Add and return new sort 添加并返回新排序
andAsc(String) - Method in record class cloud.opencode.base.web.page.Sort
Add ascending sort 添加升序
andDesc(String) - Method in record class cloud.opencode.base.web.page.Sort
Add descending sort 添加降序
anonymous() - Static method in record class cloud.opencode.base.web.context.UserContext
Get anonymous user context 获取匿名用户上下文
ANONYMOUS - Static variable in record class cloud.opencode.base.web.context.UserContext
Anonymous user constant 匿名用户常量
appendData(String) - Method in class cloud.opencode.base.web.sse.SseEvent.Builder
 
appendPath(String) - Method in class cloud.opencode.base.web.url.UrlBuilder
Appends to the path.
APPLICATION_FORM_URLENCODED - Static variable in class cloud.opencode.base.web.http.ContentType
 
APPLICATION_JSON - Static variable in class cloud.opencode.base.web.http.ContentType
 
APPLICATION_OCTET_STREAM - Static variable in class cloud.opencode.base.web.http.ContentType
 
APPLICATION_PDF - Static variable in class cloud.opencode.base.web.http.ContentType
 
APPLICATION_XML - Static variable in class cloud.opencode.base.web.http.ContentType
 
APPLICATION_ZIP - Static variable in class cloud.opencode.base.web.http.ContentType
 
asc(String) - Static method in record class cloud.opencode.base.web.page.Sort
Create sort by property ascending 按属性升序创建排序
asc(String) - Static method in record class cloud.opencode.base.web.page.Sort.Order
Create ascending order 创建升序
ASC - Enum constant in enum class cloud.opencode.base.web.page.Sort.Direction
 
asCookieManager() - Method in class cloud.opencode.base.web.cookie.CookieJar
 
attribute(String, Object) - Method in class cloud.opencode.base.web.context.RequestContext.Builder
 
attributes() - Method in record class cloud.opencode.base.web.context.RequestContext
Returns the value of the attributes record component.
attributes() - Method in record class cloud.opencode.base.web.context.UserContext
Returns the value of the attributes record component.
attributes(Map) - Method in class cloud.opencode.base.web.context.RequestContext.Builder
 
AUDIO_MPEG - Static variable in class cloud.opencode.base.web.http.ContentType
 
AUTHORIZATION - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 

B

BAD_GATEWAY - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
BAD_GATEWAY - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
BAD_REQUEST - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
BAD_REQUEST - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
badRequest(String) - Static method in exception class cloud.opencode.base.web.exception.OpenWebException
Create bad request exception 创建请求错误异常
BANDWIDTH_LIMIT - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
base64Decode(String) - Static method in class cloud.opencode.base.web.OpenWeb
Base64 decode Base64解码
base64Encode(String) - Static method in class cloud.opencode.base.web.OpenWeb
Base64 encode Base64编码
base64UrlDecode(String) - Static method in class cloud.opencode.base.web.OpenWeb
Base64 URL decode Base64 URL解码
base64UrlEncode(String) - Static method in class cloud.opencode.base.web.OpenWeb
Base64 URL encode Base64 URL编码
basicAuth(String, String) - Method in class cloud.opencode.base.web.http.HttpHeaders
Sets Authorization header with Basic auth.
bearerAuth(String) - Method in class cloud.opencode.base.web.http.HttpHeaders
Sets Authorization header with Bearer token.
binary() - Static method in class cloud.opencode.base.web.http.ContentType
Creates a ContentType for binary data.
build() - Method in class cloud.opencode.base.web.body.FormBody.Builder
 
build() - Method in class cloud.opencode.base.web.context.RequestContext.Builder
 
build() - Method in class cloud.opencode.base.web.Results.Builder
Build the result 构建结果
build() - Method in class cloud.opencode.base.web.sse.SseEvent.Builder
 
build() - Method in class cloud.opencode.base.web.url.QueryString.Builder
Builds the query string.
build() - Method in class cloud.opencode.base.web.url.UrlBuilder
Builds the URL string.
builder() - Static method in class cloud.opencode.base.web.body.FormBody
 
builder() - Static method in record class cloud.opencode.base.web.context.RequestContext
Create request context builder 创建请求上下文构建器
builder() - Static method in class cloud.opencode.base.web.Results
Create result builder 创建结果构建器
builder() - Static method in record class cloud.opencode.base.web.sse.SseEvent
 
builder() - Static method in class cloud.opencode.base.web.url.OpenUrl
Creates a URL builder.
builder() - Static method in class cloud.opencode.base.web.url.QueryString
Creates a builder.
builder(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Creates a URL builder from existing URL.
buildQuery(Map) - Static method in class cloud.opencode.base.web.OpenWeb
Build query string 构建查询字符串
buildQueryString(Map) - Static method in class cloud.opencode.base.web.util.WebUtil
 
buildUri() - Method in class cloud.opencode.base.web.url.UrlBuilder
Builds as URI.
BUSINESS_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
by(Sort.Order...) - Static method in record class cloud.opencode.base.web.page.Sort
Create sort by multiple properties 按多个属性创建排序
by(List) - Static method in record class cloud.opencode.base.web.page.Sort
Create sort by multiple properties 按多个属性创建排序

C

CACHE_CONTROL - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
clear() - Static method in class cloud.opencode.base.web.context.RequestContextHolder
Clear the request context 清除请求上下文
clear() - Method in class cloud.opencode.base.web.cookie.CookieJar
 
clear() - Method in class cloud.opencode.base.web.http.HttpHeaders
Clears all headers.
clear() - Method in class cloud.opencode.base.web.url.QueryString.Builder
Clears all parameters.
clearContext() - Static method in class cloud.opencode.base.web.OpenWeb
Clear current request context 清除当前请求上下文
clientIp() - Method in record class cloud.opencode.base.web.context.RequestContext
Returns the value of the clientIp record component.
clientIp(String) - Method in class cloud.opencode.base.web.context.RequestContext.Builder
 
cloud.opencode.base.web - module cloud.opencode.base.web
OpenCode Base Web Module OpenCode 基础 Web 模块
cloud.opencode.base.web - package cloud.opencode.base.web
 
cloud.opencode.base.web.body - package cloud.opencode.base.web.body
 
cloud.opencode.base.web.context - package cloud.opencode.base.web.context
 
cloud.opencode.base.web.cookie - package cloud.opencode.base.web.cookie
 
cloud.opencode.base.web.crypto - package cloud.opencode.base.web.crypto
 
cloud.opencode.base.web.exception - package cloud.opencode.base.web.exception
 
cloud.opencode.base.web.http - package cloud.opencode.base.web.http
 
cloud.opencode.base.web.page - package cloud.opencode.base.web.page
 
cloud.opencode.base.web.spi - package cloud.opencode.base.web.spi
 
cloud.opencode.base.web.sse - package cloud.opencode.base.web.sse
 
cloud.opencode.base.web.url - package cloud.opencode.base.web.url
 
cloud.opencode.base.web.util - package cloud.opencode.base.web.util
 
code() - Method in record class cloud.opencode.base.web.crypto.EncryptedResult
Returns the value of the code record component.
code() - Method in record class cloud.opencode.base.web.Result
Returns the value of the code record component.
code(ResultCode) - Method in class cloud.opencode.base.web.Results.Builder
Set code from result code 从响应码设置代码
code(String) - Method in class cloud.opencode.base.web.Results.Builder
Set code 设置代码
CommonResultCode - Enum Class in cloud.opencode.base.web
Common Result Code 通用响应码
CONCURRENT_LIMIT - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
CONFLICT - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
CONFLICT - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
CONNECT - Enum constant in enum class cloud.opencode.base.web.http.HttpMethod
CONNECT - Establish tunnel CONNECT - 建立隧道
CONNECTION - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
CONSTRAINT_VIOLATION - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
contains(String) - Method in class cloud.opencode.base.web.http.HttpHeaders
Checks if a header exists.
CONTENT_DISPOSITION - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
CONTENT_ENCODING - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
CONTENT_LENGTH - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
CONTENT_TYPE - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
contentType() - Method in record class cloud.opencode.base.web.body.RequestBody.SimpleBody
Returns the value of the contentType record component.
contentType(ContentType) - Method in class cloud.opencode.base.web.http.HttpHeaders
Sets Content-Type header.
contentType(String) - Method in class cloud.opencode.base.web.http.HttpHeaders
Sets Content-Type header.
ContentType - Class in cloud.opencode.base.web.http
Content Type - HTTP Content-Type Header Values 内容类型 - HTTP Content-Type 头部值
CONTINUE - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
COOKIE - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
CookieJar - Class in cloud.opencode.base.web.cookie
Cookie Jar - HTTP Cookie Storage and Management Cookie 存储 - HTTP Cookie 存储和管理
cookies(URI) - Method in class cloud.opencode.base.web.cookie.CookieJar
 
copyOf(HttpHeaders) - Static method in class cloud.opencode.base.web.http.HttpHeaders
Creates a copy of the headers.
create() - Static method in class cloud.opencode.base.web.url.UrlBuilder
Creates a new URL builder.
CREATED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
CREATED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
CREDENTIALS_INVALID - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
customize(Result) - Method in interface cloud.opencode.base.web.spi.ResultCustomizer
Customize the result 定制响应

D

DAILY_LIMIT_EXCEEDED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
data() - Method in record class cloud.opencode.base.web.Result
Returns the value of the data record component.
data() - Method in record class cloud.opencode.base.web.sse.SseEvent
Returns the value of the data record component.
data(String) - Method in class cloud.opencode.base.web.sse.SseEvent.Builder
 
data(T) - Method in class cloud.opencode.base.web.Results.Builder
Set data 设置数据
DATA_DUPLICATE - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
DATA_INTEGRITY_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
DATA_NOT_FOUND - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
DATABASE_CONNECTION_FAILED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
DATABASE_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
DATABASE_TIMEOUT - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
dataDuplicate(String) - Static method in exception class cloud.opencode.base.web.exception.OpenBizException
Create data duplicate exception 创建数据重复异常
dataNotFound(String) - Static method in exception class cloud.opencode.base.web.exception.OpenBizException
Create data not found exception 创建数据不存在异常
DATE - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
DEADLOCK_DETECTED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
decode(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
URL decodes a string.
decrypt(EncryptedResult, Class) - Method in class cloud.opencode.base.web.crypto.AbstractResultEncryptor
 
decrypt(EncryptedResult, Class) - Method in interface cloud.opencode.base.web.crypto.ResultEncryptor
Decrypt to result 解密为响应
decryptionFailed(String) - Static method in exception class cloud.opencode.base.web.crypto.OpenCryptoException
Create decryption exception 创建解密异常
DEFAULT_EVENT - Static variable in record class cloud.opencode.base.web.sse.SseEvent
 
defaultRequest() - Static method in record class cloud.opencode.base.web.page.PageRequest
Get default page request 获取默认分页请求
DELETE - Enum constant in enum class cloud.opencode.base.web.http.HttpMethod
DELETE - Delete resource DELETE - 删除资源
DELETED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
desc(String) - Static method in record class cloud.opencode.base.web.page.Sort
Create sort by property descending 按属性降序创建排序
desc(String) - Static method in record class cloud.opencode.base.web.page.Sort.Order
Create descending order 创建降序
DESC - Enum constant in enum class cloud.opencode.base.web.page.Sort.Direction
 
deserializeData(String, Class) - Method in class cloud.opencode.base.web.crypto.AbstractResultEncryptor
Deserialize JSON string to data 将JSON字符串反序列化为数据
detectContentType(Path) - Static method in class cloud.opencode.base.web.body.FileBody
 
DEVICE_NOT_TRUSTED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
direction() - Method in record class cloud.opencode.base.web.page.Sort.Order
Returns the value of the direction record component.
disabled() - Static method in class cloud.opencode.base.web.cookie.CookieJar
 
doDecrypt(byte[]) - Method in class cloud.opencode.base.web.crypto.AbstractResultEncryptor
Perform decryption 执行解密
doDecrypt(byte[]) - Method in class cloud.opencode.base.web.crypto.AesResultEncryptor
 
doEncrypt(byte[]) - Method in class cloud.opencode.base.web.crypto.AbstractResultEncryptor
Perform encryption 执行加密
doEncrypt(byte[]) - Method in class cloud.opencode.base.web.crypto.AesResultEncryptor
 

E

EARLY_HINTS - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
EMAIL_SEND_FAILED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
empty() - Static method in class cloud.opencode.base.web.body.FormBody
 
empty() - Static method in interface cloud.opencode.base.web.body.RequestBody
 
empty() - Static method in record class cloud.opencode.base.web.page.PageInfo
Create empty page info 创建空分页信息
empty() - Static method in record class cloud.opencode.base.web.page.PageResult
Create empty result 创建空结果
empty() - Static method in class cloud.opencode.base.web.url.QueryString
Creates an empty query string.
empty(int, int) - Static method in record class cloud.opencode.base.web.page.PageResult
Create empty result with page info 创建带分页信息的空结果
emptyPage() - Static method in class cloud.opencode.base.web.Results
Create empty page result 创建空分页结果
emptyPage(int, int) - Static method in class cloud.opencode.base.web.Results
Create empty page result with page info 创建带分页信息的空分页结果
encode(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
URL encodes a string.
encodeParams(Map) - Static method in class cloud.opencode.base.web.url.OpenUrl
Encodes query parameters from map.
encodePath(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Encodes a path segment (preserves slashes).
encrypt(Result) - Method in class cloud.opencode.base.web.crypto.AbstractResultEncryptor
 
encrypt(Result) - Method in interface cloud.opencode.base.web.crypto.ResultEncryptor
Encrypt result 加密响应
encryptedData() - Method in record class cloud.opencode.base.web.crypto.EncryptedResult
Returns the value of the encryptedData record component.
EncryptedResult - Record Class in cloud.opencode.base.web.crypto
Encrypted Result 加密响应
EncryptedResult(String, String, String, Instant, String) - Constructor for record class cloud.opencode.base.web.crypto.EncryptedResult
Creates an instance of a EncryptedResult record class.
encryptionFailed(String) - Static method in exception class cloud.opencode.base.web.crypto.OpenCryptoException
Create encryption exception 创建加密异常
encryptor() - Method in record class cloud.opencode.base.web.crypto.AesResultEncryptor.KeyAndEncryptor
Returns the value of the encryptor record component.
equals(Object) - Method in record class cloud.opencode.base.web.body.RequestBody.SimpleBody
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.web.context.RequestContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.web.context.UserContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.web.crypto.AesResultEncryptor.KeyAndEncryptor
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.web.crypto.EncryptedResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.web.page.PageInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.web.page.PageRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.web.page.PageResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.web.page.Sort
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.web.page.Sort.Order
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.web.Result
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.web.sse.SseEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class cloud.opencode.base.web.url.QueryString
 
ETAG - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
event() - Method in record class cloud.opencode.base.web.sse.SseEvent
Returns the value of the event record component.
event(String) - Method in class cloud.opencode.base.web.sse.SseEvent.Builder
 
eventOrDefault() - Method in record class cloud.opencode.base.web.sse.SseEvent
 
ExceptionConverter - Class in cloud.opencode.base.web.exception
Exception Converter 异常转换器
execute(RequestContext, Runnable) - Static method in class cloud.opencode.base.web.context.RequestContextHolder
Execute runnable with context 使用上下文执行Runnable
execute(RequestContext, Supplier) - Static method in class cloud.opencode.base.web.context.RequestContextHolder
Execute supplier with context 使用上下文执行Supplier
exists() - Method in class cloud.opencode.base.web.body.FileBody
 
EXPECTATION_FAILED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
EXPIRES - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
EXTERNAL_API_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
EXTERNAL_TIMEOUT - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
EXTERNAL_UNAVAILABLE - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 

F

fail(ResultCode) - Static method in class cloud.opencode.base.web.OpenWeb
Create failure result with result code 使用响应码创建失败结果
fail(ResultCode) - Static method in record class cloud.opencode.base.web.Result
Create failure result with result code 使用响应码创建失败结果
fail(ResultCode) - Static method in class cloud.opencode.base.web.Results
Create failure result with result code 使用响应码创建失败结果
fail(ResultCode, String) - Static method in record class cloud.opencode.base.web.Result
Create failure result with result code and custom message 使用响应码和自定义消息创建失败结果
fail(ResultCode, String) - Static method in class cloud.opencode.base.web.Results
Create failure result with result code and custom message 使用响应码和自定义消息创建失败结果
fail(String) - Static method in class cloud.opencode.base.web.OpenWeb
Create failure result 创建失败结果
fail(String, String) - Static method in class cloud.opencode.base.web.OpenWeb
Create failure result with code 创建带代码的失败结果
fail(String, String) - Static method in record class cloud.opencode.base.web.Result
Create failure result 创建失败结果
fail(String, String) - Static method in class cloud.opencode.base.web.Results
Create failure result 创建失败结果
fail(String, String, T) - Static method in class cloud.opencode.base.web.Results
Create failure result with data 创建带数据的失败结果
fail(Throwable) - Static method in class cloud.opencode.base.web.OpenWeb
Create failure result from exception 从异常创建失败结果
fail(Throwable) - Static method in record class cloud.opencode.base.web.Result
Create failure result from exception 从异常创建失败结果
fail(Throwable) - Static method in class cloud.opencode.base.web.Results
Create failure result from exception 从异常创建失败结果
FAILED_DEPENDENCY - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
file(Path) - Static method in interface cloud.opencode.base.web.body.RequestBody
 
file(Path, String) - Static method in interface cloud.opencode.base.web.body.RequestBody
 
FILE_CORRUPTED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
FILE_EMPTY - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
FILE_NOT_FOUND - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
FILE_TOO_LARGE - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
FILE_TYPE_NOT_ALLOWED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
FILE_UPLOAD_FAILED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
FILE_VIRUS_DETECTED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
FileBody - Class in cloud.opencode.base.web.body
File Body - File Request Body 文件请求体 - 文件请求体
first() - Method in record class cloud.opencode.base.web.page.PageRequest
Get first page request 获取第一页请求
first(int) - Static method in record class cloud.opencode.base.web.page.PageRequest
Get first page request 获取第一页请求
flatMap(Function) - Method in record class cloud.opencode.base.web.Result
FlatMap the data 扁平映射数据
forbidden(String) - Static method in exception class cloud.opencode.base.web.exception.OpenWebException
Create forbidden exception 创建禁止访问异常
FORBIDDEN - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
FORBIDDEN - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
form() - Static method in class cloud.opencode.base.web.http.ContentType
Creates a ContentType for form data.
FormBody - Class in cloud.opencode.base.web.body
Form Body - URL-Encoded Form Request Body 表单请求体 - URL 编码的表单请求体
FormBody.Builder - Class in cloud.opencode.base.web.body
 
FOUND - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
fragment(String) - Method in class cloud.opencode.base.web.url.UrlBuilder
Sets the fragment.
from(PageRequest, long) - Static method in record class cloud.opencode.base.web.page.PageInfo
Create from page request 从分页请求创建
from(String) - Static method in class cloud.opencode.base.web.url.UrlBuilder
Creates a URL builder from existing URL.
from(HttpHeaders) - Static method in class cloud.opencode.base.web.http.HttpHeaders
Creates headers from JDK HttpHeaders.
from(URI) - Static method in class cloud.opencode.base.web.url.UrlBuilder
Creates a URL builder from URI.
fromCode(int) - Static method in enum class cloud.opencode.base.web.http.HttpStatus
Gets HttpStatus from status code.
fromCode(String) - Static method in enum class cloud.opencode.base.web.CommonResultCode
Find result code by code string 根据code字符串查找响应码
fromCode(String, CommonResultCode) - Static method in enum class cloud.opencode.base.web.CommonResultCode
Find result code by code string with default 根据code字符串查找响应码(带默认值)
fromString(String) - Static method in enum class cloud.opencode.base.web.http.HttpMethod
Parses method name to enum.

G

GATEWAY_TIMEOUT - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
GATEWAY_TIMEOUT - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
get(String) - Method in class cloud.opencode.base.web.body.FormBody
 
get(String) - Method in class cloud.opencode.base.web.http.HttpHeaders
Gets the first value for a header.
get(String) - Method in class cloud.opencode.base.web.url.QueryString
Gets a parameter value.
get(String, String) - Method in class cloud.opencode.base.web.url.QueryString
Gets a parameter value with default.
GET - Enum constant in enum class cloud.opencode.base.web.http.HttpMethod
GET - Retrieve resource GET - 获取资源
getAlgorithm() - Method in class cloud.opencode.base.web.crypto.AesResultEncryptor
 
getAlgorithm() - Method in interface cloud.opencode.base.web.crypto.ResultEncryptor
Get the algorithm name 获取算法名称
getAll(String) - Method in class cloud.opencode.base.web.body.FormBody
 
getAll(String) - Method in class cloud.opencode.base.web.http.HttpHeaders
Gets all values for a header.
getAll(String) - Method in class cloud.opencode.base.web.url.QueryString
Gets all values for a parameter.
getAttribute(String) - Method in record class cloud.opencode.base.web.context.RequestContext
Get attribute 获取属性
getAttribute(String) - Method in record class cloud.opencode.base.web.context.UserContext
Get attribute 获取属性
getAttribute(String, T) - Method in record class cloud.opencode.base.web.context.RequestContext
Get attribute with default value 获取属性(带默认值)
getAttribute(String, T) - Method in record class cloud.opencode.base.web.context.UserContext
Get attribute with default value 获取属性(带默认值)
getBaseUrl(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Gets the base URL (scheme + host + port).
getBodyPublisher() - Method in class cloud.opencode.base.web.body.FileBody
 
getBodyPublisher() - Method in class cloud.opencode.base.web.body.FormBody
 
getBodyPublisher() - Method in class cloud.opencode.base.web.body.JsonBody
 
getBodyPublisher() - Method in interface cloud.opencode.base.web.body.RequestBody
 
getBodyPublisher() - Method in record class cloud.opencode.base.web.body.RequestBody.SimpleBody
 
getBoundary() - Method in class cloud.opencode.base.web.http.ContentType
Gets the boundary for multipart.
getByCode(String) - Method in interface cloud.opencode.base.web.spi.ResultCodeProvider
Get result code by code string 通过代码字符串获取响应码
getCharset() - Method in class cloud.opencode.base.web.http.ContentType
Gets the charset.
getCharsetOrDefault(Charset) - Method in class cloud.opencode.base.web.http.ContentType
Gets the charset or default.
getCode() - Method in enum class cloud.opencode.base.web.CommonResultCode
 
getCode() - Method in exception class cloud.opencode.base.web.exception.OpenWebException
Get the code 获取代码
getCode() - Method in enum class cloud.opencode.base.web.http.HttpStatus
Gets the status code.
getCode() - Method in interface cloud.opencode.base.web.ResultCode
Get the code 获取响应码
getCode(Throwable) - Static method in class cloud.opencode.base.web.exception.ExceptionConverter
Get error code from exception 从异常获取错误代码
getContentLength() - Method in class cloud.opencode.base.web.body.FileBody
 
getContentLength() - Method in class cloud.opencode.base.web.body.FormBody
 
getContentLength() - Method in class cloud.opencode.base.web.body.JsonBody
 
getContentLength() - Method in interface cloud.opencode.base.web.body.RequestBody
 
getContentLength() - Method in record class cloud.opencode.base.web.body.RequestBody.SimpleBody
 
getContentLength() - Method in class cloud.opencode.base.web.http.HttpHeaders
Gets Content-Length header.
getContentType() - Method in class cloud.opencode.base.web.body.FileBody
 
getContentType() - Method in class cloud.opencode.base.web.body.FormBody
 
getContentType() - Method in class cloud.opencode.base.web.body.JsonBody
 
getContentType() - Method in interface cloud.opencode.base.web.body.RequestBody
 
getContentType() - Method in record class cloud.opencode.base.web.body.RequestBody.SimpleBody
 
getContentType() - Method in class cloud.opencode.base.web.http.HttpHeaders
Gets Content-Type header.
getContext() - Static method in class cloud.opencode.base.web.context.RequestContextHolder
Get the request context 获取请求上下文
getContext() - Static method in class cloud.opencode.base.web.OpenWeb
Get current request context 获取当前请求上下文
getCount() - Method in record class cloud.opencode.base.web.page.PageResult
Get item count 获取项数量
getCurrentPageSize() - Method in record class cloud.opencode.base.web.page.PageInfo
Get current page actual size 获取当前页实际大小
getData() - Method in exception class cloud.opencode.base.web.exception.OpenBizException
Get the data 获取数据
getDataOrDefault(T) - Method in record class cloud.opencode.base.web.Result
Get data or default value 获取数据或默认值
getDataOrThrow() - Method in record class cloud.opencode.base.web.Result
Get data or throw exception 获取数据或抛出异常
getEffectivePort(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Gets the effective port (considering default ports).
getEncoded() - Method in class cloud.opencode.base.web.body.FormBody
 
getEndOffset() - Method in record class cloud.opencode.base.web.page.PageInfo
Get end offset for current page 获取当前页结束位置
getEntries() - Method in class cloud.opencode.base.web.body.FormBody
 
getFile() - Method in class cloud.opencode.base.web.body.FileBody
 
getFileName() - Method in class cloud.opencode.base.web.body.FileBody
 
getFirst() - Method in record class cloud.opencode.base.web.page.PageResult
Get first item 获取第一项
getFirst() - Method in record class cloud.opencode.base.web.page.Sort
Get first order 获取第一个排序
getFragment(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Gets the fragment from URL.
getHost(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Gets the host from URL.
getHttpStatus() - Method in enum class cloud.opencode.base.web.CommonResultCode
 
getHttpStatus() - Method in exception class cloud.opencode.base.web.exception.OpenWebException
Get the HTTP status 获取HTTP状态
getHttpStatus() - Method in interface cloud.opencode.base.web.ResultCode
Get the HTTP status code 获取HTTP状态码
getHttpStatus(Throwable) - Static method in class cloud.opencode.base.web.exception.ExceptionConverter
Get HTTP status from exception 从异常获取HTTP状态
getId() - Method in record class cloud.opencode.base.web.sse.SseEvent
 
getJson() - Method in class cloud.opencode.base.web.body.JsonBody
 
getLast() - Method in record class cloud.opencode.base.web.page.PageResult
Get last item 获取最后一项
getMessage() - Method in enum class cloud.opencode.base.web.CommonResultCode
 
getMessage() - Method in interface cloud.opencode.base.web.ResultCode
Get the message 获取响应消息
getMimeType() - Method in class cloud.opencode.base.web.http.ContentType
Gets the MIME type.
getNextPage() - Method in record class cloud.opencode.base.web.page.PageInfo
Get next page number 获取下一页页码
getOffset() - Method in record class cloud.opencode.base.web.page.PageInfo
Get offset for SQL 获取SQL偏移量
getOffset() - Method in record class cloud.opencode.base.web.page.PageRequest
Get offset for SQL 获取SQL偏移量
getOrCreate(Supplier) - Static method in class cloud.opencode.base.web.context.RequestContextHolder
Get the request context, creating if absent 获取请求上下文,如果不存在则创建
getOrDefault(String, String) - Method in class cloud.opencode.base.web.http.HttpHeaders
Gets the first value for a header with default.
getOrder() - Method in interface cloud.opencode.base.web.spi.ResultCodeProvider
Get the provider order 获取提供者顺序
getOrder() - Method in interface cloud.opencode.base.web.spi.ResultCustomizer
Get the customizer order 获取定制器顺序
getPage() - Method in record class cloud.opencode.base.web.page.PageResult
Get page number 获取页码
getPath(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Gets the path from URL.
getPort(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Gets the port from URL.
getPreviousPage() - Method in record class cloud.opencode.base.web.page.PageInfo
Get previous page number 获取上一页页码
getQuery(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Gets the query string from URL.
getQueryParam(String, String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Gets query parameter from URL.
getReason() - Method in enum class cloud.opencode.base.web.http.HttpStatus
Gets the reason phrase.
getResultCodes() - Method in interface cloud.opencode.base.web.spi.ResultCodeProvider
Get all result codes 获取所有响应码
getRetry() - Method in record class cloud.opencode.base.web.sse.SseEvent
 
getScheme(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Gets the scheme from URL.
getSerializer() - Static method in class cloud.opencode.base.web.body.JsonBody
 
getSize() - Method in record class cloud.opencode.base.web.page.PageResult
Get page size 获取页大小
getTotal() - Method in record class cloud.opencode.base.web.page.PageResult
Get total count 获取总数
getTotalPages() - Method in record class cloud.opencode.base.web.page.PageResult
Get total pages 获取总页数
getTraceId() - Static method in class cloud.opencode.base.web.context.RequestContextHolder
Get trace ID from current context 从当前上下文获取追踪ID
getTraceId() - Static method in class cloud.opencode.base.web.OpenWeb
Get current trace ID 获取当前追踪ID
getUser() - Static method in class cloud.opencode.base.web.context.RequestContextHolder
Get user context from current context 从当前上下文获取用户上下文
getUser() - Static method in class cloud.opencode.base.web.OpenWeb
Get current user context 获取当前用户上下文
getUserId() - Method in record class cloud.opencode.base.web.context.RequestContext
Get user ID 获取用户ID
getUserId() - Static method in class cloud.opencode.base.web.context.RequestContextHolder
Get user ID from current context 从当前上下文获取用户ID
getUserId() - Static method in class cloud.opencode.base.web.OpenWeb
Get current user ID 获取当前用户ID
getUsername() - Method in record class cloud.opencode.base.web.context.RequestContext
Get username 获取用户名
GONE - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
GONE - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 

H

has(String) - Method in class cloud.opencode.base.web.url.QueryString
Checks if parameter exists.
hasAnyPermission(String...) - Method in record class cloud.opencode.base.web.context.UserContext
Check if user has any of the permissions 检查用户是否拥有任一权限
hasAnyRole(String...) - Method in record class cloud.opencode.base.web.context.UserContext
Check if user has any of the roles 检查用户是否拥有任一角色
hasContent() - Method in class cloud.opencode.base.web.sse.SseEvent.Builder
 
hasContext() - Static method in class cloud.opencode.base.web.context.RequestContextHolder
Check if context exists 检查上下文是否存在
hasData() - Method in record class cloud.opencode.base.web.sse.SseEvent
 
hashCode() - Method in record class cloud.opencode.base.web.body.RequestBody.SimpleBody
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.web.context.RequestContext
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.web.context.UserContext
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.web.crypto.AesResultEncryptor.KeyAndEncryptor
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.web.crypto.EncryptedResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.web.page.PageInfo
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.web.page.PageRequest
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.web.page.PageResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.web.page.Sort
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.web.page.Sort.Order
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.web.Result
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.web.sse.SseEvent
Returns a hash code value for this object.
hashCode() - Method in class cloud.opencode.base.web.url.QueryString
 
hasId() - Method in record class cloud.opencode.base.web.sse.SseEvent
 
hasNext() - Method in record class cloud.opencode.base.web.page.PageInfo
Check if has next page 检查是否有下一页
hasNext() - Method in record class cloud.opencode.base.web.page.PageResult
Check if has next page 检查是否有下一页
hasPermission(String) - Method in record class cloud.opencode.base.web.context.UserContext
Check if user has permission 检查用户是否拥有权限
hasPrevious() - Method in record class cloud.opencode.base.web.page.PageInfo
Check if has previous page 检查是否有上一页
hasPrevious() - Method in record class cloud.opencode.base.web.page.PageResult
Check if has previous page 检查是否有上一页
hasRequestBody() - Method in enum class cloud.opencode.base.web.http.HttpMethod
Checks if this method typically has a request body.
hasRole(String) - Method in record class cloud.opencode.base.web.context.UserContext
Check if user has role 检查用户是否拥有角色
hasSort() - Method in record class cloud.opencode.base.web.page.PageRequest
Check if has sort 检查是否有排序
HEAD - Enum constant in enum class cloud.opencode.base.web.http.HttpMethod
HEAD - Get headers only HEAD - 仅获取头部
HEADER_TOO_LARGE - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
host(String) - Method in class cloud.opencode.base.web.url.UrlBuilder
Sets the host.
HOST - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
http() - Method in class cloud.opencode.base.web.url.UrlBuilder
Uses HTTP scheme.
HTTP_VERSION_NOT_SUPPORTED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
HttpHeaders - Class in cloud.opencode.base.web.http
HTTP Headers - HTTP Request/Response Headers Container HTTP 头部 - HTTP 请求/响应头部容器
HttpMethod - Enum Class in cloud.opencode.base.web.http
HTTP Method - HTTP Request Method Enumeration HTTP 方法 - HTTP 请求方法枚举
https() - Method in class cloud.opencode.base.web.url.UrlBuilder
Uses HTTPS scheme.
HttpStatus - Enum Class in cloud.opencode.base.web.http
HTTP Status - HTTP Response Status Code Enumeration HTTP 状态 - HTTP 响应状态码枚举

I

id() - Method in record class cloud.opencode.base.web.sse.SseEvent
Returns the value of the id record component.
id(String) - Method in class cloud.opencode.base.web.sse.SseEvent.Builder
 
IF_MATCH - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
IF_MODIFIED_SINCE - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
IF_NONE_MATCH - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
IM_A_TEAPOT - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
IM_USED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
IMAGE_GIF - Static variable in class cloud.opencode.base.web.http.ContentType
 
IMAGE_JPEG - Static variable in class cloud.opencode.base.web.http.ContentType
 
IMAGE_PNG - Static variable in class cloud.opencode.base.web.http.ContentType
 
IMAGE_SVG - Static variable in class cloud.opencode.base.web.http.ContentType
 
IMAGE_WEBP - Static variable in class cloud.opencode.base.web.http.ContentType
 
inMemory() - Static method in class cloud.opencode.base.web.cookie.CookieJar
 
inMemory(CookiePolicy) - Static method in class cloud.opencode.base.web.cookie.CookieJar
 
INSUFFICIENT_BALANCE - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
INSUFFICIENT_STORAGE - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
INTERNAL_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
INTERNAL_SERVER_ERROR - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
internalError(String) - Static method in exception class cloud.opencode.base.web.exception.OpenWebException
Create internal error exception 创建内部错误异常
internalError(String, Throwable) - Static method in exception class cloud.opencode.base.web.exception.OpenWebException
Create internal error exception with cause 创建带原因的内部错误异常
invalidKey(String) - Static method in exception class cloud.opencode.base.web.crypto.OpenCryptoException
Create key exception 创建密钥异常
INVENTORY_INSUFFICIENT - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
IP_BLOCKED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
ipToLong(String) - Static method in class cloud.opencode.base.web.util.WebUtil
 
isAnonymous() - Method in record class cloud.opencode.base.web.context.UserContext
Check if anonymous user 检查是否匿名用户
isAscending() - Method in record class cloud.opencode.base.web.page.Sort.Order
Check if ascending 检查是否升序
isAuthenticated() - Method in record class cloud.opencode.base.web.context.RequestContext
Check if user is authenticated 检查用户是否已认证
isAuthenticated() - Method in record class cloud.opencode.base.web.context.UserContext
Check if authenticated 检查是否已认证
isClientError() - Method in enum class cloud.opencode.base.web.http.HttpStatus
Checks if this is a client error response (4xx).
isDescending() - Method in record class cloud.opencode.base.web.page.Sort.Order
Check if descending 检查是否降序
isEmpty() - Method in class cloud.opencode.base.web.body.FormBody
 
isEmpty() - Method in class cloud.opencode.base.web.http.HttpHeaders
Checks if headers are empty.
isEmpty() - Method in record class cloud.opencode.base.web.page.PageInfo
Check if empty 检查是否为空
isEmpty() - Method in record class cloud.opencode.base.web.page.PageResult
Check if empty 检查是否为空
isEmpty() - Method in class cloud.opencode.base.web.url.QueryString
Checks if empty.
isError() - Method in enum class cloud.opencode.base.web.http.HttpStatus
Checks if this is an error response (4xx or 5xx).
isFailed() - Method in record class cloud.opencode.base.web.Result
Check if failed 检查是否失败
isFirst() - Method in record class cloud.opencode.base.web.page.PageInfo
Check if first page 检查是否第一页
isFirst() - Method in record class cloud.opencode.base.web.page.PageResult
Check if first page 检查是否第一页
isForm() - Method in class cloud.opencode.base.web.http.ContentType
Checks if this is a form type.
isHttp(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Checks if URL is HTTP.
isHttps(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Checks if URL is HTTPS.
isIdempotent() - Method in enum class cloud.opencode.base.web.http.HttpMethod
Checks if this method is idempotent (same request produces same result).
isInformational() - Method in enum class cloud.opencode.base.web.http.HttpStatus
Checks if this is an informational response (1xx).
isJson() - Method in class cloud.opencode.base.web.http.ContentType
Checks if this is a JSON type.
isLast() - Method in record class cloud.opencode.base.web.page.PageInfo
Check if last page 检查是否最后一页
isLast() - Method in record class cloud.opencode.base.web.page.PageResult
Check if last page 检查是否最后一页
isMessage() - Method in record class cloud.opencode.base.web.sse.SseEvent
 
isMultipart() - Method in class cloud.opencode.base.web.http.ContentType
Checks if this is a multipart type.
isPrivateIp(String) - Static method in class cloud.opencode.base.web.OpenWeb
Check if private IP 检查是否私有IP
isPrivateIp(String) - Static method in class cloud.opencode.base.web.util.WebUtil
 
isRedirection() - Method in enum class cloud.opencode.base.web.http.HttpStatus
Checks if this is a redirection response (3xx).
isSafe() - Method in enum class cloud.opencode.base.web.http.HttpMethod
Checks if this method is safe (no side effects).
isServerError() - Method in enum class cloud.opencode.base.web.http.HttpStatus
Checks if this is a server error response (5xx).
isSorted() - Method in record class cloud.opencode.base.web.page.Sort
Check if sorted 检查是否有排序
isSuccess() - Method in record class cloud.opencode.base.web.crypto.EncryptedResult
Check if success 检查是否成功
isSuccess() - Method in enum class cloud.opencode.base.web.http.HttpStatus
Checks if this is a successful response (2xx).
isSuccess() - Method in interface cloud.opencode.base.web.ResultCode
Check if success 检查是否成功
isSuperAdmin() - Method in record class cloud.opencode.base.web.context.UserContext
Check if user is super admin 检查是否超级管理员
isText() - Method in class cloud.opencode.base.web.http.ContentType
Checks if this is a text type.
isUnsorted() - Method in record class cloud.opencode.base.web.page.Sort
Check if unsorted 检查是否无排序
isValid(String) - Static method in enum class cloud.opencode.base.web.http.HttpMethod
Checks if the given method name is valid.
isValid(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Checks if URL is valid.
isValidDomain(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Checks if domain is valid.
isValidEmail(String) - Static method in class cloud.opencode.base.web.OpenWeb
Check if valid email 检查是否有效邮箱
isValidEmail(String) - Static method in class cloud.opencode.base.web.util.WebUtil
 
isValidIp(String) - Static method in class cloud.opencode.base.web.OpenWeb
Check if valid IP 检查是否有效IP
isValidIp(String) - Static method in class cloud.opencode.base.web.util.WebUtil
 
isValidUrl(String) - Static method in class cloud.opencode.base.web.OpenWeb
Check if valid URL 检查是否有效URL
isValidUrl(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Checks if URL matches pattern.
isValidUrl(String) - Static method in class cloud.opencode.base.web.util.WebUtil
 
isXml() - Method in class cloud.opencode.base.web.http.ContentType
Checks if this is an XML type.
items() - Method in record class cloud.opencode.base.web.page.PageResult
Returns the value of the items record component.
iterator() - Method in class cloud.opencode.base.web.http.HttpHeaders
 

J

join(String, String...) - Static method in class cloud.opencode.base.web.url.OpenUrl
Joins URL parts.
json() - Static method in class cloud.opencode.base.web.http.ContentType
Creates a ContentType for JSON with UTF-8.
json(String) - Static method in interface cloud.opencode.base.web.body.RequestBody
 
JsonBody - Class in cloud.opencode.base.web.body
JSON Body - JSON Request Body JSON 请求体 - JSON 请求体

K

key() - Method in record class cloud.opencode.base.web.crypto.AesResultEncryptor.KeyAndEncryptor
Returns the value of the key record component.
KeyAndEncryptor(byte[], AesResultEncryptor) - Constructor for record class cloud.opencode.base.web.crypto.AesResultEncryptor.KeyAndEncryptor
Creates an instance of a KeyAndEncryptor record class.

L

LAST_MODIFIED - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
length() - Method in record class cloud.opencode.base.web.body.RequestBody.SimpleBody
Returns the value of the length record component.
LENGTH_REQUIRED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
locale() - Method in record class cloud.opencode.base.web.context.RequestContext
Returns the value of the locale record component.
locale(Locale) - Method in class cloud.opencode.base.web.context.RequestContext.Builder
 
LOCATION - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
LOCKED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
LOCKED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
longToIp(long) - Static method in class cloud.opencode.base.web.util.WebUtil
 
LOOP_DETECTED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 

M

map(Function) - Method in record class cloud.opencode.base.web.page.PageResult
Map items to another type 将项映射为另一种类型
map(Function) - Method in record class cloud.opencode.base.web.Result
Map the data to another type 将数据映射为另一种类型
mapList(Function) - Method in record class cloud.opencode.base.web.page.PageResult
Map entire list to another type 转换整个列表为另一种类型
message() - Method in record class cloud.opencode.base.web.Result
Returns the value of the message record component.
message(String) - Method in class cloud.opencode.base.web.Results.Builder
Set message 设置消息
METHOD_NOT_ALLOWED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
METHOD_NOT_ALLOWED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
MFA_INVALID - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
MFA_REQUIRED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
MISDIRECTED_REQUEST - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
MOVED_PERMANENTLY - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
MULTI_STATUS - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
multipart(String) - Static method in class cloud.opencode.base.web.http.ContentType
Creates a ContentType for multipart with boundary.
MULTIPART_FORM_DATA - Static variable in class cloud.opencode.base.web.http.ContentType
 
MULTIPART_MIXED - Static variable in class cloud.opencode.base.web.http.ContentType
 
MULTIPLE_CHOICES - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 

N

names() - Method in class cloud.opencode.base.web.http.HttpHeaders
Gets all header names.
names() - Method in class cloud.opencode.base.web.url.QueryString
Gets all parameter names.
NETWORK_AUTHENTICATION_REQUIRED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
NETWORK_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
next() - Method in record class cloud.opencode.base.web.page.PageRequest
Get next page request 获取下一页请求
NO_CONTENT - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
NO_CONTENT - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
NON_AUTHORITATIVE_INFORMATION - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
normalize(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Normalizes a URL.
NOT_ACCEPTABLE - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
NOT_ACCEPTABLE - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
NOT_EXTENDED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
NOT_FOUND - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
NOT_FOUND - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
NOT_IMPLEMENTED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
NOT_IMPLEMENTED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
NOT_MODIFIED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
notFound(String) - Static method in exception class cloud.opencode.base.web.exception.OpenWebException
Create not found exception 创建资源不存在异常

O

of() - Static method in class cloud.opencode.base.web.http.HttpHeaders
Creates empty headers.
of(byte[], String) - Static method in interface cloud.opencode.base.web.body.RequestBody
 
of(int, int) - Static method in record class cloud.opencode.base.web.page.PageRequest
Create page request 创建分页请求
of(int, int, long) - Static method in record class cloud.opencode.base.web.page.PageInfo
Create page info 创建分页信息
of(int, int, Sort) - Static method in record class cloud.opencode.base.web.page.PageRequest
Create page request with sort 创建带排序的分页请求
of(int, int, String, String) - Static method in record class cloud.opencode.base.web.page.PageRequest
Create page request with sort string 创建带排序字符串的分页请求
of(Object) - Static method in class cloud.opencode.base.web.body.JsonBody
 
of(String) - Static method in class cloud.opencode.base.web.body.JsonBody
 
of(String) - Static method in record class cloud.opencode.base.web.context.RequestContext
Create simple request context 创建简单请求上下文
of(String) - Static method in class cloud.opencode.base.web.http.ContentType
Creates a ContentType with MIME type only.
of(String) - Static method in record class cloud.opencode.base.web.sse.SseEvent
 
of(String...) - Static method in class cloud.opencode.base.web.body.FormBody
 
of(String, String) - Static method in interface cloud.opencode.base.web.body.RequestBody
 
of(String, String) - Static method in record class cloud.opencode.base.web.context.UserContext
Create user context 创建用户上下文
of(String, String) - Static method in interface cloud.opencode.base.web.ResultCode
Create custom result code 创建自定义响应码
of(String, String) - Static method in record class cloud.opencode.base.web.sse.SseEvent
 
of(String, String, int) - Static method in interface cloud.opencode.base.web.ResultCode
Create custom result code with HTTP status 创建带HTTP状态的自定义响应码
of(String, String, String) - Static method in record class cloud.opencode.base.web.crypto.EncryptedResult
Create encrypted result 创建加密响应
of(String, String, String) - Static method in record class cloud.opencode.base.web.sse.SseEvent
 
of(String, String, String, String) - Static method in record class cloud.opencode.base.web.crypto.EncryptedResult
Create encrypted result with trace ID 创建带追踪ID的加密响应
of(String, String, Charset) - Static method in interface cloud.opencode.base.web.body.RequestBody
 
of(String, String, Set) - Static method in record class cloud.opencode.base.web.context.UserContext
Create user context with roles 创建带角色的用户上下文
of(String, Charset) - Static method in class cloud.opencode.base.web.http.ContentType
Creates a ContentType with MIME type and charset.
of(Path) - Static method in class cloud.opencode.base.web.body.FileBody
 
of(Path, String) - Static method in class cloud.opencode.base.web.body.FileBody
 
of(List, long, int, int) - Static method in record class cloud.opencode.base.web.page.PageResult
Create page result 创建分页结果
of(List, long, PageRequest) - Static method in record class cloud.opencode.base.web.page.PageResult
Create page result from request 从请求创建分页结果
of(List, PageInfo) - Static method in record class cloud.opencode.base.web.page.PageResult
Create page result 创建分页结果
of(Map) - Static method in class cloud.opencode.base.web.body.JsonBody
 
of(Map) - Static method in class cloud.opencode.base.web.body.FormBody
 
of(Map) - Static method in class cloud.opencode.base.web.http.HttpHeaders
Creates headers from a map.
of(Map) - Static method in class cloud.opencode.base.web.url.QueryString
Creates from a map.
of(T, Function) - Static method in class cloud.opencode.base.web.body.JsonBody
 
ok() - Static method in class cloud.opencode.base.web.OpenWeb
Create success result 创建成功结果
ok() - Static method in record class cloud.opencode.base.web.Result
Create success result 创建成功结果
ok() - Static method in class cloud.opencode.base.web.Results
Create success result 创建成功结果
ok(ResultCode, T) - Static method in class cloud.opencode.base.web.Results
Create success result with result code 使用响应码创建成功结果
ok(String, T) - Static method in class cloud.opencode.base.web.OpenWeb
Create success result with message and data 创建带消息和数据的成功结果
ok(String, T) - Static method in record class cloud.opencode.base.web.Result
Create success result with message and data 创建带消息和数据的成功结果
ok(String, T) - Static method in class cloud.opencode.base.web.Results
Create success result with message and data 创建带消息和数据的成功结果
ok(T) - Static method in class cloud.opencode.base.web.OpenWeb
Create success result with data 创建带数据的成功结果
ok(T) - Static method in record class cloud.opencode.base.web.Result
Create success result with data 创建带数据的成功结果
ok(T) - Static method in class cloud.opencode.base.web.Results
Create success result with data 创建带数据的成功结果
OK - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
onFailure(BiConsumer) - Method in record class cloud.opencode.base.web.Result
Execute action if failed 如果失败则执行操作
onSuccess(Consumer) - Method in record class cloud.opencode.base.web.Result
Execute action if success 如果成功则执行操作
OpenBizException - Exception Class in cloud.opencode.base.web.exception
Open Business Exception 业务异常
OpenBizException(ResultCode) - Constructor for exception class cloud.opencode.base.web.exception.OpenBizException
Create exception with result code 使用响应码创建异常
OpenBizException(ResultCode, Object) - Constructor for exception class cloud.opencode.base.web.exception.OpenBizException
Create exception with result code and data 使用响应码和数据创建异常
OpenBizException(ResultCode, String) - Constructor for exception class cloud.opencode.base.web.exception.OpenBizException
Create exception with result code and custom message 使用响应码和自定义消息创建异常
OpenBizException(ResultCode, Throwable) - Constructor for exception class cloud.opencode.base.web.exception.OpenBizException
Create exception with result code and cause 使用响应码和原因创建异常
OpenBizException(String) - Constructor for exception class cloud.opencode.base.web.exception.OpenBizException
Create exception with message 使用消息创建异常
OpenBizException(String, String) - Constructor for exception class cloud.opencode.base.web.exception.OpenBizException
Create exception with code and message 使用代码和消息创建异常
OpenBizException(String, String, Object) - Constructor for exception class cloud.opencode.base.web.exception.OpenBizException
Create exception with code, message and data 使用代码、消息和数据创建异常
OpenBizException(String, Throwable) - Constructor for exception class cloud.opencode.base.web.exception.OpenBizException
Create exception with message and cause 使用消息和原因创建异常
OpenCryptoException - Exception Class in cloud.opencode.base.web.crypto
Open Crypto Exception 加密异常
OpenCryptoException(String) - Constructor for exception class cloud.opencode.base.web.crypto.OpenCryptoException
Create exception with message 使用消息创建异常
OpenCryptoException(String, Throwable) - Constructor for exception class cloud.opencode.base.web.crypto.OpenCryptoException
Create exception with message and cause 使用消息和原因创建异常
OpenUrl - Class in cloud.opencode.base.web.url
Open URL - URL Utility Class Open URL - URL 工具类
OpenWeb - Class in cloud.opencode.base.web
Open Web 开放Web
OpenWebException - Exception Class in cloud.opencode.base.web.exception
Open Web Exception Web异常
OpenWebException(ResultCode) - Constructor for exception class cloud.opencode.base.web.exception.OpenWebException
Create exception with result code 使用响应码创建异常
OpenWebException(ResultCode, String) - Constructor for exception class cloud.opencode.base.web.exception.OpenWebException
Create exception with result code and custom message 使用响应码和自定义消息创建异常
OpenWebException(ResultCode, Throwable) - Constructor for exception class cloud.opencode.base.web.exception.OpenWebException
Create exception with result code and cause 使用响应码和原因创建异常
OpenWebException(String) - Constructor for exception class cloud.opencode.base.web.exception.OpenWebException
Create exception with message 使用消息创建异常
OpenWebException(String, String) - Constructor for exception class cloud.opencode.base.web.exception.OpenWebException
Create exception with code and message 使用代码和消息创建异常
OpenWebException(String, String, int) - Constructor for exception class cloud.opencode.base.web.exception.OpenWebException
Create exception with code, message and HTTP status 使用代码、消息和HTTP状态创建异常
OpenWebException(String, Throwable) - Constructor for exception class cloud.opencode.base.web.exception.OpenWebException
Create exception with message and cause 使用消息和原因创建异常
OPERATION_FAILED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
operationFailed(String) - Static method in exception class cloud.opencode.base.web.exception.OpenBizException
Create operation failed exception 创建操作失败异常
OPTIMISTIC_LOCK_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
OPTIONS - Enum constant in enum class cloud.opencode.base.web.http.HttpMethod
OPTIONS - Get supported methods OPTIONS - 获取支持的方法
Order(String, Sort.Direction) - Constructor for record class cloud.opencode.base.web.page.Sort.Order
Compact constructor with validation 带验证的紧凑构造函数
ORDER_EXPIRED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
orders() - Method in record class cloud.opencode.base.web.page.Sort
Returns the value of the orders record component.
ORIGIN - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 

P

page() - Method in record class cloud.opencode.base.web.page.PageInfo
Returns the value of the page record component.
page() - Method in record class cloud.opencode.base.web.page.PageRequest
Returns the value of the page record component.
page(List, int, int, long) - Static method in class cloud.opencode.base.web.OpenWeb
Create page result 创建分页结果
page(List, long, int, int) - Static method in class cloud.opencode.base.web.Results
Create page result 创建分页结果
page(List, PageInfo) - Static method in class cloud.opencode.base.web.Results
Create page result 创建分页结果
pageInfo() - Method in record class cloud.opencode.base.web.page.PageResult
Returns the value of the pageInfo record component.
PageInfo - Record Class in cloud.opencode.base.web.page
Page Info 分页信息
PageInfo(int, int, long, int) - Constructor for record class cloud.opencode.base.web.page.PageInfo
Compact constructor with calculation 带计算的紧凑构造函数
pageRequest(int, int) - Static method in class cloud.opencode.base.web.OpenWeb
Create page request 创建分页请求
pageRequest(int, int, Sort) - Static method in class cloud.opencode.base.web.OpenWeb
Create page request with sort 创建带排序的分页请求
pageRequest(int, int, String, String) - Static method in class cloud.opencode.base.web.OpenWeb
Create page request with sort 创建带排序的分页请求
PageRequest - Record Class in cloud.opencode.base.web.page
Page Request 分页请求
PageRequest(int, int, Sort) - Constructor for record class cloud.opencode.base.web.page.PageRequest
Compact constructor with validation 带验证的紧凑构造函数
PageResult<T> - Record Class in cloud.opencode.base.web.page
Page Result 分页结果
PageResult(List, PageInfo) - Constructor for record class cloud.opencode.base.web.page.PageResult
Compact constructor 紧凑构造函数
PARAM_DEPENDENCY_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
PARAM_FORMAT_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
PARAM_INVALID - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
PARAM_LENGTH_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
PARAM_MISSING - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
PARAM_PATTERN_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
PARAM_RANGE_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
PARAM_TYPE_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
parse(String) - Static method in class cloud.opencode.base.web.http.ContentType
Parses a Content-Type header value.
parse(String) - Static method in record class cloud.opencode.base.web.page.Sort
Parse sort string 解析排序字符串
parse(String) - Static method in class cloud.opencode.base.web.url.QueryString
Parses a query string.
parseQuery(String) - Static method in class cloud.opencode.base.web.OpenWeb
Parse query string 解析查询字符串
parseQuery(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Parses query string from URL.
parseQueryString(String) - Static method in class cloud.opencode.base.web.util.WebUtil
 
PARTIAL_CONTENT - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
PARTIAL_CONTENT - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
PATCH - Enum constant in enum class cloud.opencode.base.web.http.HttpMethod
PATCH - Partial update PATCH - 部分更新
path(String) - Method in class cloud.opencode.base.web.url.UrlBuilder
Sets the path.
pathParam(String, String) - Method in class cloud.opencode.base.web.url.UrlBuilder
Sets a path parameter.
pathParams(Map) - Method in class cloud.opencode.base.web.url.UrlBuilder
Sets path parameters.
PAYLOAD_TOO_LARGE - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
PAYLOAD_TOO_LARGE - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
PAYMENT_DECLINED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
PAYMENT_EXPIRED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
PAYMENT_FAILED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
PAYMENT_REQUIRED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
PERMANENT_REDIRECT - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
PERMISSION_DENIED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
permissions() - Method in record class cloud.opencode.base.web.context.UserContext
Returns the value of the permissions record component.
port(int) - Method in class cloud.opencode.base.web.url.UrlBuilder
Sets the port.
POST - Enum constant in enum class cloud.opencode.base.web.http.HttpMethod
POST - Create resource POST - 创建资源
PRAGMA - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
PRECONDITION_FAILED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
PRECONDITION_REQUIRED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
previous() - Method in record class cloud.opencode.base.web.page.PageRequest
Get previous page request 获取上一页请求
PROCESSING - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
PROCESSING - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
property() - Method in record class cloud.opencode.base.web.page.Sort.Order
Returns the value of the property record component.
PROXY_AUTHENTICATION_REQUIRED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
publisher() - Method in record class cloud.opencode.base.web.body.RequestBody.SimpleBody
Returns the value of the publisher record component.
PUSH_NOTIFICATION_FAILED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
PUT - Enum constant in enum class cloud.opencode.base.web.http.HttpMethod
PUT - Replace resource PUT - 替换资源

Q

queryParam(String, String) - Method in class cloud.opencode.base.web.url.UrlBuilder
Adds a query parameter.
queryParamIfNotEmpty(String, String) - Method in class cloud.opencode.base.web.url.UrlBuilder
Adds a query parameter if value is not empty.
queryParamIfNotNull(String, String) - Method in class cloud.opencode.base.web.url.UrlBuilder
Adds a query parameter if value is not null.
queryParams(Map) - Method in class cloud.opencode.base.web.url.UrlBuilder
Adds query parameters.
queryString(QueryString) - Method in class cloud.opencode.base.web.url.UrlBuilder
Sets query string.
QueryString - Class in cloud.opencode.base.web.url
Query String - URL Query String Parser/Builder 查询字符串 - URL 查询字符串解析器/构建器
QueryString.Builder - Class in cloud.opencode.base.web.url
Query string builder.
QUEUED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
QUOTA_EXCEEDED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 

R

RANGE - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
RANGE_NOT_SATISFIABLE - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
RATE_LIMIT_EXCEEDED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
REFERER - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
REFUND_FAILED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
REMOTE_SERVICE_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
remove(String) - Method in class cloud.opencode.base.web.http.HttpHeaders
Removes a header.
remove(String) - Method in class cloud.opencode.base.web.url.QueryString.Builder
Removes a parameter.
removeFragment(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Removes fragment from URL.
removeQuery(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Removes query string from URL.
REQUEST_HEADER_FIELDS_TOO_LARGE - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
REQUEST_TIMEOUT - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
REQUEST_TIMEOUT - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
RequestBody - Interface in cloud.opencode.base.web.body
Request Body - HTTP Request Body Interface 请求体 - HTTP 请求体接口
RequestBody.SimpleBody - Record Class in cloud.opencode.base.web.body
 
RequestContext - Record Class in cloud.opencode.base.web.context
Request Context 请求上下文
RequestContext(String, String, Instant, String, String, Locale, UserContext, Map) - Constructor for record class cloud.opencode.base.web.context.RequestContext
Compact constructor 紧凑构造函数
RequestContext.Builder - Class in cloud.opencode.base.web.context
Request Context Builder 请求上下文构建器
RequestContextHolder - Class in cloud.opencode.base.web.context
Request Context Holder 请求上下文持有者
requestId() - Method in record class cloud.opencode.base.web.context.RequestContext
Returns the value of the requestId record component.
requestId(String) - Method in class cloud.opencode.base.web.context.RequestContext.Builder
 
requestTime() - Method in record class cloud.opencode.base.web.context.RequestContext
Returns the value of the requestTime record component.
requestTime(Instant) - Method in class cloud.opencode.base.web.context.RequestContext.Builder
 
reset() - Method in class cloud.opencode.base.web.sse.SseEvent.Builder
 
RESET_CONTENT - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
RESOURCE_BUSY - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
Result<T> - Record Class in cloud.opencode.base.web
Result 统一响应结果
Result(String, String, T, boolean, Instant, String) - Constructor for record class cloud.opencode.base.web.Result
Creates an instance of a Result record class.
ResultCode - Interface in cloud.opencode.base.web
Result Code Interface 响应码接口
ResultCodeProvider - Interface in cloud.opencode.base.web.spi
Result Code Provider SPI 响应码提供者SPI
ResultCustomizer - Interface in cloud.opencode.base.web.spi
Result Customizer SPI 响应定制器SPI
ResultEncryptor - Interface in cloud.opencode.base.web.crypto
Result Encryptor SPI 响应加密器SPI
Results - Class in cloud.opencode.base.web
Results 响应构建工具类
Results.Builder<T> - Class in cloud.opencode.base.web
Result Builder 结果构建器
retry() - Method in record class cloud.opencode.base.web.sse.SseEvent
Returns the value of the retry record component.
retry(long) - Method in class cloud.opencode.base.web.sse.SseEvent.Builder
 
RETRY_AFTER - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
roles() - Method in record class cloud.opencode.base.web.context.UserContext
Returns the value of the roles record component.

S

scheme(String) - Method in class cloud.opencode.base.web.url.UrlBuilder
Sets the scheme.
SEE_OTHER - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
serializeData(Object) - Method in class cloud.opencode.base.web.crypto.AbstractResultEncryptor
Serialize data to JSON string 将数据序列化为JSON字符串
SERVER - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
SERVICE_UNAVAILABLE - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
SERVICE_UNAVAILABLE - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
SESSION_EXPIRED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
set(String, String) - Method in class cloud.opencode.base.web.http.HttpHeaders
Sets a header value (replaces existing).
set(String, String) - Method in class cloud.opencode.base.web.url.QueryString.Builder
Sets a parameter (replaces existing).
set(String, List) - Method in class cloud.opencode.base.web.http.HttpHeaders
Sets multiple values for a header.
SET_COOKIE - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
setContext(RequestContext) - Static method in class cloud.opencode.base.web.context.RequestContextHolder
Set the request context 设置请求上下文
setContext(RequestContext) - Static method in class cloud.opencode.base.web.OpenWeb
Set current request context 设置当前请求上下文
setSerializer(Function) - Static method in class cloud.opencode.base.web.body.JsonBody
 
shouldApply(Result) - Method in interface cloud.opencode.base.web.spi.ResultCustomizer
Check if should apply to this result 检查是否应用于此响应
SimpleBody(String, HttpRequest.BodyPublisher) - Constructor for record class cloud.opencode.base.web.body.RequestBody.SimpleBody
 
SimpleBody(String, HttpRequest.BodyPublisher, long) - Constructor for record class cloud.opencode.base.web.body.RequestBody.SimpleBody
Creates an instance of a SimpleBody record class.
single(List) - Static method in record class cloud.opencode.base.web.page.PageResult
Create single item result from list (takes first item) 从列表创建单项结果(取第一项)
single(T) - Static method in record class cloud.opencode.base.web.page.PageResult
Create single item result 创建单项结果
size() - Method in class cloud.opencode.base.web.body.FormBody
 
size() - Method in class cloud.opencode.base.web.cookie.CookieJar
 
size() - Method in class cloud.opencode.base.web.http.HttpHeaders
Gets the number of headers.
size() - Method in record class cloud.opencode.base.web.page.PageInfo
Returns the value of the size record component.
size() - Method in record class cloud.opencode.base.web.page.PageRequest
Returns the value of the size record component.
size() - Method in class cloud.opencode.base.web.url.QueryString
Gets the number of parameters.
SMS_SEND_FAILED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
sort() - Method in record class cloud.opencode.base.web.page.PageRequest
Returns the value of the sort record component.
Sort - Record Class in cloud.opencode.base.web.page
Sort 排序
Sort(List) - Constructor for record class cloud.opencode.base.web.page.Sort
Compact constructor 紧凑构造函数
Sort.Direction - Enum Class in cloud.opencode.base.web.page
Sort Direction 排序方向
Sort.Order - Record Class in cloud.opencode.base.web.page
Sort Order 排序顺序
sortAsc(String) - Method in record class cloud.opencode.base.web.page.PageRequest
With ascending sort 使用升序
sortDesc(String) - Method in record class cloud.opencode.base.web.page.PageRequest
With descending sort 使用降序
SseEvent - Record Class in cloud.opencode.base.web.sse
SSE Event - Represents a Server-Sent Event SSE 事件 - 表示服务器发送的事件
SseEvent(String, String, String, Long) - Constructor for record class cloud.opencode.base.web.sse.SseEvent
Creates an instance of a SseEvent record class.
SseEvent.Builder - Class in cloud.opencode.base.web.sse
 
STATE_TRANSITION_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
strict() - Static method in class cloud.opencode.base.web.cookie.CookieJar
 
success() - Method in record class cloud.opencode.base.web.Result
Returns the value of the success record component.
success(boolean) - Method in class cloud.opencode.base.web.Results.Builder
Set success 设置成功标志
SUCCESS - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
supports(String) - Method in interface cloud.opencode.base.web.crypto.ResultEncryptor
Check if this encryptor supports the algorithm 检查此加密器是否支持该算法
supports(String) - Method in interface cloud.opencode.base.web.spi.ResultCodeProvider
Check if this provider supports the code 检查此提供者是否支持该代码
SWITCHING_PROTOCOLS - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
system() - Static method in record class cloud.opencode.base.web.context.UserContext
Get system user context 获取系统用户上下文

T

TEMPORARY_REDIRECT - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
text() - Static method in class cloud.opencode.base.web.http.ContentType
Creates a ContentType for plain text with UTF-8.
text(String) - Static method in interface cloud.opencode.base.web.body.RequestBody
 
TEXT_CSS - Static variable in class cloud.opencode.base.web.http.ContentType
 
TEXT_HTML - Static variable in class cloud.opencode.base.web.http.ContentType
 
TEXT_JAVASCRIPT - Static variable in class cloud.opencode.base.web.http.ContentType
 
TEXT_PLAIN - Static variable in class cloud.opencode.base.web.http.ContentType
 
TEXT_XML - Static variable in class cloud.opencode.base.web.http.ContentType
 
THIRD_PARTY_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
timestamp() - Method in record class cloud.opencode.base.web.crypto.EncryptedResult
Returns the value of the timestamp record component.
timestamp() - Method in record class cloud.opencode.base.web.Result
Returns the value of the timestamp record component.
toAscii(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Converts domain to ASCII (Punycode).
toDebugString() - Method in record class cloud.opencode.base.web.sse.SseEvent
 
TOKEN_EXPIRED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
TOKEN_INVALID - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
toMap() - Method in class cloud.opencode.base.web.body.FormBody
 
toMap() - Method in class cloud.opencode.base.web.http.HttpHeaders
Converts to unmodifiable map.
toMap() - Method in class cloud.opencode.base.web.url.QueryString
Converts to map (first value only).
toMultiMap() - Method in class cloud.opencode.base.web.url.QueryString
Converts to multi-value map.
TOO_EARLY - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
TOO_MANY_REQUESTS - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
TOO_MANY_REQUESTS - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
toResult(Throwable) - Static method in class cloud.opencode.base.web.exception.ExceptionConverter
Convert exception to Result 将异常转换为Result
toSingleValueMap() - Method in class cloud.opencode.base.web.http.HttpHeaders
Converts to single-value map.
toSql() - Method in record class cloud.opencode.base.web.page.Sort
Convert to SQL ORDER BY clause 转换为SQL ORDER BY子句
toString() - Method in class cloud.opencode.base.web.body.FileBody
 
toString() - Method in class cloud.opencode.base.web.body.FormBody
 
toString() - Method in class cloud.opencode.base.web.body.JsonBody
 
toString() - Method in record class cloud.opencode.base.web.body.RequestBody.SimpleBody
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.web.context.RequestContext
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.web.context.UserContext
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.web.cookie.CookieJar
 
toString() - Method in record class cloud.opencode.base.web.crypto.AesResultEncryptor.KeyAndEncryptor
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.web.crypto.EncryptedResult
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.web.http.ContentType
Returns the Content-Type header value.
toString() - Method in class cloud.opencode.base.web.http.HttpHeaders
 
toString() - Method in enum class cloud.opencode.base.web.http.HttpStatus
 
toString() - Method in record class cloud.opencode.base.web.page.PageInfo
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.web.page.PageRequest
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.web.page.PageResult
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.web.page.Sort.Order
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.web.page.Sort
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.web.Result
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.web.sse.SseEvent
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.web.url.QueryString
Returns the encoded query string.
toString() - Method in class cloud.opencode.base.web.url.UrlBuilder
 
total() - Method in record class cloud.opencode.base.web.page.PageInfo
Returns the value of the total record component.
totalPages() - Method in record class cloud.opencode.base.web.page.PageInfo
Returns the value of the totalPages record component.
toUnicode(String) - Static method in class cloud.opencode.base.web.url.OpenUrl
Converts domain from ASCII (Punycode) to Unicode.
TRACE - Enum constant in enum class cloud.opencode.base.web.http.HttpMethod
TRACE - Echo request TRACE - 回显请求
traceId() - Method in record class cloud.opencode.base.web.context.RequestContext
Returns the value of the traceId record component.
traceId() - Method in record class cloud.opencode.base.web.crypto.EncryptedResult
Returns the value of the traceId record component.
traceId() - Method in record class cloud.opencode.base.web.Result
Returns the value of the traceId record component.
traceId(String) - Method in class cloud.opencode.base.web.context.RequestContext.Builder
 
traceId(String) - Method in class cloud.opencode.base.web.Results.Builder
Set trace ID 设置追踪ID
TRANSACTION_FAILED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
TRANSFER_ENCODING - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 

U

unauthorized(String) - Static method in exception class cloud.opencode.base.web.exception.OpenWebException
Create unauthorized exception 创建未授权异常
UNAUTHORIZED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
UNAUTHORIZED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
UNAVAILABLE_FOR_LEGAL_REASONS - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
UNPROCESSABLE_ENTITY - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
unsorted() - Static method in record class cloud.opencode.base.web.page.Sort
Create unsorted 创建无排序
UNSUPPORTED_MEDIA_TYPE - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
UNSUPPORTED_MEDIA_TYPE - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
UPDATED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
UPGRADE_REQUIRED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
URI_TOO_LONG - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
URI_TOO_LONG - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
UrlBuilder - Class in cloud.opencode.base.web.url
URL Builder - Fluent URL Constructor URL 构建器 - 流畅的 URL 构造器
urlDecode(String) - Static method in class cloud.opencode.base.web.OpenWeb
URL decode URL解码
urlDecode(String) - Static method in class cloud.opencode.base.web.util.WebUtil
 
urlEncode(String) - Static method in class cloud.opencode.base.web.OpenWeb
URL encode URL编码
urlEncode(String) - Static method in class cloud.opencode.base.web.util.WebUtil
 
USE_PROXY - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
user() - Method in record class cloud.opencode.base.web.context.RequestContext
Returns the value of the user record component.
user(UserContext) - Method in class cloud.opencode.base.web.context.RequestContext.Builder
 
USER_AGENT - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
userAgent() - Method in record class cloud.opencode.base.web.context.RequestContext
Returns the value of the userAgent record component.
userAgent(String) - Method in class cloud.opencode.base.web.context.RequestContext.Builder
 
userAgent(String) - Method in class cloud.opencode.base.web.http.HttpHeaders
Sets User-Agent header.
UserContext - Record Class in cloud.opencode.base.web.context
User Context 用户上下文
UserContext(String, String, Set, Set, Map) - Constructor for record class cloud.opencode.base.web.context.UserContext
Compact constructor with validation 带验证的紧凑构造函数
userId() - Method in record class cloud.opencode.base.web.context.UserContext
Returns the value of the userId record component.
username() - Method in record class cloud.opencode.base.web.context.UserContext
Returns the value of the username record component.

V

VALIDATION_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
validationError(String) - Static method in exception class cloud.opencode.base.web.exception.OpenBizException
Create validation error exception 创建验证错误异常
validationError(String, Object) - Static method in exception class cloud.opencode.base.web.exception.OpenBizException
Create validation error exception with data 创建带数据的验证错误异常
valueOf(int) - Static method in enum class cloud.opencode.base.web.http.HttpStatus
Gets HttpStatus from status code, throwing exception if not found.
valueOf(String) - Static method in enum class cloud.opencode.base.web.CommonResultCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.web.http.HttpMethod
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.web.http.HttpStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.web.page.Sort.Direction
Returns the enum constant of this class with the specified name.
values() - Static method in enum class cloud.opencode.base.web.CommonResultCode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.web.http.HttpMethod
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.web.http.HttpStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.web.page.Sort.Direction
Returns an array containing the constants of this enum class, in the order they are declared.
VARIANT_ALSO_NEGOTIATES - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
 
VERSION_CONFLICT - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
VIDEO_MP4 - Static variable in class cloud.opencode.base.web.http.ContentType
 

W

WebUtil - Class in cloud.opencode.base.web.util
Web Utility Web工具类
with(String, String) - Method in class cloud.opencode.base.web.url.QueryString
Creates a new query string with added parameter.
withMessage(String) - Method in record class cloud.opencode.base.web.Result
Create new result with different message 创建具有不同消息的新结果
without(String) - Method in class cloud.opencode.base.web.url.QueryString
Creates a new query string without specified parameter.
withPage(int) - Method in record class cloud.opencode.base.web.page.PageRequest
With different page 使用不同的页码
withRandomKey() - Static method in class cloud.opencode.base.web.crypto.AesResultEncryptor
Create encryptor with random key 使用随机密钥创建加密器
withSize(int) - Method in record class cloud.opencode.base.web.page.PageRequest
With different size 使用不同的页大小
withSort(Sort) - Method in record class cloud.opencode.base.web.page.PageRequest
With different sort 使用不同的排序
withTraceId(String) - Method in record class cloud.opencode.base.web.Result
Create new result with different trace ID 创建具有不同追踪ID的新结果
WORKFLOW_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
 
wrap(Runnable) - Static method in class cloud.opencode.base.web.context.RequestContextHolder
Wrap runnable with current context 使用当前上下文包装Runnable
wrap(Callable) - Static method in class cloud.opencode.base.web.context.RequestContextHolder
Wrap callable with current context 使用当前上下文包装Callable
wrap(Supplier) - Static method in class cloud.opencode.base.web.context.RequestContextHolder
Wrap supplier with current context 使用当前上下文包装Supplier
WWW_AUTHENTICATE - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 

X

X_FORWARDED_FOR - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
X_REQUESTED_WITH - Static variable in class cloud.opencode.base.web.http.HttpHeaders
 
xml() - Static method in class cloud.opencode.base.web.http.ContentType
Creates a ContentType for XML with UTF-8.
xml(String) - Static method in interface cloud.opencode.base.web.body.RequestBody
 
A B C D E F G H I J K L M N O P Q R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form