| Package | Description |
|---|---|
| cn.orionsec.kit.lang.define.wrapper | |
| cn.orionsec.kit.lang.utils |
| Modifier and Type | Method and Description |
|---|---|
static <T> RpcWrapper<T> |
RpcWrapper.of(CodeInfo info)
定义 RpcWrapper
|
static <T> HttpWrapper<T> |
HttpWrapper.of(CodeInfo info)
定义 HttpWrapper
|
static <T> RpcWrapper<T> |
RpcWrapper.of(CodeInfo info,
T data) |
static <T> HttpWrapper<T> |
HttpWrapper.of(CodeInfo info,
T data) |
| Constructor and Description |
|---|
HttpWrapper(CodeInfo info) |
HttpWrapper(CodeInfo info,
T data) |
RpcWrapper(CodeInfo info) |
RpcWrapper(CodeInfo info,
T data) |
| Modifier and Type | Method and Description |
|---|---|
static HttpWrapperException |
Exceptions.httpWrapper(CodeInfo code) |
static HttpWrapperException |
Exceptions.httpWrapper(CodeInfo code,
Throwable t) |
static RpcWrapperException |
Exceptions.rpcWrapper(CodeInfo code) |
static RpcWrapperException |
Exceptions.rpcWrapper(CodeInfo code,
Throwable t) |
Copyright © 2025. All rights reserved.