Index
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.
- addField(String, String) - Method in class cloud.opencode.base.web.body.MultipartBody.Builder
-
Adds a text field.
- addFile(String, String, String, byte[]) - Method in class cloud.opencode.base.web.body.MultipartBody.Builder
-
Adds a file with explicit content type and byte data.
- addFile(String, String, String, InputStream) - Method in class cloud.opencode.base.web.body.MultipartBody.Builder
-
Adds a file from an InputStream.
- addFile(String, Path) - Method in class cloud.opencode.base.web.body.MultipartBody.Builder
-
Adds a file from a Path with automatic content type detection.
- 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() - Element in annotation interface cloud.opencode.base.web.crypto.DecryptResult
-
Encryption algorithm name.
- algorithm() - Method in record class cloud.opencode.base.web.crypto.EncryptedResult
-
Returns the value of the
algorithmrecord component. - algorithm() - Element in annotation interface cloud.opencode.base.web.crypto.EncryptResult
-
Encryption algorithm name.
- ALL - Static variable in record class cloud.opencode.base.web.http.MediaType
-
Wildcard media type: */*
- allCookies() - Method in class cloud.opencode.base.web.cookie.CookieJar
- allowAll() - Static method in record class cloud.opencode.base.web.cors.CorsConfig
-
Creates a permissive CORS configuration that allows all origins, methods, and headers.
- allowCredentials() - Method in record class cloud.opencode.base.web.cors.CorsConfig
-
Returns the value of the
allowCredentialsrecord component. - allowCredentials(boolean) - Method in class cloud.opencode.base.web.cors.CorsConfig.Builder
-
Sets whether credentials (cookies, authorization) are allowed.
- allowedHeaders() - Method in record class cloud.opencode.base.web.cors.CorsConfig
-
Returns the value of the
allowedHeadersrecord component. - allowedMethods() - Method in record class cloud.opencode.base.web.cors.CorsConfig
-
Returns the value of the
allowedMethodsrecord component. - allowedOrigins() - Method in record class cloud.opencode.base.web.cors.CorsConfig
-
Returns the value of the
allowedOriginsrecord component. - allowHeader(String...) - Method in class cloud.opencode.base.web.cors.CorsConfig.Builder
-
Adds allowed request headers.
- allowMethod(String...) - Method in class cloud.opencode.base.web.cors.CorsConfig.Builder
-
Adds allowed HTTP methods.
- allowOrigin(String...) - Method in class cloud.opencode.base.web.cors.CorsConfig.Builder
-
Adds allowed origins.
- allowsAll() - Method in record class cloud.opencode.base.web.cors.CorsConfig
-
Checks if this configuration allows all origins (wildcard).
- 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_JSON - Static variable in record class cloud.opencode.base.web.http.MediaType
-
application/json
- APPLICATION_OCTET_STREAM - Static variable in class cloud.opencode.base.web.http.ContentType
- APPLICATION_OCTET_STREAM - Static variable in record class cloud.opencode.base.web.http.MediaType
-
application/octet-stream
- 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_XML - Static variable in record class cloud.opencode.base.web.http.MediaType
-
application/xml
- APPLICATION_ZIP - Static variable in class cloud.opencode.base.web.http.ContentType
- applyTo(HttpHeaders) - Method in record class cloud.opencode.base.web.ratelimit.RateLimitInfo
-
Applies rate limit headers to the given HttpHeaders.
- applyTo(HttpHeaders) - Method in class cloud.opencode.base.web.security.SecurityHeaders
-
Applies all security headers to the given HttpHeaders.
- applyTo(HttpHeaders, String) - Method in record class cloud.opencode.base.web.cors.CorsConfig
-
Applies CORS response headers to the given HttpHeaders for the specified request origin.
- 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
attributesrecord component. - attributes() - Method in record class cloud.opencode.base.web.context.UserContext
-
Returns the value of the
attributesrecord 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.
- bestMatch(List, List) - Static method in record class cloud.opencode.base.web.http.MediaType
-
Find the best match from available media types given acceptable types.
- 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.body.MultipartBody.Builder
-
Builds the MultipartBody.
- build() - Method in class cloud.opencode.base.web.context.RequestContext.Builder
- build() - Method in class cloud.opencode.base.web.cors.CorsConfig.Builder
-
Builds the CorsConfig.
- build() - Method in class cloud.opencode.base.web.problem.ProblemDetail.Builder
-
Build the ProblemDetail.
- build() - Method in class cloud.opencode.base.web.Results.Builder
-
Build the result 构建结果
- build() - Method in class cloud.opencode.base.web.security.SecurityHeaders.Builder
-
Builds the SecurityHeaders.
- 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 class cloud.opencode.base.web.body.MultipartBody
-
Creates a new builder with a random UUID boundary.
- builder() - Static method in record class cloud.opencode.base.web.context.RequestContext
-
Create request context builder 创建请求上下文构建器
- builder() - Static method in record class cloud.opencode.base.web.cors.CorsConfig
-
Creates a new builder.
- builder() - Static method in record class cloud.opencode.base.web.problem.ProblemDetail
-
Create a new Builder.
- builder() - Static method in class cloud.opencode.base.web.Results
-
Create result builder 创建结果构建器
- builder() - Static method in class cloud.opencode.base.web.security.SecurityHeaders
-
Creates a new 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.body.MultipartBody
-
Creates a new builder with the specified boundary.
- 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
clientIprecord component. - clientIp(String) - Method in class cloud.opencode.base.web.context.RequestContext.Builder
- ClientIp - Class in cloud.opencode.base.web.util
-
Client IP Resolver - Resolves real client IP from proxy headers 客户端 IP 解析器 - 从代理头部解析真实客户端 IP
- 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.cache - package cloud.opencode.base.web.cache
- 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.cors - package cloud.opencode.base.web.cors
- 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.problem - package cloud.opencode.base.web.problem
- cloud.opencode.base.web.ratelimit - package cloud.opencode.base.web.ratelimit
- cloud.opencode.base.web.security - package cloud.opencode.base.web.security
- 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
coderecord component. - code() - Method in record class cloud.opencode.base.web.Result
-
Returns the value of the
coderecord 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
- CONTENT_TYPE - Static variable in record class cloud.opencode.base.web.problem.ProblemDetail
-
Content-Type for problem details responses.
- contentSecurityPolicy(String) - Method in class cloud.opencode.base.web.security.SecurityHeaders.Builder
-
Sets the Content-Security-Policy header.
- contentType() - Method in record class cloud.opencode.base.web.body.MultipartBody.Part
-
Returns the value of the
contentTyperecord component. - contentType() - Method in record class cloud.opencode.base.web.body.RequestBody.SimpleBody
-
Returns the value of the
contentTyperecord 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.
- CorsConfig - Record Class in cloud.opencode.base.web.cors
-
CORS Configuration - Cross-Origin Resource Sharing configuration builder and applier CORS 配置 - 跨域资源共享配置构建器和应用器
- CorsConfig(Set, Set, Set, Set, boolean, long) - Constructor for record class cloud.opencode.base.web.cors.CorsConfig
-
Compact constructor that creates defensive copies of all sets.
- CorsConfig.Builder - Class in cloud.opencode.base.web.cors
-
Builder for CorsConfig - fluent API for constructing CORS configurations.
- 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
- crossOriginEmbedderPolicy(String) - Method in class cloud.opencode.base.web.security.SecurityHeaders.Builder
-
Sets the Cross-Origin-Embedder-Policy header.
- crossOriginOpenerPolicy(String) - Method in class cloud.opencode.base.web.security.SecurityHeaders.Builder
-
Sets the Cross-Origin-Opener-Policy header.
- 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.body.MultipartBody.Part
-
Returns a defensive copy of the data.
- data() - Method in record class cloud.opencode.base.web.Result
-
Returns the value of the
datarecord component. - data() - Method in record class cloud.opencode.base.web.sse.SseEvent
-
Returns the value of the
datarecord 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, TypeReference) - Method in class cloud.opencode.base.web.crypto.AbstractResultEncryptor
- decrypt(EncryptedResult, TypeReference) - Method in interface cloud.opencode.base.web.crypto.ResultEncryptor
-
Decrypt to result with generic type support 解密为带泛型类型的响应
- decrypt(EncryptedResult, TypeReference, DecryptResult) - Method in class cloud.opencode.base.web.crypto.ResultEncryptionHandler
-
Decrypt an EncryptedResult with TypeReference using annotation configuration 使用注解配置和 TypeReference 解密 EncryptedResult
- decrypt(EncryptedResult, TypeReference, String, String) - Method in class cloud.opencode.base.web.crypto.ResultEncryptionHandler
-
Decrypt an EncryptedResult with TypeReference 使用 TypeReference 解密 EncryptedResult
- 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 解密为响应
- decrypt(EncryptedResult, Class, DecryptResult) - Method in class cloud.opencode.base.web.crypto.ResultEncryptionHandler
-
Decrypt an EncryptedResult using annotation configuration 使用注解配置解密 EncryptedResult
- decrypt(EncryptedResult, Class, String, String) - Method in class cloud.opencode.base.web.crypto.ResultEncryptionHandler
-
Decrypt an EncryptedResult with explicit key alias and algorithm 使用指定的密钥别名和算法解密 EncryptedResult
- decryptionFailed(String) - Static method in exception class cloud.opencode.base.web.crypto.OpenCryptoException
-
Create decryption exception 创建解密异常
- DecryptResult - Annotation Interface in cloud.opencode.base.web.crypto
-
Decrypt Result Annotation 解密响应注解
- DEFAULT_EVENT - Static variable in record class cloud.opencode.base.web.sse.SseEvent
- DEFAULT_TYPE - Static variable in record class cloud.opencode.base.web.problem.ProblemDetail
-
Default problem type URI as defined in RFC 9457.
- 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
- DENY - Enum constant in enum class cloud.opencode.base.web.security.SecurityHeaders.FrameOption
-
Page cannot be displayed in a frame - 页面不能在框架中显示
- 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
- detail() - Method in record class cloud.opencode.base.web.problem.ProblemDetail
-
Returns the value of the
detailrecord component. - detail(String) - Method in class cloud.opencode.base.web.problem.ProblemDetail.Builder
-
Set the detail message.
- 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
directionrecord component. - disabled() - Static method in class cloud.opencode.base.web.cookie.CookieJar
- DisallowedSchemeException(String) - Constructor for exception class cloud.opencode.base.web.url.UrlBuilder.DisallowedSchemeException
- DisallowedSchemeException(String, Throwable) - Constructor for exception class cloud.opencode.base.web.url.UrlBuilder.DisallowedSchemeException
-
V1.0.4 sec round-6 P1: companion
(String, Throwable)constructor so callers wrapping with cause-preservation idioms don't lose the cause chain. - 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
- doSign(byte[]) - Method in class cloud.opencode.base.web.crypto.AbstractResultEncryptor
-
Compute HMAC signature 计算HMAC签名
- doSign(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 创建带分页信息的空分页结果
- enabled() - Element in annotation interface cloud.opencode.base.web.crypto.EncryptResult
-
Whether encryption is enabled.
- 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 加密响应
- encrypt(Result, EncryptResult) - Method in class cloud.opencode.base.web.crypto.ResultEncryptionHandler
-
Encrypt a Result using annotation configuration 使用注解配置加密 Result
- encrypt(Result, String, String) - Method in class cloud.opencode.base.web.crypto.ResultEncryptionHandler
-
Encrypt a Result with explicit key alias and algorithm 使用指定的密钥别名和算法加密 Result
- encryptedData() - Method in record class cloud.opencode.base.web.crypto.EncryptedResult
-
Returns the value of the
encryptedDatarecord component. - EncryptedResult - Record Class in cloud.opencode.base.web.crypto
-
Encrypted Result 加密响应
- EncryptedResult(String, String, String, String, Instant, String, String) - Constructor for record class cloud.opencode.base.web.crypto.EncryptedResult
-
Creates an instance of a
EncryptedResultrecord class. - encryptionFailed(String) - Static method in exception class cloud.opencode.base.web.crypto.OpenCryptoException
-
Create encryption exception 创建加密异常
- EncryptionKeyResolver - Interface in cloud.opencode.base.web.crypto
-
Encryption Key Resolver SPI 加密密钥解析器SPI
- encryptor() - Method in record class cloud.opencode.base.web.crypto.AesResultEncryptor.KeyAndEncryptor
-
Returns the value of the
encryptorrecord component. - EncryptResult - Annotation Interface in cloud.opencode.base.web.crypto
-
Encrypt Result Annotation 加密响应注解
- equals(Object) - Method in record class cloud.opencode.base.web.body.MultipartBody.Part
-
Indicates whether some other object is "equal to" this one.
- 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.cache.ETag
-
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.cors.CorsConfig
-
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.http.MediaType
-
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.problem.ProblemDetail
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.web.ratelimit.RateLimitInfo
-
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 - Record Class in cloud.opencode.base.web.cache
-
HTTP ETag (Entity Tag) generation and matching HTTP ETag(实体标签)生成与匹配
- ETag(String, boolean) - Constructor for record class cloud.opencode.base.web.cache.ETag
-
Compact constructor: validates that value is not null or empty.
- 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
eventrecord 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
- exposedHeaders() - Method in record class cloud.opencode.base.web.cors.CorsConfig
-
Returns the value of the
exposedHeadersrecord component. - exposeHeader(String...) - Method in class cloud.opencode.base.web.cors.CorsConfig.Builder
-
Adds exposed response headers.
- extension(String, Object) - Method in class cloud.opencode.base.web.problem.ProblemDetail.Builder
-
Add an extension property.
- extensions() - Method in record class cloud.opencode.base.web.problem.ProblemDetail
-
Returns the value of the
extensionsrecord component. - 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 文件请求体 - 文件请求体
- fileName() - Method in record class cloud.opencode.base.web.body.MultipartBody.Part
-
Returns the value of the
fileNamerecord component. - 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字符串查找响应码(带默认值)
- fromContent(byte[]) - Static method in record class cloud.opencode.base.web.cache.ETag
-
Create a strong ETag from content bytes using SHA-256 digest.
- fromContent(String) - Static method in record class cloud.opencode.base.web.cache.ETag
-
Create a strong ETag from content string using SHA-256 digest (UTF-8).
- fromException(OpenWebException) - Static method in record class cloud.opencode.base.web.problem.ProblemDetail
-
Create a ProblemDetail from an OpenWebException.
- fromException(OpenWebException, boolean) - Static method in record class cloud.opencode.base.web.problem.ProblemDetail
-
Create a ProblemDetail from an OpenWebException, optionally including the internal error code.
- fromHeaders(HttpHeaders) - Static method in record class cloud.opencode.base.web.ratelimit.RateLimitInfo
-
Parses rate limit information from HTTP response headers.
- 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 class cloud.opencode.base.web.body.MultipartBody
- 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.body.MultipartBody
-
Gets the boundary string.
- 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.
- getCharset() - Method in record class cloud.opencode.base.web.http.MediaType
-
Get the charset parameter value.
- 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 class cloud.opencode.base.web.body.MultipartBody
- 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 class cloud.opencode.base.web.body.MultipartBody
- 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.
- getContentType() - Method in record class cloud.opencode.base.web.problem.ProblemDetail
-
Get the content type for problem detail responses.
- 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 exception class cloud.opencode.base.web.exception.OpenWebException
-
Returns the raw message without component/code prefix formatting.
- 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 获取页码
- getParts() - Method in class cloud.opencode.base.web.body.MultipartBody
-
Gets the immutable list of parts.
- 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 获取上一页页码
- getQuality() - Method in record class cloud.opencode.base.web.http.MediaType
-
Get the quality factor (q parameter), defaulting to 1.0.
- 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
- hasExtensions() - Method in record class cloud.opencode.base.web.problem.ProblemDetail
-
Check whether this problem has extension properties.
- hashCode() - Method in record class cloud.opencode.base.web.body.MultipartBody.Part
-
Returns a hash code value for this object.
- 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.cache.ETag
-
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.cors.CorsConfig
-
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.http.MediaType
-
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.problem.ProblemDetail
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.web.ratelimit.RateLimitInfo
-
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_LIMIT - Static variable in record class cloud.opencode.base.web.ratelimit.RateLimitInfo
-
X-RateLimit-Limit header name.
- HEADER_REMAINING - Static variable in record class cloud.opencode.base.web.ratelimit.RateLimitInfo
-
X-RateLimit-Remaining header name.
- HEADER_RESET - Static variable in record class cloud.opencode.base.web.ratelimit.RateLimitInfo
-
X-RateLimit-Reset header name (Unix epoch seconds).
- HEADER_RETRY_AFTER - Static variable in record class cloud.opencode.base.web.ratelimit.RateLimitInfo
-
Retry-After header name (seconds).
- HEADER_TOO_LARGE - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
- headerValue() - Method in record class cloud.opencode.base.web.cache.ETag
-
Return the ETag header value (e.g.,
"abc"orW/"abc"). - 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
idrecord 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
- includes(MediaType) - Method in record class cloud.opencode.base.web.http.MediaType
-
Check if this media type includes the other (wildcard matching).
- inMemory() - Static method in class cloud.opencode.base.web.cookie.CookieJar
- inMemory(CookiePolicy) - Static method in class cloud.opencode.base.web.cookie.CookieJar
- instance() - Method in record class cloud.opencode.base.web.problem.ProblemDetail
-
Returns the value of the
instancerecord component. - instance(String) - Method in class cloud.opencode.base.web.problem.ProblemDetail.Builder
-
Set the instance URI.
- 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).
- isExhausted() - Method in record class cloud.opencode.base.web.ratelimit.RateLimitInfo
-
Checks if the rate limit has been exhausted (no remaining requests).
- 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.
- isHeaderAllowed(String) - Method in record class cloud.opencode.base.web.cors.CorsConfig
-
Checks if the given header is allowed by this CORS configuration.
- 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
- isMethodAllowed(String) - Method in record class cloud.opencode.base.web.cors.CorsConfig
-
Checks if the given HTTP method is allowed by this CORS configuration.
- isMultipart() - Method in class cloud.opencode.base.web.http.ContentType
-
Checks if this is a multipart type.
- isOriginAllowed(String) - Method in record class cloud.opencode.base.web.cors.CorsConfig
-
Checks if the given origin is allowed by this CORS configuration.
- 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
- 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
- isWildcard() - Method in record class cloud.opencode.base.web.http.MediaType
-
Check if this is the wildcard type (*/*).
- isWildcardSubtype() - Method in record class cloud.opencode.base.web.http.MediaType
-
Check if the subtype is a wildcard.
- 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
itemsrecord 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
keyrecord component. - keyAlias() - Element in annotation interface cloud.opencode.base.web.crypto.DecryptResult
-
Key alias for decryption key resolution.
- keyAlias() - Element in annotation interface cloud.opencode.base.web.crypto.EncryptResult
-
Key alias for encryption key resolution.
- KeyAndEncryptor(byte[], AesResultEncryptor) - Constructor for record class cloud.opencode.base.web.crypto.AesResultEncryptor.KeyAndEncryptor
-
Creates an instance of a
KeyAndEncryptorrecord 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
lengthrecord component. - LENGTH_REQUIRED - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
- limit() - Method in record class cloud.opencode.base.web.ratelimit.RateLimitInfo
-
Returns the value of the
limitrecord component. - locale() - Method in record class cloud.opencode.base.web.context.RequestContext
-
Returns the value of the
localerecord 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 转换整个列表为另一种类型
- matches(String) - Method in record class cloud.opencode.base.web.cache.ETag
-
Check if this ETag matches an If-None-Match header value.
- maxAge() - Method in record class cloud.opencode.base.web.cors.CorsConfig
-
Returns the value of the
maxAgerecord component. - maxAge(long) - Method in class cloud.opencode.base.web.cors.CorsConfig.Builder
-
Sets the max age for preflight request caching (in seconds).
- MediaType - Record Class in cloud.opencode.base.web.http
-
HTTP Media Type (MIME Type) representation and Accept header parsing HTTP 媒体类型(MIME 类型)表示和 Accept 头部解析
- MediaType(String, String, Map) - Constructor for record class cloud.opencode.base.web.http.MediaType
-
Compact constructor: normalizes type/subtype to lowercase, defensively copies parameters.
- message() - Method in record class cloud.opencode.base.web.crypto.EncryptedResult
-
Returns the value of the
messagerecord component. - message() - Method in record class cloud.opencode.base.web.Result
-
Returns the value of the
messagerecord 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
- mimeType() - Method in record class cloud.opencode.base.web.http.MediaType
-
Get the MIME type string ("type/subtype").
- 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
- MultipartBody - Class in cloud.opencode.base.web.body
-
Multipart Body - multipart/form-data Request Body Builder Multipart 请求体 - multipart/form-data 请求体构建器
- MultipartBody.Builder - Class in cloud.opencode.base.web.body
-
Builder for MultipartBody MultipartBody 构建器
- MultipartBody.Part - Record Class in cloud.opencode.base.web.body
-
Multipart Part - Represents a single part in a multipart body Multipart Part - 表示 multipart 请求体中的单个 part
- MULTIPLE_CHOICES - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
N
- name() - Method in record class cloud.opencode.base.web.body.MultipartBody.Part
-
Returns the value of the
namerecord component. - 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
- NO_REFERRER - Enum constant in enum class cloud.opencode.base.web.security.SecurityHeaders.ReferrerPolicy
-
No referrer information is sent - 不发送来源信息
- NO_REFERRER_WHEN_DOWNGRADE - Enum constant in enum class cloud.opencode.base.web.security.SecurityHeaders.ReferrerPolicy
-
Referrer sent for same-protocol navigations - 同协议导航时发送来源
- 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(int, String) - Static method in record class cloud.opencode.base.web.problem.ProblemDetail
-
Create a ProblemDetail with status and detail; title is auto-derived from status.
- of(int, String, String) - Static method in record class cloud.opencode.base.web.problem.ProblemDetail
-
Create a ProblemDetail with status, title, and detail.
- of(long, long, long) - Static method in record class cloud.opencode.base.web.ratelimit.RateLimitInfo
-
Creates a RateLimitInfo instance.
- 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 record class cloud.opencode.base.web.http.MediaType
-
Create a MediaType with type and subtype only.
- 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.sse.SseEvent
- of(String, String, String, String) - Static method in record class cloud.opencode.base.web.crypto.EncryptedResult
-
Create encrypted result without signature 创建不带签名的加密响应
- of(String, 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, Map) - Static method in record class cloud.opencode.base.web.http.MediaType
-
Create a MediaType with type, subtype, and parameters.
- 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, String, int, Throwable) - Constructor for exception class cloud.opencode.base.web.exception.OpenWebException
-
Create exception with code, message, HTTP status and cause 使用代码、消息、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
ordersrecord component. - ORIGIN - Enum constant in enum class cloud.opencode.base.web.security.SecurityHeaders.ReferrerPolicy
-
Only the origin is sent as referrer - 仅发送来源域
- ORIGIN - Static variable in class cloud.opencode.base.web.http.HttpHeaders
- ORIGIN_WHEN_CROSS_ORIGIN - Enum constant in enum class cloud.opencode.base.web.security.SecurityHeaders.ReferrerPolicy
-
Full URL for same-origin, origin for cross-origin - 同源发送完整 URL,跨域仅发送来源域
P
- page() - Method in record class cloud.opencode.base.web.page.PageInfo
-
Returns the value of the
pagerecord component. - page() - Method in record class cloud.opencode.base.web.page.PageRequest
-
Returns the value of the
pagerecord 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
pageInforecord 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
- parameters() - Method in record class cloud.opencode.base.web.http.MediaType
-
Returns the value of the
parametersrecord component. - parse(String) - Static method in record class cloud.opencode.base.web.cache.ETag
-
Parse an ETag header value (e.g.,
"abc"orW/"abc"). - 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.http.MediaType
-
Parse a single media type string (e.g., "application/json; charset=utf-8").
- 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.
- parseAccept(String) - Static method in record class cloud.opencode.base.web.http.MediaType
-
Parse an HTTP Accept header into a list of media types sorted by quality factor (descending).
- 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
- Part(String, String, String, byte[]) - Constructor for record class cloud.opencode.base.web.body.MultipartBody.Part
-
Creates a Part with defensive copy of data.
- 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
permissionsrecord component. - permissionsPolicy(String) - Method in class cloud.opencode.base.web.security.SecurityHeaders.Builder
-
Sets the Permissions-Policy header.
- 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 获取上一页请求
- ProblemDetail - Record Class in cloud.opencode.base.web.problem
-
RFC 9457 Problem Details for HTTP APIs RFC 9457 HTTP API 问题详情
- ProblemDetail(String, String, int, String, String, Map) - Constructor for record class cloud.opencode.base.web.problem.ProblemDetail
-
Compact constructor: defensively copies extensions to ensure immutability.
- ProblemDetail.Builder - Class in cloud.opencode.base.web.problem
-
Builder for ProblemDetail ProblemDetail 构建器
- 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
propertyrecord 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
publisherrecord 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
- RateLimitInfo - Record Class in cloud.opencode.base.web.ratelimit
-
Rate Limit Info - HTTP Rate Limiting Header Parser and Builder 限流信息 - HTTP 限流头部解析器和构建器
- RateLimitInfo(long, long, long) - Constructor for record class cloud.opencode.base.web.ratelimit.RateLimitInfo
-
Compact constructor with validation.
- REFERER - Static variable in class cloud.opencode.base.web.http.HttpHeaders
- referrerPolicy(SecurityHeaders.ReferrerPolicy) - Method in class cloud.opencode.base.web.security.SecurityHeaders.Builder
-
Sets the Referrer-Policy header.
- REFUND_FAILED - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
- remaining() - Method in record class cloud.opencode.base.web.ratelimit.RateLimitInfo
-
Returns the value of the
remainingrecord component. - 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
requestIdrecord 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
requestTimerecord 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
- resetEpochSecond() - Method in record class cloud.opencode.base.web.ratelimit.RateLimitInfo
-
Returns the value of the
resetEpochSecondrecord component. - resetInstant() - Method in record class cloud.opencode.base.web.ratelimit.RateLimitInfo
-
Returns the reset time as an Instant.
- resolve(HttpHeaders) - Static method in class cloud.opencode.base.web.util.ClientIp
-
Resolves client IP from headers without trusted proxy filtering.
- resolve(HttpHeaders, Set) - Static method in class cloud.opencode.base.web.util.ClientIp
-
Resolves client IP from headers with trusted proxy filtering.
- resolveKey(String) - Method in interface cloud.opencode.base.web.crypto.EncryptionKeyResolver
-
Resolve encryption key by alias 根据别名解析加密密钥
- RESOURCE_BUSY - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
- restrictive(String...) - Static method in record class cloud.opencode.base.web.cors.CorsConfig
-
Creates a restrictive CORS configuration that only allows specified origins.
- 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
Resultrecord 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
- ResultEncryptionHandler - Class in cloud.opencode.base.web.crypto
-
Result Encryption Handler 响应加密处理器
- ResultEncryptionHandler(EncryptionKeyResolver) - Constructor for class cloud.opencode.base.web.crypto.ResultEncryptionHandler
-
Create handler with key resolver 使用密钥解析器创建处理器
- 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
retryrecord 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
- retryAfterSeconds() - Method in record class cloud.opencode.base.web.ratelimit.RateLimitInfo
-
Calculates the number of seconds until the rate limit window resets.
- roles() - Method in record class cloud.opencode.base.web.context.UserContext
-
Returns the value of the
rolesrecord component.
S
- SAME_ORIGIN - Enum constant in enum class cloud.opencode.base.web.security.SecurityHeaders.ReferrerPolicy
-
Full URL for same-origin, no referrer for cross-origin - 同源发送完整 URL,跨域不发送
- SAMEORIGIN - Enum constant in enum class cloud.opencode.base.web.security.SecurityHeaders.FrameOption
-
Page can only be displayed in a frame on the same origin - 页面只能在同源框架中显示
- scheme(String) - Method in class cloud.opencode.base.web.url.UrlBuilder
-
Sets the scheme.
- SecurityHeaders - Class in cloud.opencode.base.web.security
-
Security Headers - HTTP Security Response Headers Builder 安全头部 - HTTP 安全响应头部构建器
- SecurityHeaders.Builder - Class in cloud.opencode.base.web.security
-
Builder for SecurityHeaders - fluent API for constructing security header sets.
- SecurityHeaders.FrameOption - Enum Class in cloud.opencode.base.web.security
-
X-Frame-Options header values.
- SecurityHeaders.ReferrerPolicy - Enum Class in cloud.opencode.base.web.security
-
Referrer-Policy header values.
- SEE_OTHER - Enum constant in enum class cloud.opencode.base.web.http.HttpStatus
- 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 检查是否应用于此响应
- shouldEncrypt(EncryptResult) - Method in class cloud.opencode.base.web.crypto.ResultEncryptionHandler
-
Check if a Result should be encrypted based on annotation 根据注解判断 Result 是否需要加密
- sign() - Method in record class cloud.opencode.base.web.crypto.EncryptedResult
-
Returns the value of the
signrecord component. - signPayload() - Method in record class cloud.opencode.base.web.crypto.EncryptedResult
-
Build the payload string for HMAC signing 构建用于HMAC签名的负载字符串
- 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
SimpleBodyrecord 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
sizerecord component. - size() - Method in record class cloud.opencode.base.web.page.PageRequest
-
Returns the value of the
sizerecord 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
sortrecord 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
-
Compact constructor: validates that id and event do not contain newline characters to prevent SSE event injection.
- SseEvent.Builder - Class in cloud.opencode.base.web.sse
- standard() - Static method in class cloud.opencode.base.web.security.SecurityHeaders
-
Creates a standard security headers configuration suitable for most applications.
- STATE_TRANSITION_ERROR - Enum constant in enum class cloud.opencode.base.web.CommonResultCode
- status() - Method in record class cloud.opencode.base.web.problem.ProblemDetail
-
Returns the value of the
statusrecord component. - status(int) - Method in class cloud.opencode.base.web.problem.ProblemDetail.Builder
-
Set the HTTP status code.
- strict() - Static method in class cloud.opencode.base.web.cookie.CookieJar
- strict() - Static method in class cloud.opencode.base.web.security.SecurityHeaders
-
Creates a strict security headers configuration with the most restrictive settings.
- STRICT_ORIGIN - Enum constant in enum class cloud.opencode.base.web.security.SecurityHeaders.ReferrerPolicy
-
Origin for cross-origin HTTPS requests only - 仅跨域 HTTPS 请求发送来源域
- STRICT_ORIGIN_WHEN_CROSS_ORIGIN - Enum constant in enum class cloud.opencode.base.web.security.SecurityHeaders.ReferrerPolicy
-
Full URL for same-origin, origin for secure cross-origin - 同源发送完整 URL,安全跨域发送来源域
- strictTransportSecurity(long, boolean) - Method in class cloud.opencode.base.web.security.SecurityHeaders.Builder
-
Sets the Strict-Transport-Security header.
- strong(String) - Static method in record class cloud.opencode.base.web.cache.ETag
-
Create a strong ETag.
- strongMatches(ETag) - Method in record class cloud.opencode.base.web.cache.ETag
-
Strong comparison function (RFC 7232 Section 2.3.2).
- subtype() - Method in record class cloud.opencode.base.web.http.MediaType
-
Returns the value of the
subtyperecord component. - success() - Method in record class cloud.opencode.base.web.Result
-
Returns the value of the
successrecord 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_HTML - Static variable in record class cloud.opencode.base.web.http.MediaType
-
text/html
- 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_PLAIN - Static variable in record class cloud.opencode.base.web.http.MediaType
-
text/plain
- 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
timestamprecord component. - timestamp() - Method in record class cloud.opencode.base.web.Result
-
Returns the value of the
timestamprecord component. - title() - Method in record class cloud.opencode.base.web.problem.ProblemDetail
-
Returns the value of the
titlerecord component. - title(String) - Method in class cloud.opencode.base.web.problem.ProblemDetail.Builder
-
Set the title.
- 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
- toHeaders(String) - Method in record class cloud.opencode.base.web.cors.CorsConfig
-
Generates CORS response headers for the given request origin.
- 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.security.SecurityHeaders
-
Returns an unmodifiable map of all security headers.
- 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.MultipartBody.Part
-
Returns a string representation of this record class.
- toString() - Method in class cloud.opencode.base.web.body.MultipartBody
- 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.cache.ETag
-
Returns the header value representation.
- 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.cors.CorsConfig
-
Returns a string representation of this record class.
- 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.http.MediaType
-
Return the full media type string including parameters.
- 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.problem.ProblemDetail
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.web.ratelimit.RateLimitInfo
-
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 class cloud.opencode.base.web.security.SecurityHeaders
- 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
totalrecord component. - totalPages() - Method in record class cloud.opencode.base.web.page.PageInfo
-
Returns the value of the
totalPagesrecord 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
traceIdrecord component. - traceId() - Method in record class cloud.opencode.base.web.crypto.EncryptedResult
-
Returns the value of the
traceIdrecord component. - traceId() - Method in record class cloud.opencode.base.web.Result
-
Returns the value of the
traceIdrecord 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
- type() - Method in record class cloud.opencode.base.web.http.MediaType
-
Returns the value of the
typerecord component. - type() - Method in record class cloud.opencode.base.web.problem.ProblemDetail
-
Returns the value of the
typerecord component. - type(String) - Method in class cloud.opencode.base.web.problem.ProblemDetail.Builder
-
Set the problem type URI.
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
- UNSAFE_URL - Enum constant in enum class cloud.opencode.base.web.security.SecurityHeaders.ReferrerPolicy
-
Full URL always - 始终发送完整 URL
- 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 构造器
- UrlBuilder.DisallowedSchemeException - Exception Class in cloud.opencode.base.web.url
-
Thrown by
UrlBuilder.scheme(String)when the input scheme is not in the{http, https}allowlist. - 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
userrecord 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
userAgentrecord 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
userIdrecord component. - username() - Method in record class cloud.opencode.base.web.context.UserContext
-
Returns the value of the
usernamerecord 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 创建带数据的验证错误异常
- value() - Method in record class cloud.opencode.base.web.cache.ETag
-
Returns the value of the
valuerecord component. - value() - Method in enum class cloud.opencode.base.web.security.SecurityHeaders.FrameOption
-
Returns the header value.
- value() - Method in enum class cloud.opencode.base.web.security.SecurityHeaders.ReferrerPolicy
-
Returns the header value.
- 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.
- valueOf(String) - Static method in enum class cloud.opencode.base.web.security.SecurityHeaders.FrameOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.web.security.SecurityHeaders.ReferrerPolicy
-
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.
- values() - Static method in enum class cloud.opencode.base.web.security.SecurityHeaders.FrameOption
-
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.security.SecurityHeaders.ReferrerPolicy
-
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
- weak() - Method in record class cloud.opencode.base.web.cache.ETag
-
Returns the value of the
weakrecord component. - weak(String) - Static method in record class cloud.opencode.base.web.cache.ETag
-
Create a weak ETag.
- weakMatches(ETag) - Method in record class cloud.opencode.base.web.cache.ETag
-
Weak comparison function (RFC 7232 Section 2.3.2).
- 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 使用随机密钥创建加密器
- withSign(String) - Method in record class cloud.opencode.base.web.crypto.EncryptedResult
-
Create a copy with sign 创建带签名的副本
- 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
- xContentTypeOptions() - Method in class cloud.opencode.base.web.security.SecurityHeaders.Builder
-
Sets the X-Content-Type-Options header to "nosniff".
- xFrameOptions(SecurityHeaders.FrameOption) - Method in class cloud.opencode.base.web.security.SecurityHeaders.Builder
-
Sets the X-Frame-Options header.
- 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
- xXssProtection() - Method in class cloud.opencode.base.web.security.SecurityHeaders.Builder
-
Sets the X-XSS-Protection header to "0" (modern best practice: disable browser XSS filter).
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form