Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(Root, CriteriaUpdate, CriteriaBuilder) - Method in interface io.github.xezzon.zeroweb.common.jpa.BaseDAO.UpdateCriteriaBuilder
-
应用更新条件。
- ACCESS_KEY_HEADER - Static variable in class io.github.xezzon.zeroweb.auth.JwtFilter
-
Access Key 的请求头名称。
- addInterceptors(InterceptorRegistry) - Method in class io.github.xezzon.zeroweb.auth.SaTokenConfigure
-
添加 Sa-Token 拦截器到 Spring MVC 的拦截器注册表。
- Alphanumeric - Annotation Interface in io.github.xezzon.zeroweb.common.validator
-
自定义校验注解,用于检查字符串是否仅包含字母、数字、下划线以及可选的其他字符。
- appBuilder() - Static method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator
-
创建一个用于生成应用程序 JWT 的 Builder 实例。
- ApplicationContextProvider - Class in io.github.xezzon.zeroweb.common.context
-
提供对 Spring 应用上下文的静态访问。
- ApplicationContextProvider() - Constructor for class io.github.xezzon.zeroweb.common.context.ApplicationContextProvider
- ARGUMENT_INVALID - Static variable in class io.github.xezzon.zeroweb.common.exception.ErrorCodeConstant
-
请求参数无效错误。
- ASCII_LOWER_CASE - Static variable in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
-
小写字母 字符集范围:a-z。
- ASCII_UPPER_CASE - Static variable in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
-
大写字母 字符集范围:A-Z。
- ASN1PrivateKeyReader - Interface in io.github.xezzon.zeroweb.core.crypto
-
提供了从各种格式读取 ASN.1 编码私钥的功能。
- ASN1PrivateKeyWriter - Interface in io.github.xezzon.zeroweb.core.crypto
-
提供将ASN.1格式的私钥写入输出流的功能。
- ASN1PublicKeyReader - Interface in io.github.xezzon.zeroweb.core.crypto
-
ASN1PublicKeyReader接口定义了从 ASN.1 格式读取公钥的方法。 - ASN1PublicKeyWriter - Interface in io.github.xezzon.zeroweb.core.crypto
-
用于定义将 ASN.1 编码的公钥写入的契约。
- AuthHttpConstant - Class in io.github.xezzon.zeroweb.auth
-
HTTP 认证相关的常量
- AUTHORIZATION - Static variable in class io.github.xezzon.zeroweb.auth.AuthHttpConstant
-
HTTP "Authentication" 请求头
- AUTHORIZED_PARTY_CLAIM - Static variable in class io.github.xezzon.zeroweb.auth.JsonWebToken
-
JWT 中用于存储授权方(Authorized Party)的声明(Claim)名称,通常指 ID 令牌的发行方。
- AZP_VALUE - Static variable in class io.github.xezzon.zeroweb.auth.JsonWebToken
-
JWT 授权方的值,表示由 ZeroWeb 签发。
B
- BannerConstant - Class in io.github.xezzon.zeroweb.common.constant
-
应用程序的品牌相关常量。
- BaseDAO<T,
I, - Class in io.github.xezzon.zeroweb.common.jpaM> -
持久层基类,封装了常用的数据访问操作,支持 OData 查询。
- BaseDAO.ICopier<T> - Interface in io.github.xezzon.zeroweb.common.jpa
-
实体属性复制器接口。
- BaseDAO.UpdateCriteriaBuilder<T> - Interface in io.github.xezzon.zeroweb.common.jpa
-
更新条件组装器接口。
- BaseSpecs - Class in io.github.xezzon.zeroweb.common.jpa
-
基础 JPA 规范构建器,提供常用的规范方法。
- bearer() - Method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator.Builder
-
生成带有 "Bearer" 前缀的完整授权头字符串。
- BEARER - Static variable in class io.github.xezzon.zeroweb.auth.AuthHttpConstant
-
HTTP "Bearer" 身份验证方案
- BreakException - Exception Class in io.github.xezzon.zeroweb.core.error
-
退出当前异常处理流程,用于不关心执行结果的地方。
- BreakException() - Constructor for exception class io.github.xezzon.zeroweb.core.error.BreakException
C
- CharacterConstant - Class in io.github.xezzon.zeroweb.common.constant
-
字符常量类,提供常用字符集数组。
- CLAIM - Static variable in class io.github.xezzon.zeroweb.auth.JwtAuth
-
ScopedValue 用于在当前线程范围内存储 JWT 认证信息。
- class_ - Static variable in class io.github.xezzon.zeroweb.common.jpa.IEntity_
-
Static metamodel type for
IEntity - CLIENT - Enum constant in enum class io.github.xezzon.zeroweb.metadata.ServiceType
-
前端
- CLIENT_ERROR_STATUS - Static variable in class io.github.xezzon.zeroweb.common.exception.ErrorCodeConstant
-
客户端错误 HTTP 状态码,通常为 422 Unprocessable Entity。
- code() - Method in exception class io.github.xezzon.zeroweb.common.exception.DataPermissionForbiddenException
- code() - Method in exception class io.github.xezzon.zeroweb.common.exception.RepeatDataException
- code() - Method in exception class io.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
-
业务异常的错误码。
- columnNames() - Method in interface io.github.xezzon.zeroweb.test.data.ToSQL
-
申明列名
- columnTemplate() - Method in interface io.github.xezzon.zeroweb.test.data.ToSQL
-
列数据模板
- columnValue() - Method in interface io.github.xezzon.zeroweb.test.data.ToSQL
-
获取列数据的方法
- CONTEXT - Static variable in class io.github.xezzon.zeroweb.auth.JwtAuth
-
gRPC Context.Key 用于在 gRPC 请求上下文中存储 JWT 认证信息。
- copy(T, T) - Method in interface io.github.xezzon.zeroweb.common.jpa.BaseDAO.ICopier
-
复制实体属性,如果源实体属性为 null,则不复制。
- CPU_INTENSIVE_EXECUTOR - Static variable in class io.github.xezzon.zeroweb.common.thread.ThreadPoolConfig
-
CPU 密集型任务执行器 bean 的名称。
D
- DatabaseConstant - Class in io.github.xezzon.zeroweb.common.constant
-
数据库相关常量
- DataPermissionForbiddenException - Exception Class in io.github.xezzon.zeroweb.common.exception
-
数据权限不足异常。
- DataPermissionForbiddenException(String, String, String) - Constructor for exception class io.github.xezzon.zeroweb.common.exception.DataPermissionForbiddenException
-
构造器。
- DbTrait - Interface in io.github.xezzon.zeroweb.common.marker
-
DbTrait是一个标记接口,用于标识那些主要通过与数据库交互来提供功能的类或组件。 - decoder(byte[]) - Static method in class io.github.xezzon.zeroweb.auth.JsonWebToken
-
创建一个 JWT 解码器,使用对称密钥进行验签。
- decoder(ECPublicKey) - Static method in class io.github.xezzon.zeroweb.auth.JsonWebToken
-
创建一个 JWT 解码器,使用 ECC 公钥进行验签。
- Decoder() - Constructor for class io.github.xezzon.zeroweb.auth.JsonWebToken.Decoder
- DEFAULT_TIMEOUT - Static variable in class io.github.xezzon.zeroweb.auth.JsonWebToken
-
JWT 的默认过期时间,单位为秒(2分钟)。
- DefaultMenuService - Class in io.github.xezzon.zeroweb.metadata
-
IMenuService接口的默认实现,在没有其他具体实现时提供一个空列表。 - DefaultMenuService() - Constructor for class io.github.xezzon.zeroweb.metadata.DefaultMenuService
- DerStringReader - Class in io.github.xezzon.zeroweb.core.crypto
-
从 Base64 编码的 DER 字符串中读取 ASN.1 公钥。
- DerStringReader(String) - Constructor for class io.github.xezzon.zeroweb.core.crypto.DerStringReader
-
构造一个新的
DerStringReader实例。 - deserialize(byte[]) - Method in class io.github.xezzon.zeroweb.common.redis.GsonRedisSerializer
-
从字节数组反序列化为对象。
- Detail() - Constructor for class io.github.xezzon.zeroweb.common.exception.ErrorResult.Detail
-
默认构造函数,供 Jackson 等 JSON 序列化库使用。
- Detail(String, String, Map) - Constructor for class io.github.xezzon.zeroweb.common.exception.ErrorResult.Detail
-
构造一个带有指定错误码、消息和参数的详细错误信息。
- DictImporter - Interface in io.github.xezzon.zeroweb.dict
-
字典导入功能
- DictRpcHandler - Class in io.github.xezzon.zeroweb.dict
-
以 RPC 调用的方式实现字典导入功能,针对 zeroweb-service-admin 以外的服务。
- DictRpcHandler() - Constructor for class io.github.xezzon.zeroweb.dict.DictRpcHandler
- DictScanner - Class in io.github.xezzon.zeroweb.dict
-
字典扫描器,在 Bean 注册阶段扫描 classpath 下所有实现了
IDict接口的枚举类,并在应用启动时将其注册到数据库中。 - DictScanner() - Constructor for class io.github.xezzon.zeroweb.dict.DictScanner
- DIGIT - Static variable in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
-
数字 字符集范围:0-9。
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.github.xezzon.zeroweb.auth.JwtFilter
-
执行 JWT 认证过滤。
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.github.xezzon.zeroweb.common.otlp.UserSpanAttributeFilter
-
过滤请求,将登录用户的属性添加到当前的 Span 中。
- DOT - Static variable in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
-
特殊字符:点 `.`。
E
- EMBEDDED - Enum constant in enum class io.github.xezzon.zeroweb.metadata.MenuType
-
嵌入页面。
- EnableDictScan - Annotation Interface in io.github.xezzon.zeroweb.dict
-
启用注解扫描。
- equals(Object) - Method in record class io.github.xezzon.zeroweb.common.domain.Id
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.xezzon.zeroweb.core.odata.ODataRequestParam
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.github.xezzon.zeroweb.core.tree.TreeList
- ERROR_CODE - Static variable in exception class io.github.xezzon.zeroweb.common.exception.DataPermissionForbiddenException
-
错误码
- ERROR_CODE - Static variable in exception class io.github.xezzon.zeroweb.common.exception.RepeatDataException
-
错误码,表示唯一键冲突。
- ERROR_CODE - Static variable in class io.github.xezzon.zeroweb.common.grpc.GrpcServerExceptionHandler
-
定义 gRPC 响应头中用于传递业务错误码的 Key。
- ERROR_CODE_HEADER - Static variable in class io.github.xezzon.zeroweb.common.exception.ErrorCodeConstant
-
错误码的请求头名称。
- ErrorCodeConstant - Class in io.github.xezzon.zeroweb.common.exception
-
错误码常量定义。
- ErrorResult - Class in io.github.xezzon.zeroweb.common.exception
-
ErrorResult是一个通用的 API 异常响应对象,用于封装错误信息。 - ErrorResult(Throwable) - Constructor for class io.github.xezzon.zeroweb.common.exception.ErrorResult
-
使用 Throwable 对象构造一个 ErrorResult。
- ErrorResult(Throwable, List) - Constructor for class io.github.xezzon.zeroweb.common.exception.ErrorResult
-
使用 Throwable 对象和详细信息列表构造一个 ErrorResult。
- ErrorResult.Detail - Class in io.github.xezzon.zeroweb.common.exception
-
Detail是ErrorResult的一个嵌套类,用于表示错误的详细信息。 - ExcludeDbTrait - Class in io.github.xezzon.zeroweb.common.marker
- ExcludeDbTrait() - Constructor for class io.github.xezzon.zeroweb.common.marker.ExcludeDbTrait
- excludes() - Element in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
-
指定校验不允许包含的字符集。
- EXTERNAL_LINK - Enum constant in enum class io.github.xezzon.zeroweb.metadata.MenuType
-
外部链接。
F
- FILE_SUFFIX - Static variable in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
-
PEM文件的默认后缀名,值为 ".pem"。
- findAll(ODataQueryOption) - Method in class io.github.xezzon.zeroweb.common.jpa.BaseDAO
-
分页查询数据
- from(List) - Static method in class io.github.xezzon.zeroweb.core.tree.TreeList
-
将
ITreeNode对象的扁平列表转换为树形结构。 - from(S) - Method in interface io.github.xezzon.zeroweb.core.trait.From
-
将源类型转换为目标类型。
- From<S,
T> - Interface in io.github.xezzon.zeroweb.core.trait -
类型转换
G
- generate(int) - Method in interface io.github.xezzon.zeroweb.test.data.IDataGenerator
-
生成数据
- generate(SharedSessionContractImplementor, Object) - Method in class io.github.xezzon.zeroweb.common.jpa.HibernateIdGenerator
-
生成实体 ID。
- generateData(int) - Method in interface io.github.xezzon.zeroweb.test.data.IDataGenerator
-
生成一个数据的方法
- get() - Static method in class io.github.xezzon.zeroweb.auth.JwtAuth
-
获取当前线程的 JWT 认证信息。
- get() - Static method in class io.github.xezzon.zeroweb.common.context.ApplicationContextProvider
-
获取 Spring 应用上下文。
- get() - Method in class io.github.xezzon.zeroweb.common.jpa.BaseDAO
-
获取底层的 JpaRepository 实例。
- get() - Method in interface io.github.xezzon.zeroweb.core.trait.NewType
-
获取原类型以使用其方法
- get(int) - Method in class io.github.xezzon.zeroweb.core.tree.TreeList
-
返回此树的根列表中指定位置的节点。
- getChildren() - Method in interface io.github.xezzon.zeroweb.core.tree.ITreeNode
-
获取子级数据
- getCode() - Method in interface io.github.xezzon.zeroweb.core.trait.IDict
-
字典值
- getCode() - Method in enum class io.github.xezzon.zeroweb.metadata.ServiceType
-
获取服务类型的代码表示。
- getCode(Throwable) - Static method in class io.github.xezzon.zeroweb.common.exception.ErrorResult
-
从给定的
Throwable对象中提取错误码。 - getCopier() - Method in class io.github.xezzon.zeroweb.common.jpa.BaseDAO
-
获取实体属性复制器。
- getCountDownLatch() - Method in class io.github.xezzon.zeroweb.dict.DictRpcHandler
-
用于标识导入是否已完成
- getDigit() - Static method in class io.github.xezzon.zeroweb.common.constant.CharacterConstant
-
获取数字字符集数组。
- getId() - Method in interface io.github.xezzon.zeroweb.common.jpa.IEntity
-
获取实体 ID。
- getId() - Method in interface io.github.xezzon.zeroweb.core.tree.ITreeNode
-
ID
- getLabel() - Method in interface io.github.xezzon.zeroweb.core.trait.IDict
-
字典描述
- getLabel() - Method in enum class io.github.xezzon.zeroweb.metadata.ServiceType
-
获取服务类型的可读标签。
- getLowercase() - Static method in class io.github.xezzon.zeroweb.common.constant.CharacterConstant
-
获取小写字符集数组。
- getOrdinal() - Method in interface io.github.xezzon.zeroweb.core.trait.IDict
-
排序号
- getOrdinal() - Method in enum class io.github.xezzon.zeroweb.metadata.ServiceType
-
获取服务类型在枚举中的序数。
- getOrThrow() - Static method in class io.github.xezzon.zeroweb.auth.JwtAuth
-
获取当前线程的 JWT 认证信息,如果不存在则抛出异常。
- getPageNumber() - Method in class io.github.xezzon.zeroweb.core.odata.ODataQueryOption
-
计算当前页码。
- getParentId() - Method in interface io.github.xezzon.zeroweb.core.tree.ITreeNode
-
上级ID
- getPermissionList(Object, String) - Method in class io.github.xezzon.zeroweb.auth.JwtStpInterface
-
获取指定账号的权限列表。
- getPublicKey() - Static method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator
-
获取 Base64 编码的公钥字符串。
- getResourceFromClasspath(String) - Static method in class io.github.xezzon.zeroweb.core.util.ResourceUtil
-
从首个文件系统的classpath中获取资源
- getResourcesFromClasspath(String) - Static method in class io.github.xezzon.zeroweb.core.util.ResourceUtil
-
从所有文件系统的classpath中获取指定资源的所有路径。
- getRoleList(Object, String) - Method in class io.github.xezzon.zeroweb.auth.JwtStpInterface
-
获取指定账号的角色列表。
- getSecretKey() - Static method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator
-
获取 Base64 编码的对称密钥字符串。
- getTag() - Method in interface io.github.xezzon.zeroweb.core.trait.IDict
-
字典目
- getTag() - Method in enum class io.github.xezzon.zeroweb.metadata.ServiceType
-
获取服务类型对应的标签(字典类型名称)。
- getUppercase() - Static method in class io.github.xezzon.zeroweb.common.constant.CharacterConstant
-
获取大写字符集数组。
- GlobalExceptionHandler - Class in io.github.xezzon.zeroweb.common.exception
-
全局异常处理,统一管理应用程序中抛出的各种异常,并将其转换为统一的
ErrorResult响应格式。 - GlobalExceptionHandler() - Constructor for class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
- GROUP_PERMISSION - Enum constant in enum class io.github.xezzon.zeroweb.metadata.MenuType
-
资源权限 路径格式为
resource:#:operation,operation 通常为read(可省略)、write等。 - groups() - Element in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
-
校验组,允许将约束注解应用于不同的验证场景。
- GROUPS_CLAIM - Static variable in class io.github.xezzon.zeroweb.auth.JsonWebToken
-
JWT 中用于存储用户组的声明(Claim)名称。
- GrpcClientFactory - Class in io.github.xezzon.zeroweb.common.grpc
-
构造 gRPC 客户端 Bean。
- GrpcClientFactory() - Constructor for class io.github.xezzon.zeroweb.common.grpc.GrpcClientFactory
- GrpcJwtInterceptor - Class in io.github.xezzon.zeroweb.common.grpc
-
GrpcJwtInterceptor用于在 gRPC 服务间调用中传递 JWT 认证信息。 - GrpcJwtInterceptor() - Constructor for class io.github.xezzon.zeroweb.common.grpc.GrpcJwtInterceptor
- GrpcServerExceptionHandler - Class in io.github.xezzon.zeroweb.common.grpc
-
gRPC 服务端异常处理器。
- GrpcServerExceptionHandler() - Constructor for class io.github.xezzon.zeroweb.common.grpc.GrpcServerExceptionHandler
- GsonRedisSerializer<T> - Class in io.github.xezzon.zeroweb.common.redis
-
使用 Gson 进行序列化和反序列化的 Redis 序列化器。
- GsonRedisSerializer(TypeToken) - Constructor for class io.github.xezzon.zeroweb.common.redis.GsonRedisSerializer
-
构造一个新的
GsonRedisSerializer实例。
H
- handleDataNotExistException(RuntimeException, HttpServletRequest) - Method in class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
-
处理
实体未找到异常或元素不存在异常。 - handleException(NotLoginException, HttpServletRequest) - Method in class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
-
处理
未登录异常。 - handleException(ZerowebBusinessException, HttpServletRequest) - Method in class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
-
处理
业务异常。 - handleException(Throwable) - Method in class io.github.xezzon.zeroweb.common.grpc.GrpcServerExceptionHandler
-
处理 gRPC 异常,并将其转换为
StatusException。 - handleException(Throwable, HttpServletRequest) - Method in class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
-
处理所有未被特定异常处理器捕获的
异常。 - handleException(MethodArgumentNotValidException, HttpServletRequest) - Method in class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
-
处理
参数校验不通过异常。 - handleException(HttpRequestMethodNotSupportedException, HttpServletRequest) - Method in class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
-
处理
HTTP 请求方法不支持异常。 - handleException(HandlerMethodValidationException, HttpServletRequest) - Method in class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
-
处理
方法参数验证异常。 - handleException(NoResourceFoundException, HttpServletRequest) - Method in class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
-
处理
请求资源不存在异常。 - handleForbiddenException(RuntimeException, HttpServletRequest) - Method in class io.github.xezzon.zeroweb.common.exception.GlobalExceptionHandler
-
处理
角色不足异常或权限不足异常。 - hashCode() - Method in record class io.github.xezzon.zeroweb.common.domain.Id
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.xezzon.zeroweb.core.odata.ODataRequestParam
-
Returns a hash code value for this object.
- hashCode() - Method in class io.github.xezzon.zeroweb.core.tree.TreeList
- HibernateIdGenerator - Class in io.github.xezzon.zeroweb.common.jpa
-
Hibernate ID 生成器。
- HibernateIdGenerator() - Constructor for class io.github.xezzon.zeroweb.common.jpa.HibernateIdGenerator
- httpStatus() - Method in exception class io.github.xezzon.zeroweb.common.exception.DataPermissionForbiddenException
-
该错误返回 403 HTTP 状态码
- httpStatus() - Method in exception class io.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
-
业务异常对应的 HTTP 状态码。
- HYPHEN - Static variable in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
-
特殊字符:短横线 `-`。
I
- id() - Method in record class io.github.xezzon.zeroweb.common.domain.Id
-
Returns the value of the
idrecord component. - id(String) - Method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator.Builder
-
设置 JWT 的 ID (sub 声明)。
- Id - Record Class in io.github.xezzon.zeroweb.common.domain
-
封装 ID 的记录类。
- Id(String) - Constructor for record class io.github.xezzon.zeroweb.common.domain.Id
-
Creates an instance of a
Idrecord class. - ID_COLUMN - Static variable in class io.github.xezzon.zeroweb.common.constant.DatabaseConstant
-
ID 列名
- ID_GENERATOR - Static variable in class io.github.xezzon.zeroweb.common.config.ZerowebConfig
-
ID 生成策略的配置键。
- ID_LENGTH - Static variable in class io.github.xezzon.zeroweb.common.constant.DatabaseConstant
-
主键字段长度
- IDataGenerator<T> - Interface in io.github.xezzon.zeroweb.test.data
-
生成测试数据的规范。
- identicallyEqual() - Static method in class io.github.xezzon.zeroweb.common.jpa.BaseSpecs
-
构造`WHERE TRUE;`的 JPA Specification。
- identicallyNotEqual() - Static method in class io.github.xezzon.zeroweb.common.jpa.BaseSpecs
-
构造`WHERE FALSE;`的 JPA Specification。
- IdGenerator - Interface in io.github.xezzon.zeroweb.core.trait
-
全局 ID 生成器
- IdGenerator - Annotation Interface in io.github.xezzon.zeroweb.common.jpa
-
标记实体类的 ID 以自定义的方式生成。
- IDict - Interface in io.github.xezzon.zeroweb.core.trait
-
字典接口
- IEntity<T> - Interface in io.github.xezzon.zeroweb.common.jpa
-
基础实体接口。
- IEntity_ - Class in io.github.xezzon.zeroweb.common.jpa
-
Static metamodel for
IEntity - IEntity_() - Constructor for class io.github.xezzon.zeroweb.common.jpa.IEntity_
- IMenuService - Interface in io.github.xezzon.zeroweb.metadata
-
菜单服务接口。
- importDict(DictImportReqList) - Method in interface io.github.xezzon.zeroweb.dict.DictImporter
-
批量导入字典 逐个判断。
- importDict(DictImportReqList) - Method in class io.github.xezzon.zeroweb.dict.DictRpcHandler
- includes() - Element in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
-
指定校验允许包含的字符集。
- InnerLock(int) - Constructor for class io.github.xezzon.zeroweb.common.concurrent.StripedLock.InnerLock
-
初始化
StripedLock.InnerLock实例,设置超时时间。 - interceptCall(MethodDescriptor, CallOptions, Channel) - Method in class io.github.xezzon.zeroweb.common.grpc.GrpcJwtInterceptor
-
客户端拦截器,用于在 gRPC 客户端发起请求时添加认证信息。
- interceptCall(ServerCall, Metadata, ServerCallHandler) - Method in class io.github.xezzon.zeroweb.common.grpc.GrpcJwtInterceptor
-
服务端拦截器,用于在 gRPC 服务接收请求时处理认证信息。
- into() - Method in record class io.github.xezzon.zeroweb.core.odata.ODataRequestParam
-
将当前的 OData 请求参数转换为 OData 查询选项。
- into() - Method in interface io.github.xezzon.zeroweb.core.trait.Into
-
转换
- into() - Method in class io.github.xezzon.zeroweb.core.tree.TreeList
-
将此树结构转换为所有节点的扁平列表,并保持遍历顺序。
- Into<T> - Interface in io.github.xezzon.zeroweb.core.trait
-
类型转换
- InvalidTokenException - Exception Class in io.github.xezzon.zeroweb.common.exception
-
当用户提供的身份验证令牌无效时抛出此异常。
- InvalidTokenException(Throwable) - Constructor for exception class io.github.xezzon.zeroweb.common.exception.InvalidTokenException
-
使用指定的原因构造一个新的 `InvalidTokenException`。
- IO_INTENSIVE_EXECUTOR - Static variable in class io.github.xezzon.zeroweb.common.thread.ThreadPoolConfig
-
IO 密集型任务执行器 bean 的名称。
- io.github.xezzon.zeroweb.auth - package io.github.xezzon.zeroweb.auth
- io.github.xezzon.zeroweb.common.concurrent - package io.github.xezzon.zeroweb.common.concurrent
- io.github.xezzon.zeroweb.common.config - package io.github.xezzon.zeroweb.common.config
- io.github.xezzon.zeroweb.common.constant - package io.github.xezzon.zeroweb.common.constant
- io.github.xezzon.zeroweb.common.context - package io.github.xezzon.zeroweb.common.context
- io.github.xezzon.zeroweb.common.domain - package io.github.xezzon.zeroweb.common.domain
- io.github.xezzon.zeroweb.common.exception - package io.github.xezzon.zeroweb.common.exception
-
为 ZeroWeb 框架提供通用的异常类。
- io.github.xezzon.zeroweb.common.grpc - package io.github.xezzon.zeroweb.common.grpc
- io.github.xezzon.zeroweb.common.jpa - package io.github.xezzon.zeroweb.common.jpa
- io.github.xezzon.zeroweb.common.marker - package io.github.xezzon.zeroweb.common.marker
- io.github.xezzon.zeroweb.common.openapi - package io.github.xezzon.zeroweb.common.openapi
- io.github.xezzon.zeroweb.common.otlp - package io.github.xezzon.zeroweb.common.otlp
- io.github.xezzon.zeroweb.common.redis - package io.github.xezzon.zeroweb.common.redis
- io.github.xezzon.zeroweb.common.thread - package io.github.xezzon.zeroweb.common.thread
- io.github.xezzon.zeroweb.common.validator - package io.github.xezzon.zeroweb.common.validator
- io.github.xezzon.zeroweb.core.crypto - package io.github.xezzon.zeroweb.core.crypto
- io.github.xezzon.zeroweb.core.error - package io.github.xezzon.zeroweb.core.error
- io.github.xezzon.zeroweb.core.odata - package io.github.xezzon.zeroweb.core.odata
- io.github.xezzon.zeroweb.core.trait - package io.github.xezzon.zeroweb.core.trait
- io.github.xezzon.zeroweb.core.tree - package io.github.xezzon.zeroweb.core.tree
- io.github.xezzon.zeroweb.core.util - package io.github.xezzon.zeroweb.core.util
- io.github.xezzon.zeroweb.dict - package io.github.xezzon.zeroweb.dict
- io.github.xezzon.zeroweb.metadata - package io.github.xezzon.zeroweb.metadata
- io.github.xezzon.zeroweb.test.data - package io.github.xezzon.zeroweb.test.data
- issuedAt(Instant) - Method in class io.github.xezzon.zeroweb.auth.JsonWebToken.Signer
-
设置 JWT 的签发时间。
- issuer(String) - Method in class io.github.xezzon.zeroweb.auth.JsonWebToken.Signer
-
设置 JWT 的签发者。
- ITreeNode<T,
I> - Interface in io.github.xezzon.zeroweb.core.tree -
树形数据类型
- ITreeService<T,
I> - Interface in io.github.xezzon.zeroweb.core.tree -
树形数据管理
J
- JsonWebToken - Class in io.github.xezzon.zeroweb.auth
-
签发/解码 JWT 的工具类。
- JsonWebToken.Decoder - Class in io.github.xezzon.zeroweb.auth
-
JWT 解码器的抽象基类,提供了验签和解码 JWT 的通用方法。
- JsonWebToken.Signer - Class in io.github.xezzon.zeroweb.auth
-
JWT 签发器的抽象基类,提供了配置 JWT 声明和签发过程的通用方法。
- jwt() - Method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator.Builder
-
生成签名的 JWT 字符串。
- JwtAuth - Class in io.github.xezzon.zeroweb.auth
-
JWT 认证工具类,用于管理和获取当前线程的 JWT 认证信息。
- jwtClaim() - Method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator.Builder
-
构建并返回 JwtClaim 对象。
- JwtFilter - Class in io.github.xezzon.zeroweb.auth
-
处理请求头中 JWT 携带的认证信息,支持通过公钥或 AccessKey 进行验证。
- JwtFilter() - Constructor for class io.github.xezzon.zeroweb.auth.JwtFilter
- JwtStpInterface - Class in io.github.xezzon.zeroweb.auth
-
ZeroWeb 的 StpInterface 实现类,用于 Sa-Token 框架。
- JwtStpInterface() - Constructor for class io.github.xezzon.zeroweb.auth.JwtStpInterface
K
- keyConverter - Static variable in class io.github.xezzon.zeroweb.core.crypto.SecretKeyUtil
-
用于 PEM 格式密钥与 JCA 密钥对象之间转换的工具。
L
- list() - Method in class io.github.xezzon.zeroweb.metadata.DefaultMenuService
-
返回一个空的菜单信息列表。
- list() - Method in interface io.github.xezzon.zeroweb.metadata.IMenuService
-
列举服务内所有的接口权限与资源权限
- listByParentId(Collection) - Method in interface io.github.xezzon.zeroweb.core.tree.ITreeService
-
查询列表
- loadResourceInfo() - Method in class io.github.xezzon.zeroweb.metadata.MetadataHttpEndpoint
-
获取当前服务提供的所有菜单或资源信息。
- loadServiceInfo() - Method in class io.github.xezzon.zeroweb.metadata.MetadataHttpEndpoint
-
获取当前服务的自省信息。
- LockAdaptor - Interface in io.github.xezzon.zeroweb.common.concurrent
-
锁适配器接口。
- LockProvider - Interface in io.github.xezzon.zeroweb.common.concurrent
-
提供获取锁的统一接口。
M
- MenuInfo - Class in io.github.xezzon.zeroweb.metadata
-
菜单或资源的信息封装类。
- MenuInfo() - Constructor for class io.github.xezzon.zeroweb.metadata.MenuInfo
- MenuType - Enum Class in io.github.xezzon.zeroweb.metadata
-
菜单类型
- message() - Element in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
-
校验失败时返回的默认错误信息。
- MetadataHttpEndpoint - Class in io.github.xezzon.zeroweb.metadata
-
服务自省
- MetadataHttpEndpoint() - Constructor for class io.github.xezzon.zeroweb.metadata.MetadataHttpEndpoint
N
- NAME - Static variable in class io.github.xezzon.zeroweb.common.constant.BannerConstant
-
应用程序的品牌名称。
- NewType<T> - Interface in io.github.xezzon.zeroweb.core.trait
-
参考 Rust 的 NewType 机制
- nextId() - Method in class io.github.xezzon.zeroweb.common.jpa.UuidIdGenerator
-
生成下一个 UUID 字符串作为 ID。
- nextId() - Method in interface io.github.xezzon.zeroweb.core.trait.IdGenerator
-
生成一个全局 ID
- NICKNAME_CLAIM - Static variable in class io.github.xezzon.zeroweb.auth.JsonWebToken
-
JWT 中用于存储用户昵称的声明(Claim)名称。
- NO_SUCH_DATA - Static variable in class io.github.xezzon.zeroweb.common.exception.ErrorCodeConstant
-
数据不存在错误。
- NORMAL_STRING_LENGTH - Static variable in class io.github.xezzon.zeroweb.common.constant.DatabaseConstant
-
字符串默认长度
- NoValidClasspathException - Exception Class in io.github.xezzon.zeroweb.common.exception
-
`NoValidClasspathException` 表示在应用程序启动或运行时未能找到任何有效的类路径。
- NoValidClasspathException(Throwable) - Constructor for exception class io.github.xezzon.zeroweb.common.exception.NoValidClasspathException
-
使用指定的根本原因构造一个新的 `NoValidClasspathException`。
O
- ODataQueryOption - Class in io.github.xezzon.zeroweb.core.odata
-
OData 查询选项。
- ODataQueryOption() - Constructor for class io.github.xezzon.zeroweb.core.odata.ODataQueryOption
- ODataRequestParam - Record Class in io.github.xezzon.zeroweb.core.odata
-
OData 请求参数
- ODataRequestParam(Integer, Integer) - Constructor for record class io.github.xezzon.zeroweb.core.odata.ODataRequestParam
-
Creates an instance of a
ODataRequestParamrecord class. - of(TypeToken) - Method in class io.github.xezzon.zeroweb.common.redis.RedisTemplateFactory
-
创建一个指定值类型的
RedisTemplate实例。 - of(String) - Static method in record class io.github.xezzon.zeroweb.common.domain.Id
-
静态方法,用于构造
Id对象。 - of(String, int) - Method in interface io.github.xezzon.zeroweb.common.concurrent.LockProvider
-
获取锁封装器。
- of(String, int) - Method in class io.github.xezzon.zeroweb.common.concurrent.StripedLock
-
根据提供的名称和超时时间创建一个
LockAdaptor实例。 - OpenAPIConfig - Class in io.github.xezzon.zeroweb.common.openapi
- OpenAPIConfig() - Constructor for class io.github.xezzon.zeroweb.common.openapi.OpenAPIConfig
P
- PagedModel<T> - Class in io.github.xezzon.zeroweb.common.domain
-
PagedModel是一个用于封装分页数据的通用模型。 - PagedModel() - Constructor for class io.github.xezzon.zeroweb.common.domain.PagedModel
- PagedModel.PageMetadata - Class in io.github.xezzon.zeroweb.common.domain
-
PageMetadata提供了关于分页的详细信息,例如总页数、当前页码等。 - PageMetadata() - Constructor for class io.github.xezzon.zeroweb.common.domain.PagedModel.PageMetadata
- parseBytes(byte[]) - Method in class io.github.xezzon.zeroweb.common.grpc.Utf8Marshaller
-
从 UTF-8 字节数组中反序列化字符串。
- partialUpdate(T) - Method in class io.github.xezzon.zeroweb.common.jpa.BaseDAO
-
局部更新实体(仅更新非空字段)
- payload() - Element in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
-
负载信息,允许在校验失败时携带额外的信息。
- PEM_PRIVATE_KEY_HEADER - Static variable in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
-
PEM文件中私钥块的默认头尾描述符,值为 "PRIVATE KEY"。
- PEM_PUBLIC_KEY_HEADER - Static variable in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
-
PEM文件中公钥块的默认头尾描述符,值为 "PUBLIC KEY"。
- PemClasspathReaderAndWriter - Class in io.github.xezzon.zeroweb.core.crypto
-
PemClasspathReaderAndWriter 提供了从classpath中读写PEM格式的公钥和私钥文件的功能。
- PemClasspathReaderAndWriter(String) - Constructor for class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
-
构造一个新的 PemClasspathReaderAndWriter 实例。
- PERMISSION - Enum constant in enum class io.github.xezzon.zeroweb.metadata.MenuType
-
接口权限 路径格式为
resource:operation,operation 通常为read(可省略)、write等。 - PERMISSION_CLAIM - Static variable in class io.github.xezzon.zeroweb.auth.JsonWebToken
-
JWT 中用于存储用户权限的声明(Claim)名称。
- PermissionConstantUtil - Class in io.github.xezzon.zeroweb.metadata
-
权限常量工具类。
- permissions(List) - Method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator.Builder
-
设置 JWT 的权限列表 (entitlements 声明)。
- PRIVATE_KEY_FILE_SUFFIX - Static variable in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
-
私钥PEM文件后缀名,值为 ".secret.pem"。
- PUBLIC_KEY_FILE_SUFFIX - Static variable in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
-
公钥PEM文件后缀名,值为 ".public.pem"。
- PUBLIC_KEY_HEADER - Static variable in class io.github.xezzon.zeroweb.auth.JwtFilter
-
公钥的请求头名称。
R
- read(Class) - Static method in class io.github.xezzon.zeroweb.metadata.PermissionConstantUtil
-
读取指定类中定义的公共静态字符串字段,并将其转换为
MenuInfo列表。 - readPrivateKey() - Method in interface io.github.xezzon.zeroweb.core.crypto.ASN1PrivateKeyReader
-
从底层源读取并解析 ASN.1 编码的私钥。
- readPrivateKey() - Method in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
-
从classpath的PEM文件中读取私钥。
- readPrivateKey(ASN1PrivateKeyReader) - Static method in class io.github.xezzon.zeroweb.core.crypto.SecretKeyUtil
-
从提供的
ASN1PrivateKeyReader中读取私钥。 - readPublicKey() - Method in interface io.github.xezzon.zeroweb.core.crypto.ASN1PublicKeyReader
-
读取公钥形式的 ASN.1 数据。
- readPublicKey() - Method in class io.github.xezzon.zeroweb.core.crypto.DerStringReader
-
解码存储的 Base64 字符串,并以字节数组的形式返回原始的 DER 数据。
- readPublicKey() - Method in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
-
从classpath的PEM文件中读取公钥。
- readPublicKey(ASN1PublicKeyReader) - Static method in class io.github.xezzon.zeroweb.core.crypto.SecretKeyUtil
-
从提供的
ASN1PublicKeyReader中读取公钥。 - RedisTemplateFactory - Class in io.github.xezzon.zeroweb.common.redis
-
RedisTemplate的工厂类,用于创建具有特定值类型的RedisTemplate实例。 - RedisTemplateFactory(RedisConnectionFactory) - Constructor for class io.github.xezzon.zeroweb.common.redis.RedisTemplateFactory
-
构造函数,通过注入
RedisConnectionFactory初始化工厂。 - registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - Method in class io.github.xezzon.zeroweb.common.marker.ExcludeDbTrait
-
注册 Bean 定义的回调方法。
- registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - Method in class io.github.xezzon.zeroweb.dict.DictScanner
-
注册 Bean 定义。
- RepeatDataException - Exception Class in io.github.xezzon.zeroweb.common.exception
-
当数据重复时抛出的业务异常,通常是由于唯一键冲突导致。
- RepeatDataException(String) - Constructor for exception class io.github.xezzon.zeroweb.common.exception.RepeatDataException
-
构造一个新的 RepeatDataException 实例。
- ResourceUtil - Class in io.github.xezzon.zeroweb.core.util
-
资源工具类,用于从classpath中获取资源。
- roles(List) - Method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator.Builder
-
设置 JWT 的角色列表 (roles 声明)。
- ROLES_CLAIM - Static variable in class io.github.xezzon.zeroweb.auth.JsonWebToken
-
JWT 中用于存储用户角色的声明(Claim)名称。
- ROOT_ID - Static variable in class io.github.xezzon.zeroweb.common.constant.DatabaseConstant
-
默认ID 用于表示不存在的根节点
- ROUTE - Enum constant in enum class io.github.xezzon.zeroweb.metadata.MenuType
-
路由 路径格式为
/menu/submenu - RpcTrait - Interface in io.github.xezzon.zeroweb.common.marker
-
标记接口,表示实现此接口的类可以通过远程过程调用(RPC)的方式提供或消费功能。
- run(ApplicationArguments) - Method in class io.github.xezzon.zeroweb.dict.DictScanner
-
应用程序启动阶段回调。
S
- SaTokenConfigure - Class in io.github.xezzon.zeroweb.auth
-
Sa-Token 配置类。
- SaTokenConfigure() - Constructor for class io.github.xezzon.zeroweb.auth.SaTokenConfigure
- SecretKeyUtil - Class in io.github.xezzon.zeroweb.core.crypto
-
密钥读写工具类
- serialize(T) - Method in class io.github.xezzon.zeroweb.common.redis.GsonRedisSerializer
-
将给定对象序列化为字节数组。
- SERVER - Enum constant in enum class io.github.xezzon.zeroweb.metadata.ServiceType
-
后端
- SERVER_ERROR_STATUS - Static variable in class io.github.xezzon.zeroweb.common.exception.ErrorCodeConstant
-
服务端错误 HTTP 状态码,通常为 500 Internal Server Error。
- ServiceInfo - Class in io.github.xezzon.zeroweb.metadata
-
服务元数据信息封装类。
- ServiceInfo() - Constructor for class io.github.xezzon.zeroweb.metadata.ServiceInfo
- ServiceType - Enum Class in io.github.xezzon.zeroweb.metadata
-
定义服务的类型,例如前端或后端服务。
- setApplicationContext(ApplicationContext) - Method in class io.github.xezzon.zeroweb.common.context.ApplicationContextProvider
-
实现
ApplicationContextAware接口,由 Spring 容器自动调用。 - setChildren(List) - Method in interface io.github.xezzon.zeroweb.core.tree.ITreeNode
-
设置子级数据
- sign(JwtClaim) - Method in class io.github.xezzon.zeroweb.auth.JsonWebToken.Signer
-
抽象方法:签发 JWT。
- signer(byte[]) - Static method in class io.github.xezzon.zeroweb.auth.JsonWebToken
-
创建一个 JWT 签发器,使用对称密钥进行签名。
- signer(ECPrivateKey) - Static method in class io.github.xezzon.zeroweb.auth.JsonWebToken
-
创建一个 JWT 签发器,使用 ECC 私钥进行签名。
- Signer() - Constructor for class io.github.xezzon.zeroweb.auth.JsonWebToken.Signer
- size() - Method in class io.github.xezzon.zeroweb.core.tree.TreeList
-
返回此树中的根节点数量。
- skip() - Method in record class io.github.xezzon.zeroweb.core.odata.ODataRequestParam
-
Returns the value of the
skiprecord component. - StripedLock - Class in io.github.xezzon.zeroweb.common.concurrent
-
基于
Striped实现的锁提供者,提供本地锁。 - StripedLock() - Constructor for class io.github.xezzon.zeroweb.common.concurrent.StripedLock
- StripedLock.InnerLock - Class in io.github.xezzon.zeroweb.common.concurrent
-
LockAdaptor接口的内部实现,用于处理具体的锁操作。
T
- tableName() - Method in interface io.github.xezzon.zeroweb.test.data.ToSQL
-
申明表名
- TestJwtGenerator - Class in io.github.xezzon.zeroweb.auth
-
为单元测试生成 JWT (JSON Web Token) 的实用工具类。
- TestJwtGenerator.Builder - Class in io.github.xezzon.zeroweb.auth
-
TestJwtGenerator 的 Builder 类,用于构造具有特定声明的 JWT。
- ThreadPoolConfig - Class in io.github.xezzon.zeroweb.common.thread
-
线程池配置类,用于定义和配置应用程序中使用的不同类型的线程池。
- ThreadPoolConfig() - Constructor for class io.github.xezzon.zeroweb.common.thread.ThreadPoolConfig
- timeout(Long) - Method in class io.github.xezzon.zeroweb.auth.JsonWebToken.Signer
-
设置 JWT 的有效期限。
- TIMEOUT_CLAIM - Static variable in class io.github.xezzon.zeroweb.auth.JsonWebToken
-
JWT 中用于存储令牌有效时长的声明(Claim)名称,单位为秒。
- toBytes(String) - Method in class io.github.xezzon.zeroweb.common.grpc.Utf8Marshaller
-
将字符串序列化为 UTF-8 字节数组。
- top() - Method in record class io.github.xezzon.zeroweb.core.odata.ODataRequestParam
-
Returns the value of the
toprecord component. - top(List) - Static method in class io.github.xezzon.zeroweb.core.tree.TreeList
-
从
ITreeNode对象的扁平列表中识别并返回顶层(根)节点。 - topDownList(Collection, int) - Method in interface io.github.xezzon.zeroweb.core.tree.ITreeService
-
自上而下查询列表
- topDownTree(Collection, int) - Method in interface io.github.xezzon.zeroweb.core.tree.ITreeService
-
自上而下查询列表
- toSql(List) - Method in interface io.github.xezzon.zeroweb.test.data.ToSQL
-
将数据转换为 INSERT DML 语句
- ToSQL<T> - Interface in io.github.xezzon.zeroweb.test.data
-
从测试数据生成 INSERT DML 语句的规范
- toString() - Method in record class io.github.xezzon.zeroweb.common.domain.Id
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.xezzon.zeroweb.core.odata.ODataRequestParam
-
Returns a string representation of this record class.
- TraceAspect - Class in io.github.xezzon.zeroweb.common.otlp
-
此切面用于通过 OpenTelemetry 为服务方法自动添加分布式追踪。
- TraceAspect() - Constructor for class io.github.xezzon.zeroweb.common.otlp.TraceAspect
- traceServiceMethods(ProceedingJoinPoint) - Method in class io.github.xezzon.zeroweb.common.otlp.TraceAspect
-
拦截所有被 @Service 注解的类中的方法, 并为这些方法的执行添加 OpenTelemetry 追踪。
- TreeList<T> - Class in io.github.xezzon.zeroweb.core.tree
-
表示一个树形结构,其中节点是
ITreeNode。 - TreeList(List) - Constructor for class io.github.xezzon.zeroweb.core.tree.TreeList
-
使用给定的根节点构造一个新的
TreeList。 - tryLock(String, Supplier) - Method in class io.github.xezzon.zeroweb.common.concurrent.StripedLock.InnerLock
-
尝试获取与给定 ID 关联的锁。
- tryLock(String, Supplier) - Method in interface io.github.xezzon.zeroweb.common.concurrent.LockAdaptor
-
尝试获取锁并执行指定操作。
U
- UNAUTHENTICATED - Static variable in class io.github.xezzon.zeroweb.common.exception.ErrorCodeConstant
-
未认证错误(通常指用户未登录或 Token 无效)。
- UNAUTHORIZED - Static variable in class io.github.xezzon.zeroweb.common.exception.ErrorCodeConstant
-
未授权错误(通常指用户无权访问某个资源或执行某个操作)。
- UNDERSCORE - Static variable in annotation interface io.github.xezzon.zeroweb.common.validator.Alphanumeric
-
特殊字符:下划线 `_`。
- UNKNOWN - Static variable in class io.github.xezzon.zeroweb.common.exception.ErrorCodeConstant
-
未知错误。
- URL_LENGTH - Static variable in class io.github.xezzon.zeroweb.common.constant.DatabaseConstant
-
URL 字段长度
- URL_PROTOCOL_FILE - Static variable in class io.github.xezzon.zeroweb.core.util.ResourceUtil
-
文件URL协议名称
- USER_FULL_NAME - Static variable in class io.github.xezzon.zeroweb.common.otlp.UserSpanAttributeFilter
-
OpenTelemetry Span 属性键:用户全名
- USER_ID - Static variable in class io.github.xezzon.zeroweb.common.otlp.UserSpanAttributeFilter
-
OpenTelemetry Span 属性键:用户 ID
- USER_NAME - Static variable in class io.github.xezzon.zeroweb.common.otlp.UserSpanAttributeFilter
-
OpenTelemetry Span 属性键:用户名
- USER_ROLES - Static variable in class io.github.xezzon.zeroweb.common.otlp.UserSpanAttributeFilter
-
OpenTelemetry Span 属性键:用户角色
- userBuilder() - Static method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator
-
创建一个用于生成用户 JWT 的 Builder 实例。
- username(String) - Method in class io.github.xezzon.zeroweb.auth.TestJwtGenerator.Builder
-
设置 JWT 的用户名 (preferred_username 声明)。
- USERNAME_CLAIM - Static variable in class io.github.xezzon.zeroweb.auth.JsonWebToken
-
JWT 中用于存储用户名的声明(Claim)名称。
- UserSpanAttributeFilter - Class in io.github.xezzon.zeroweb.common.otlp
-
OTLP 用户 Span 属性过滤器。
- UserSpanAttributeFilter() - Constructor for class io.github.xezzon.zeroweb.common.otlp.UserSpanAttributeFilter
- Utf8Marshaller - Class in io.github.xezzon.zeroweb.common.grpc
-
Utf8Marshaller用于在 gRPCMetadata中序列化和反序列化 UTF-8 编码的字符串。 - Utf8Marshaller() - Constructor for class io.github.xezzon.zeroweb.common.grpc.Utf8Marshaller
- UUID - Enum constant in enum class io.github.xezzon.zeroweb.common.config.ZerowebConfig.IdGeneratorEnum
-
使用 Universally Unique Identifier (UUID) 作为 ID 生成策略。
- UuidIdGenerator - Class in io.github.xezzon.zeroweb.common.jpa
-
基于 UUID 的 ID 生成器实现。
- UuidIdGenerator() - Constructor for class io.github.xezzon.zeroweb.common.jpa.UuidIdGenerator
V
- validateWithAccessKey(String, String) - Method in class io.github.xezzon.zeroweb.auth.JwtFilter
-
使用 AccessKey 验证 JWT。
- validateWithPublicKey(String, String) - Method in class io.github.xezzon.zeroweb.auth.JwtFilter
-
使用公钥验证 JWT。
- value() - Element in annotation interface io.github.xezzon.zeroweb.dict.EnableDictScan
-
注解扫描的目标包路径。
- valueOf(String) - Static method in enum class io.github.xezzon.zeroweb.common.config.ZerowebConfig.IdGeneratorEnum
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.xezzon.zeroweb.metadata.MenuType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.xezzon.zeroweb.metadata.ServiceType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.xezzon.zeroweb.common.config.ZerowebConfig.IdGeneratorEnum
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.xezzon.zeroweb.metadata.MenuType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.xezzon.zeroweb.metadata.ServiceType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- writePrivateKey(byte[]) - Method in interface io.github.xezzon.zeroweb.core.crypto.ASN1PrivateKeyWriter
-
将ASN.1形式的私钥写入。
- writePrivateKey(byte[]) - Method in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
-
向classpath的PEM文件中写入私钥。
- writePrivateKey(PrivateKey, ASN1PrivateKeyWriter) - Static method in class io.github.xezzon.zeroweb.core.crypto.SecretKeyUtil
-
将私钥写入到提供的
ASN1PrivateKeyWriter中。 - writePublicKey(byte[]) - Method in interface io.github.xezzon.zeroweb.core.crypto.ASN1PublicKeyWriter
-
将 ASN.1 形式的公钥写入。
- writePublicKey(byte[]) - Method in class io.github.xezzon.zeroweb.core.crypto.PemClasspathReaderAndWriter
-
向classpath的PEM文件中写入公钥。
- writePublicKey(PublicKey, ASN1PublicKeyWriter) - Static method in class io.github.xezzon.zeroweb.core.crypto.SecretKeyUtil
-
将公钥写入到提供的
ASN1PublicKeyWriter中。
Z
- ZEROWEB - Static variable in class io.github.xezzon.zeroweb.common.config.ZerowebConfig
-
ZeroWeb 配置项的前缀,所有相关配置都将以此前缀开始。
- ZerowebBusinessException - Exception Class in io.github.xezzon.zeroweb.common.exception
-
抽象的业务异常基类。
- ZerowebConfig - Class in io.github.xezzon.zeroweb.common.config
-
ZeroWeb 核心配置类,用于管理系统级别的各项配置。
- ZerowebConfig() - Constructor for class io.github.xezzon.zeroweb.common.config.ZerowebConfig
- ZerowebConfig.IdGeneratorEnum - Enum Class in io.github.xezzon.zeroweb.common.config
-
ID 生成策略的枚举值,定义了系统支持的各种 ID 生成方式。
- ZerowebConfig.ZerowebJwtConfig - Class in io.github.xezzon.zeroweb.common.config
-
JWT (JSON Web Token) 的详细配置类。
- ZerowebJwtConfig() - Constructor for class io.github.xezzon.zeroweb.common.config.ZerowebConfig.ZerowebJwtConfig
- ZerowebRuntimeException - Exception Class in io.github.xezzon.zeroweb.common.exception
-
ZeroWeb 自发抛出的运行时异常基类。
- ZerowebRuntimeException(String, Throwable) - Constructor for exception class io.github.xezzon.zeroweb.common.exception.ZerowebRuntimeException
-
构造一个新的
ZerowebRuntimeException,附带指定的详细消息和根本原因。 - ZerowebRuntimeException(Throwable) - Constructor for exception class io.github.xezzon.zeroweb.common.exception.ZerowebRuntimeException
-
构造一个新的
ZerowebRuntimeException,附带指定的根本原因和详细消息 `(cause==null ?
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form