索引

A B C D E F G H I J L M N O P R S T U V W X 
常量字段值|所有程序包|所有类和接口

A

addAll(T[]...) - 类中的静态方法 com.ajaxjs.util.CollUtils
将多个数组合并在一起 忽略 null 的数组
AES_decode(String, String) - 类中的方法 com.ajaxjs.util.cryptography.AesCrypto
对使用 AES 加密算法的密文进行解密
AES_encode(String, String) - 类中的方法 com.ajaxjs.util.cryptography.AesCrypto
使用A ES 加密算法经行加密(可逆)
AesCrypto - com.ajaxjs.util.cryptography中的类
AES/DES/3DES/PBE 对称加密/解密 ...
aesDecryptPhone(String, String, String) - 类中的静态方法 com.ajaxjs.util.cryptography.WeiXinCrypto
解密小程序提供的加密数据,返回包含手机号码等信息的 JSON 对象
aesDecryptToString(byte[], byte[], byte[], String) - 类中的静态方法 com.ajaxjs.util.cryptography.WeiXinCrypto
AEAD_AES_256_GCM 解密
any(String, String, Object, Consumer<HttpURLConnection>) - 类中的静态方法 com.ajaxjs.util.http_request.Post
向指定 URL 发送指定方法的请求并返回响应
api(String) - 类中的静态方法 com.ajaxjs.util.http_request.Delete
DELETE API 请求,返回 JSON
api(String) - 类中的静态方法 com.ajaxjs.util.http_request.Get
GET API,返回 JSON
api(String) - 类中的静态方法 com.ajaxjs.util.http_request.Post
调用 API 请求指定的 URL 并返回结果。
api(String, Object) - 类中的静态方法 com.ajaxjs.util.http_request.Post
POST API,返回 JSON
api(String, Object, Consumer<HttpURLConnection>) - 类中的静态方法 com.ajaxjs.util.http_request.Post
POST API,返回 JSON
api(String, Consumer<HttpURLConnection>) - 类中的静态方法 com.ajaxjs.util.http_request.Delete
DELETE API 请求,返回 JSON
api(String, Consumer<HttpURLConnection>) - 类中的静态方法 com.ajaxjs.util.http_request.Get
GET API,返回 JSON
api2bean(String, Class<T>) - 类中的静态方法 com.ajaxjs.util.http_request.Get
 
apiJsonBody(String, Object, Consumer<HttpURLConnection>) - 类中的静态方法 com.ajaxjs.util.http_request.Post
使用POST方法向指定URL发送JSON格式的数据,并返回服务器的响应。
apiList(String) - 类中的静态方法 com.ajaxjs.util.http_request.Get
GET API,返回 JSON List
apiList(String, Consumer<HttpURLConnection>) - 类中的静态方法 com.ajaxjs.util.http_request.Get
GET API,返回 JSON List
apiXML(String) - 类中的静态方法 com.ajaxjs.util.http_request.Get
GET API,返回 XML
apiXML(String, Object) - 类中的静态方法 com.ajaxjs.util.http_request.Post
POST API,返回 XML
apiXML(String, Object, Consumer<HttpURLConnection>) - 类中的静态方法 com.ajaxjs.util.http_request.Post
POST API,返回 XML
apiXML(String, Consumer<HttpURLConnection>) - 类中的静态方法 com.ajaxjs.util.http_request.Get
GET API,返回 XML
args2class(Object[]) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
把参数转换为类对象列表 这个 Java 函数将一个可变参数列表转换为一个类对象列表。
arrayList(E...) - 类中的静态方法 com.ajaxjs.util.CollUtils
数组转换为 List
as(Map<String, String[]>) - 类中的静态方法 com.ajaxjs.util.MapTool
将给定的 map 转换为 Map<String, Object> 类型的结果
as(Map<String, K>, Function<K, T>) - 类中的静态方法 com.ajaxjs.util.MapTool
万能 Map 转换器,为了泛型的转换而设的一个方法,怎么转换在 fn 中处理

B

Base - com.ajaxjs.util.http_request中的类
基础调用,初始化 Connection--配置 Connection--发起请求
Base() - 类的构造器 com.ajaxjs.util.http_request.Base
 
BASE16 - 枚举 中的枚举常量 com.ajaxjs.util.cryptography.SecurityTextType.Encode
 
BASE32 - 枚举 中的枚举常量 com.ajaxjs.util.cryptography.SecurityTextType.Encode
 
BASE58 - 枚举 中的枚举常量 com.ajaxjs.util.cryptography.SecurityTextType.Encode
 
BASE64 - 枚举 中的枚举常量 com.ajaxjs.util.cryptography.SecurityTextType.Encode
 
base64Decode(String) - 类中的静态方法 com.ajaxjs.util.EncodeTools
BASE64 解码
base64Decoder(byte[]) - 类中的静态方法 com.ajaxjs.util.EncodeTools
BASE64 解码 这是核心解码方法,无关编码
base64DecodeToString(String) - 类中的静态方法 com.ajaxjs.util.EncodeTools
BASE64 解码
base64DecodeToStringUtf8(byte[]) - 类中的静态方法 com.ajaxjs.util.EncodeTools
BASE64 解码
base64DecodeToStringUtf8(String) - 类中的静态方法 com.ajaxjs.util.EncodeTools
BASE64 解码
base64Encode(byte[]) - 类中的静态方法 com.ajaxjs.util.EncodeTools
BASE64 编码 这是核心编码方法,无关编码
base64EncodeToString(byte[]) - 类中的静态方法 com.ajaxjs.util.EncodeTools
BASE64 编码
base64EncodeToString(String) - 类中的静态方法 com.ajaxjs.util.EncodeTools
BASE64 编码
base64EncodeToStringUtf8(byte[]) - 类中的静态方法 com.ajaxjs.util.EncodeTools
BASE64 编码
base64EncodeToStringUtf8(String) - 类中的静态方法 com.ajaxjs.util.EncodeTools
BASE64 编码
Base64Helper - com.ajaxjs.util中的类
Base64Helper: 支持链式调用、类型安全、可配置的 Base64 编解码工具(支持 URL-safe)
Base64Helper() - 类的构造器 com.ajaxjs.util.Base64Helper
 
Base64Helper.Mode - com.ajaxjs.util中的枚举
 
BASE91 - 枚举 中的枚举常量 com.ajaxjs.util.cryptography.SecurityTextType.Encode
 
basicCast(Object, Class<T>) - 类中的静态方法 com.ajaxjs.util.ConvertBasicValue
安全地将对象转换为指定的类类型。
basicConvert(Object, Class<?>) - 类中的静态方法 com.ajaxjs.util.ConvertBasicValue
根据送入的类型作适当转换
BatchDownload - com.ajaxjs.util.http_request中的类
批量下载
BatchDownload(String[], String, Supplier<String>) - 类的构造器 com.ajaxjs.util.http_request.BatchDownload
创建图片批量下载
beanToXml(Object) - 类中的静态方法 com.ajaxjs.util.MapTool
将给定的对象转换为 XML 格式的字符串
BOUNDARY - 类中的静态变量 com.ajaxjs.util.http_request.Post
 
BUFFER_SIZE - 类中的静态变量 com.ajaxjs.util.io.StreamHelper
1K 的数据块
byte2String(byte[]) - 类中的静态方法 com.ajaxjs.util.StrUtil
字节转编码为 字符串( UTF-8 编码)
byte2String(String) - 类中的静态方法 com.ajaxjs.util.StrUtil
字符串转为 UTF-8 编码的字符串
byteIndexOf(byte[], byte[]) - 类中的静态方法 com.ajaxjs.util.BytesHelper
在字节数组里查找某个字节数组,找到返回 <=0,未找到返回 -1
byteIndexOf(byte[], byte[], int) - 类中的静态方法 com.ajaxjs.util.BytesHelper
在字节数组里查找某个字节数组,找到返回<=0,未找到返回-1
bytes2output(OutputStream, byte[], boolean, int, int) - 类中的静态方法 com.ajaxjs.util.io.StreamHelper
送入的 byte[] 转换为输出流。
bytes2output(OutputStream, byte[], int, int) - 类中的静态方法 com.ajaxjs.util.io.StreamHelper
送入的 byte[] 转换为输出流。
BytesHelper - com.ajaxjs.util中的类
字节数组工具类
BytesHelper() - 类的构造器 com.ajaxjs.util.BytesHelper
 
bytesToHexStr(byte[]) - 类中的静态方法 com.ajaxjs.util.BytesHelper
byte[] 转化为 16 进制字符串输出

C

calcFileMD5(File, byte[]) - 类中的静态方法 com.ajaxjs.util.MessageDigestHelper
计算文件 MD5
charCount(String, String) - 类中的静态方法 com.ajaxjs.util.StrUtil
统计文本中某个字符串出现的次数
charToByte(char[]) - 类中的静态方法 com.ajaxjs.util.BytesHelper
char 数组转 byte 数组 将 char 数组转换为 byte 数组需要考虑编码方式的问题 ...
Clazz - com.ajaxjs.util.reflect中的类
类相关的反射
Clazz() - 类的构造器 com.ajaxjs.util.reflect.Clazz
 
clone(T) - 类中的静态方法 com.ajaxjs.util.ObjectHelper
对象深度克隆
CollUtils - com.ajaxjs.util中的类
集合工具类
CollUtils() - 类的构造器 com.ajaxjs.util.CollUtils
 
com.ajaxjs.util - 程序包 com.ajaxjs.util
 
com.ajaxjs.util.cryptography - 程序包 com.ajaxjs.util.cryptography
加密解密
com.ajaxjs.util.enums - 程序包 com.ajaxjs.util.enums
EnumsUtil 类提供了一种基于代码检索枚举实例及其关联消息(或其他值)的方法
com.ajaxjs.util.http_request - 程序包 com.ajaxjs.util.http_request
 
com.ajaxjs.util.http_request.model - 程序包 com.ajaxjs.util.http_request.model
 
com.ajaxjs.util.io - 程序包 com.ajaxjs.util.io
File, resource, stream utility package
com.ajaxjs.util.reflect - 程序包 com.ajaxjs.util.reflect
Reflection utility package
CommonUtil - com.ajaxjs.util.cryptography中的类
 
CommonUtil() - 类的构造器 com.ajaxjs.util.cryptography.CommonUtil
 
concat(byte[], byte[]) - 类中的静态方法 com.ajaxjs.util.BytesHelper
合并两个字节数组
concat(T[], T[]) - 类中的静态方法 com.ajaxjs.util.CollUtils
合并两个数组
concatUrl(String, String) - 类中的静态方法 com.ajaxjs.util.StrUtil
连接两个 url 目录字符串,如果没有 / 则加上;如果有则去掉一个
connect(String, String, Consumer<HttpURLConnection>) - 类中的静态方法 com.ajaxjs.util.http_request.Base
联合以上两个方法
connect(HttpURLConnection) - 类中的静态方法 com.ajaxjs.util.http_request.Base
发送请求,返回响应信息
CONTENT_TYPE - 接口中的静态变量 com.ajaxjs.util.http_request.model.HttpConstants
 
CONTENT_TYPE_FORM - 接口中的静态变量 com.ajaxjs.util.http_request.model.HttpConstants
 
CONTENT_TYPE_JSON - 接口中的静态变量 com.ajaxjs.util.http_request.model.HttpConstants
 
ConvertBasicValue - com.ajaxjs.util中的类
尝试转换目标类型,注意并不是所有的类型都可以进行转换
ConvertBasicValue() - 类的构造器 com.ajaxjs.util.ConvertBasicValue
 
convertValue(Object, Class<T>) - 类中的静态方法 com.ajaxjs.util.JsonUtil
Converts an object to another object This method uses ObjectMapper from the Jackson library to convert an object of any type to another type specified by clazz It is primarily used for data type conversion when the specific type is known at runtime
copyFileOrDirectory(String, String) - 类中的静态方法 com.ajaxjs.util.io.FileHelper
复制文件或目录。
copyToString(InputStream) - 类中的静态方法 com.ajaxjs.util.io.StreamHelper
读输入的字节流转换到字符流,将其转换为文本(多行)的字节流转换为字符串
copyToString(InputStream, Charset) - 类中的静态方法 com.ajaxjs.util.io.StreamHelper
读输入的字节流转换到字符流,将其转换为文本(多行)的字节流转换为字符串。
createDirectory(String) - 类中的静态方法 com.ajaxjs.util.io.FileHelper
创建目录。

D

DATE - 类中的静态变量 com.ajaxjs.util.DateHelper
 
DATE_FORMATTER - 类中的静态变量 com.ajaxjs.util.DateHelper
 
DateHelper - com.ajaxjs.util中的类
日期工具类 SimpleDateFormat 不是线程安全的,Java 8 之后尽量使用 java.time.DateTimeFormatter
DateHelper() - 类的构造器 com.ajaxjs.util.DateHelper
 
DATETIME - 类中的静态变量 com.ajaxjs.util.DateHelper
 
DATETIME_FORMATTER - 类中的静态变量 com.ajaxjs.util.DateHelper
 
DATETIME_SHORT - 类中的静态变量 com.ajaxjs.util.DateHelper
 
DATETIME_SHORT_FORMATTER - 类中的静态变量 com.ajaxjs.util.DateHelper
 
decode() - 类中的静态方法 com.ajaxjs.util.Base64Helper
 
DECODE - 枚举 中的枚举常量 com.ajaxjs.util.Base64Helper.Mode
 
decoder() - 类中的方法 com.ajaxjs.util.Base64Helper
 
decryptByPrivateKey(byte[], String) - 类中的静态方法 com.ajaxjs.util.cryptography.RsaCrypto
私钥解密
decryptByPublicKey(byte[], String) - 类中的静态方法 com.ajaxjs.util.cryptography.RsaCrypto
公钥解密
decryptOAEP(String, PrivateKey) - 类中的静态方法 com.ajaxjs.util.cryptography.WeiXinCrypto
解密
decryptPBE(String, byte[], byte[]) - 类中的静态方法 com.ajaxjs.util.cryptography.AesCrypto
PBE 解密
decryptTripleDES(byte[], byte[]) - 类中的静态方法 com.ajaxjs.util.cryptography.AesCrypto
TripleDES(3DES) 解密
deepCopy(Map<T, K>) - 类中的静态方法 com.ajaxjs.util.MapTool
克隆一个 Map 到新的 Map 中, Map 深复制操作
del(String) - 类中的静态方法 com.ajaxjs.util.http_request.Delete
DELETE 请求
del(String, Consumer<HttpURLConnection>) - 类中的静态方法 com.ajaxjs.util.http_request.Delete
DELETE 请求
Delete - com.ajaxjs.util.http_request中的类
DELETE 请求
Delete() - 类的构造器 com.ajaxjs.util.http_request.Delete
 
DELETE - 接口中的静态变量 com.ajaxjs.util.http_request.model.HttpConstants
 
deleteFileOrDirectory(String) - 类中的静态方法 com.ajaxjs.util.io.FileHelper
删除文件或目录。
DES_decode(String, String) - 类中的方法 com.ajaxjs.util.cryptography.AesCrypto
对使用 DES 加密算法的密文进行解密(可逆)
DES_encode(String, String) - 类中的方法 com.ajaxjs.util.cryptography.AesCrypto
使用 DES 加密算法进行加密(可逆)
deserializeToCerts(String, Map<String, Object>) - 类中的静态方法 com.ajaxjs.util.cryptography.CommonUtil
反序列化证书并解密
doCipher(String, int, byte[], AlgorithmParameterSpec, String, byte[]) - 类中的静态方法 com.ajaxjs.util.cryptography.CommonUtil
 
doCipher(String, int, Key, byte[]) - 类中的静态方法 com.ajaxjs.util.cryptography.CommonUtil
进行加密或解密,三步走
doCipher(String, int, Key, byte[], AlgorithmParameterSpec) - 类中的静态方法 com.ajaxjs.util.cryptography.CommonUtil
进行加密或解密,三步走
download(ResponseEntity, String, String) - 类中的静态方法 com.ajaxjs.util.http_request.ResponseHandler
下载文件
download(String, String) - 类中的静态方法 com.ajaxjs.util.http_request.Get
下载二进制文件
download(String, Consumer<HttpURLConnection>, String, String) - 类中的静态方法 com.ajaxjs.util.http_request.Get
下载二进制文件
download(String, Consumer<HttpURLConnection>, String, String) - 类中的静态方法 com.ajaxjs.util.http_request.Post
下载二进制文件

E

EMPTY_PARAMS_MAP - 类中的静态变量 com.ajaxjs.util.ObjectHelper
Dummy Map
EMPTY_STRING - 类中的静态变量 com.ajaxjs.util.StrUtil
空白字符串常量
encode() - 类中的静态方法 com.ajaxjs.util.Base64Helper
 
ENCODE - 枚举 中的枚举常量 com.ajaxjs.util.Base64Helper.Mode
 
encoder() - 类中的方法 com.ajaxjs.util.Base64Helper
 
EncodeTools - com.ajaxjs.util中的类
String URL/Base64 encoder
EncodeTools() - 类的构造器 com.ajaxjs.util.EncodeTools
 
encryptByPrivateKey(byte[], String) - 类中的静态方法 com.ajaxjs.util.cryptography.RsaCrypto
私钥加密
encryptByPublicKey(byte[], String) - 类中的静态方法 com.ajaxjs.util.cryptography.RsaCrypto
公钥加密
encryptOAEP(String, X509Certificate) - 类中的静态方法 com.ajaxjs.util.cryptography.WeiXinCrypto
加密
encryptPBE(String, byte[], String) - 类中的静态方法 com.ajaxjs.util.cryptography.AesCrypto
PBE 加密
encryptTripleDES(byte[], String) - 类中的静态方法 com.ajaxjs.util.cryptography.AesCrypto
TripleDES(3DES) 加密
EnumsUtil - com.ajaxjs.util.enums中的类
EnumsUtil 类提供了一种基于代码检索枚举实例及其关联消息(或其他值)的方法
EnumsUtil() - 类的构造器 com.ajaxjs.util.enums.EnumsUtil
 
ERR_MSG - 类中的静态变量 com.ajaxjs.util.http_request.Base
返回 JSON 时候的 Map 的 key
executeDefault(Object, Method, Object[]) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
通过反射调用接口的默认方法。
executeMethod(Object, Method, Object...) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
调用方法,该方法不会抛出异常
executeMethod(Object, String, Class<?>, Object) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
调用方法。
executeMethod(Object, String, Object...) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
调用方法
executeMethod_Throwable(Object, Method, Object...) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
调用方法
executeStaticMethod(Method, Object...) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
执行静态方法
exists(String) - 类中的静态方法 com.ajaxjs.util.io.FileHelper
检查文件或目录是否存在。

F

FileHelper - com.ajaxjs.util.io中的类
文件操作工具类,提供了一些文件操作的常用方法。
FileHelper() - 类的构造器 com.ajaxjs.util.io.FileHelper
 
findOne(List<T>, Predicate<T>) - 类中的静态方法 com.ajaxjs.util.CollUtils
在给定列表中查找第一个满足条件的元素
findSome(List<T>, Predicate<T>) - 类中的静态方法 com.ajaxjs.util.CollUtils
在给定列表中查找满足条件的所有元素并封装成 List
formatDate(LocalDate) - 类中的静态方法 com.ajaxjs.util.DateHelper
将 LocalDate 转换为字符串。
formatDateTime(LocalDateTime) - 类中的静态方法 com.ajaxjs.util.DateHelper
将 LocalDateTime 转换为字符串。
formatDateTime(Date) - 类中的静态方法 com.ajaxjs.util.DateHelper
将 Date 转换为字符串。
formatTime(LocalTime) - 类中的静态方法 com.ajaxjs.util.DateHelper
将 LocalTime 转换为字符串。
fromJson(String, JavaType) - 类中的静态方法 com.ajaxjs.util.JsonUtil
Converts a JSON string to a Java object.
fromJson(String, Class<T>) - 类中的静态方法 com.ajaxjs.util.JsonUtil
Converts a JSON string to an object of the specified type.

G

generateRandomNumber() - 类中的静态方法 com.ajaxjs.util.RandomTools
 
generateRandomNumber(int) - 类中的静态方法 com.ajaxjs.util.RandomTools
生成一个指定位数的随机整数。
generateRandomNumberOld() - 类中的静态方法 com.ajaxjs.util.RandomTools
 
generateRandomNumberOld(int) - 类中的静态方法 com.ajaxjs.util.RandomTools
生成一个指定位数的随机整数。
generateRandomString() - 类中的静态方法 com.ajaxjs.util.RandomTools
生成指定长度的随机字符,可能包含数字
generateRandomString(int) - 类中的静态方法 com.ajaxjs.util.RandomTools
生成指定长度的随机字符,可能包含数字
generateRandomStringOld(int) - 类中的静态方法 com.ajaxjs.util.RandomTools
生成指定长度的随机字符,可能包含数字 另外一个方法 ...
get(String) - 类中的静态方法 com.ajaxjs.util.http_request.Get
GET 请求,返回文本内容
get(String, Consumer<HttpURLConnection>) - 类中的静态方法 com.ajaxjs.util.http_request.Get
GET 请求,返回文本内容
Get - com.ajaxjs.util.http_request中的类
GET 请求
Get() - 类的构造器 com.ajaxjs.util.http_request.Get
 
GET - 接口中的静态变量 com.ajaxjs.util.http_request.model.HttpConstants
 
GET_JSON - 类中的静态变量 com.ajaxjs.util.http_request.Head
加入 HTTP 头为 JSON
get302redirect(String) - 类中的静态方法 com.ajaxjs.util.http_request.Head
得到 HTTP 302 的跳转地址
getActualClass(Class<?>) - 类中的静态方法 com.ajaxjs.util.reflect.Types
获取实际类
getActualType(Class<?>) - 类中的静态方法 com.ajaxjs.util.reflect.Types
获取如 List<String> 里面的泛型类型
getActualType(Type) - 类中的静态方法 com.ajaxjs.util.reflect.Types
获取泛型类型数组。
getAllSuperClazz(Class<?>) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
 
getAttribute(Node, String) - 类中的静态方法 com.ajaxjs.util.XmlHelper
获取指定的 attribute 值
getBytes() - 类中的方法 com.ajaxjs.util.Base64Helper
 
getClassByInterface(Type) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
已知接口类型,获取它的 class
getClassByName(String) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
根据类名字符串获取类对象
getClassByName(String, Class<T>) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
根据类名字符串获取类对象,可强类型转换类型
getClassName(File, String) - 类中的静态方法 com.ajaxjs.util.io.Resources
Java 类文件 去掉后面的 .class 只留下类名
getClientIp(HttpServletRequest) - 类中的静态方法 com.ajaxjs.util.WebUtils
The ip from browser.
getCode() - 接口中的方法 com.ajaxjs.util.enums.IEntityEnum
 
getCode() - 接口中的方法 com.ajaxjs.util.enums.IEnum
 
getConstructor(Class<T>, Class<?>...) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
获取类的构造器,可以支持重载的构造器(不同参数的构造器) 这个函数用于获取类的构造函数。
getCookie(HttpServletRequest, String) - 类中的静态方法 com.ajaxjs.util.WebUtils
尝试从 Cookie 中提取指定名称的 value
getDeclaredInterface(Class<?>) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
获取某个类的所有接口
getDeclaredMethod(Class<?>, String) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
根据类和方法名获取该类声明的方法
getDeclaredMethodByInterface(Class<?>, String, Object) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
循环 object 向上转型(接口)
getFileNameFromUrl(String) - 类中的静态方法 com.ajaxjs.util.http_request.Get
 
getFileSize(String) - 类中的静态方法 com.ajaxjs.util.http_request.Head
得到资源的文件大小
getFileSize(String) - 类中的静态方法 com.ajaxjs.util.io.FileHelper
获取文件或目录的大小。
getGenericFirstReturnType(Method) - 类中的静态方法 com.ajaxjs.util.reflect.Types
获取方法返回值里面的泛型,如 List<String> 里面的 String,而不是 T。
getGenericReturnType(Method) - 类中的静态方法 com.ajaxjs.util.reflect.Types
获取方法返回值里面的泛型,如 List<String> 里面的 String,而不是 T。
getGMTDate() - 类中的静态方法 com.ajaxjs.util.DateHelper
请求的时间戳,格式必须符合 RFC1123 的日期格式
getHmacSHA1AsBase64(String, String) - 类中的静态方法 com.ajaxjs.util.MessageDigestHelper
 
getHmacSHA256AsBase64(String, String) - 类中的静态方法 com.ajaxjs.util.MessageDigestHelper
 
getInstance() - 类中的静态方法 com.ajaxjs.util.cryptography.AesCrypto
 
getJarDir() - 类中的静态方法 com.ajaxjs.util.io.Resources
获取正在运行的 JAR 文件的目录 如果您在 IDE 中运行代码,则该代码可能会返回项目的根目录
getKey(String, Map<String, byte[]>) - 类中的静态方法 com.ajaxjs.util.cryptography.RsaCrypto
获取指定名称的密钥
getKeyPair(String, int, String, String) - 类中的静态方法 com.ajaxjs.util.cryptography.RsaCrypto
生成密钥对
getKeyPair(KeyPairGenerator, String, String) - 类中的静态方法 com.ajaxjs.util.cryptography.RsaCrypto
生成一对密钥,并返回密钥对的 Base64 编码
getList(List<T>) - 类中的静态方法 com.ajaxjs.util.CollUtils
即使 List 为空(null),也要返回一个空的 List
getLocalIp() - 类中的静态方法 com.ajaxjs.util.WebUtils
获取 IP
getMac(String, String, String) - 类中的静态方法 com.ajaxjs.util.MessageDigestHelper
获取指定算法的 MAC 值(可设密钥)
getMd5(String) - 类中的静态方法 com.ajaxjs.util.MessageDigestHelper
生成字符串的 MD5 哈希值,等价于 DigestUtils.md5DigestAsHex()
getMd5(String, String) - 类中的静态方法 com.ajaxjs.util.MessageDigestHelper
获取字符串的 MD5 值
getMd5AsBase64(String) - 类中的静态方法 com.ajaxjs.util.MessageDigestHelper
生成字符串的 MD5 哈希值,Base64 编码
getMd5AsBase64(String, String) - 类中的静态方法 com.ajaxjs.util.MessageDigestHelper
获取字符串的 MD5 值并转换为 Base64 编码
getMethod(Object, String, Class<?>...) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
根据类、方法的字符串和参数列表获取方法对象,支持重载的方法
getMethod(Object, String, Object...) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
根据方法名称和参数列表查找方法。
getMethodByUpCastingSearch(Class<?>, String, Object) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
根据方法名称和参数列表查找方法。
getMsg() - 接口中的方法 com.ajaxjs.util.enums.IEntityEnum
 
getMsg() - 接口中的方法 com.ajaxjs.util.enums.IEnum
 
getNodeAttribute(Node, String) - 类中的静态方法 com.ajaxjs.util.XmlHelper
获取节点属性值
getNodeText(Node) - 类中的静态方法 com.ajaxjs.util.XmlHelper
获取节点内的文本内容,包括标签
getPrivateKey(Map<String, byte[]>) - 类中的静态方法 com.ajaxjs.util.cryptography.RsaCrypto
获取私钥
getProperties(String) - 类中的静态方法 com.ajaxjs.util.io.Resources
从类路径加载 properties 文件
getPublicKey(Map<String, byte[]>) - 类中的静态方法 com.ajaxjs.util.cryptography.RsaCrypto
获取公钥
getResource(String) - 类中的静态方法 com.ajaxjs.util.io.Resources
可以在 JAR 中获取资源文件 ...
getResourcesFromClass(Class<?>, String) - 类中的静态方法 com.ajaxjs.util.io.Resources
获取当前类目录下的资源文件 测试时候,源码目录没有,要手动复制
getResourcesFromClass(Class<?>, String, boolean) - 类中的静态方法 com.ajaxjs.util.io.Resources
获取当前类目录下的资源文件
getResourcesFromClasspath(String) - 类中的静态方法 com.ajaxjs.util.io.Resources
获取 Classpath 根目录下的资源文件
getResourcesFromClasspath(String, boolean) - 类中的静态方法 com.ajaxjs.util.io.Resources
获取 Classpath 根目录下的资源文件的路径
getResourceText(String) - 类中的静态方法 com.ajaxjs.util.io.Resources
从 classpath 获取资源文件的内容
getResult() - 类中的方法 com.ajaxjs.util.MessageDigestHelper
返回摘要的结果,可选择 Base64 编码或者转换未 Hex 字符串
getRoot(String) - 类中的静态方法 com.ajaxjs.util.XmlHelper
根据给定的 XML 字符串获取根元素
getSecretKey(String, SecureRandom) - 类中的静态方法 com.ajaxjs.util.cryptography.AesCrypto
根据指定算法和安全随机数生成一个秘密密钥,并将其以 Base64 编码的字符串形式返回
getSHA1(String) - 类中的静态方法 com.ajaxjs.util.MessageDigestHelper
生成字符串的 SHA1 哈希值
getSHA256(String) - 类中的静态方法 com.ajaxjs.util.MessageDigestHelper
生成字符串的 SHA256 哈希值
getSocketFactory(KeyManager[]) - 类中的静态方法 com.ajaxjs.util.http_request.SkipSSL
带证书的安全连接
getString() - 类中的方法 com.ajaxjs.util.Base64Helper
 
getString(Charset) - 类中的方法 com.ajaxjs.util.Base64Helper
 
getSuperClassDeclaredFields(Class<?>) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
获取本类及其父类的字段属性(包括 private 的)
getSuperClassDeclaredMethod(Class<?>, String) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
查找对象父类身上指定的方法(注意该方法不需要校验参数类型是否匹配,故有可能不是目标方法,而造成异常,请谨慎使用)
getSuperClassDeclaredMethod(Class<?>, String, Class<?>) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
查找对象父类身上指定的方法
getUnderLayerErr(Throwable) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
获取实际抛出的那个异常对象。
getUnderLayerErrMsg(Throwable) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
获取实际抛出的那个异常对象,并去掉前面的包名。
getUTF8_Bytes(String) - 类中的静态方法 com.ajaxjs.util.StrUtil
 
getValue(Map<String, T>, String, Consumer<T>) - 类中的静态方法 com.ajaxjs.util.MapTool
判断 Map 非空,然后根据 key 获取 value,若 value 非空则作为参数传入函数接口
gzip(HttpURLConnection, InputStream) - 类中的静态方法 com.ajaxjs.util.http_request.ResponseHandler
判断是否为 GZip 格式的输入流并返回相应的输入流 有些网站强制加入 Content-Encoding:gzip,而不管之前的是否有 GZip 的请求

H

hasArgsCon(Class<?>) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
传入的类是否有带参数的构造器 该函数通过传入的类对象,判断该类是否有带参数的构造函数,若有则返回true,否则返回false。
hasText(String) - 类中的静态方法 com.ajaxjs.util.StrUtil
Check whether the given String contains actual text.
head(String) - 类中的静态方法 com.ajaxjs.util.http_request.Head
HEAD 请求
Head - com.ajaxjs.util.http_request中的类
HEAD 请求
Head() - 类的构造器 com.ajaxjs.util.http_request.Head
 
HttpConstants - com.ajaxjs.util.http_request.model中的接口
 

I

IEntityEnum - com.ajaxjs.util.enums中的接口
 
IEnum<T,E> - com.ajaxjs.util.enums中的接口
IEnum
init() - 类中的静态方法 com.ajaxjs.util.cryptography.RsaCrypto
初始化密钥
init() - 类中的静态方法 com.ajaxjs.util.http_request.SkipSSL
全局设置
initBuilder() - 类中的静态方法 com.ajaxjs.util.XmlHelper
XML 转换需要的对象
initHttpConnection(String, String) - 类中的静态方法 com.ajaxjs.util.http_request.Base
HttpURLConnection 工厂函数,对输入的网址进行初始化
initSalt() - 类中的静态方法 com.ajaxjs.util.cryptography.AesCrypto
初始化盐(salt)
input(byte[]) - 类中的方法 com.ajaxjs.util.Base64Helper
 
input(String) - 类中的方法 com.ajaxjs.util.Base64Helper
 
input(String, Charset) - 类中的方法 com.ajaxjs.util.Base64Helper
 
inputStream2Byte(InputStream) - 类中的静态方法 com.ajaxjs.util.io.StreamHelper
使用内存操作流,读取二进制,也就是将流转换为内存的数据。
intList2Arr(List<Integer>) - 类中的静态方法 com.ajaxjs.util.CollUtils
Integer[] 不能直接转 int[],故设置一个函数专门处理之
is404(String) - 类中的静态方法 com.ajaxjs.util.http_request.Head
检测资源是否存在
isEmpty(Object[]) - 类中的静态方法 com.ajaxjs.util.CollUtils
Determine whether the given array is empty: i.e.
isEmpty(Collection<?>) - 类中的静态方法 com.ajaxjs.util.CollUtils
Return true if the supplied Collection is null or empty.
isEmpty(Map<?, ?>) - 类中的静态方法 com.ajaxjs.util.CollUtils
Return true if the supplied Map is null or empty.
isEmptyText(String) - 类中的静态方法 com.ajaxjs.util.StrUtil
 
isMatch(Pattern, String) - 类中的方法 com.ajaxjs.util.RegExpUtils
 
isStaticMethod(Method) - 类中的静态方法 com.ajaxjs.util.reflect.Methods
是否静态方法
isWordOneOfThem(String, String[]) - 类中的静态方法 com.ajaxjs.util.StrUtil
判断一个字符串是否属于指定的字符串数组中
isWordOneOfThem(String, List<String>) - 类中的静态方法 com.ajaxjs.util.StrUtil
判断一个字符串是否属于指定的字符串列表中

J

join(String[], String, String) - 类中的静态方法 com.ajaxjs.util.StrUtil
将字符串数组转为字符串,可自定义分隔符及字符串模板
join(List<String>, String) - 类中的静态方法 com.ajaxjs.util.StrUtil
将字符串列表转为字符串,可自定义分隔符
join(List<String>, String, String) - 类中的静态方法 com.ajaxjs.util.StrUtil
将字符串列表转为字符串,可自定义分隔符及字符串格式化模板
join(Map<String, T>) - 类中的静态方法 com.ajaxjs.util.MapTool
将给定的 Map 对象转换为字符串,使用指定的分隔符将键值对连接起来
join(Map<String, T>, String) - 类中的静态方法 com.ajaxjs.util.MapTool
将 Map 中的值使用指定的分隔符进行拼接。
join(Map<String, T>, String, Function<T, String>) - 类中的静态方法 com.ajaxjs.util.MapTool
Map 转换为 String
join(Map<String, T>, Function<T, String>) - 类中的静态方法 com.ajaxjs.util.MapTool
将指定的 Map 对象转换为字符串,使用指定的分隔符分隔每个元素。
join(T[], String) - 类中的静态方法 com.ajaxjs.util.StrUtil
将数组中的元素使用指定的分隔符连接成一个字符串,并返回连接后的字符串
joinAnyList(List<T>, String) - 类中的静态方法 com.ajaxjs.util.StrUtil
将列表中的元素使用指定的分隔符连接成一个字符串,并返回连接后的字符串
json2list(String, Class<T>) - 类中的静态方法 com.ajaxjs.util.JsonUtil
JSON array string converts to list with Java Bean
json2map(String) - 类中的静态方法 com.ajaxjs.util.JsonUtil
json string converts to map This method is used to convert a JSON string into a Map object with String as the key type and Object as the value type.
json2map(String, Class<T>) - 类中的静态方法 com.ajaxjs.util.JsonUtil
JSON string convert to map with javaBean
json2mapList(String) - 类中的静态方法 com.ajaxjs.util.JsonUtil
 
json2Node(String) - 类中的静态方法 com.ajaxjs.util.JsonUtil
JSON string converts to node
json2sortMap(String, Class<T>) - 类中的静态方法 com.ajaxjs.util.JsonUtil
JSON string converts to map with javaBean This method converts a JSON string into a LinkedHashMap of String keys and JavaBean values.
json2StrMap(String) - 类中的静态方法 com.ajaxjs.util.JsonUtil
Converts a JSON string to a Map object.
JsonUtil - com.ajaxjs.util中的类
Encapsulation of Jackson Library: Conversion Methods Between JSON, Map, Bean, and List.
JsonUtil() - 类的构造器 com.ajaxjs.util.JsonUtil
 

L

leftPad(String, int, String) - 类中的静态方法 com.ajaxjs.util.StrUtil
字符串左填充方法
listDirectoryContents(String) - 类中的静态方法 com.ajaxjs.util.io.FileHelper
列出目录内容。
loadPrivateKey(InputStream) - 类中的静态方法 com.ajaxjs.util.cryptography.CommonUtil
从输入流中加载私钥 该方法首先将输入流中的字节读取到 ByteArrayOutputStream 中,然后将其转换为字符串形式的私钥, 最后调用另一方法loadPrivateKey(String)来解析并返回私钥对象
loadPrivateKey(String) - 类中的静态方法 com.ajaxjs.util.cryptography.CommonUtil
转换为 Java 里面的 PrivateKey 对象
loadPrivateKeyByPath(String) - 类中的静态方法 com.ajaxjs.util.cryptography.CommonUtil
从 classpath 上指定私钥文件的路径
localDate2Date(LocalDate) - 类中的静态方法 com.ajaxjs.util.DateHelper
将 LocalDate类型转换为 Date 类型 此方法用于处理日期转换,将 Java 8 引入的 LocalDate 对象转换为传统的 Date 对象 转换基于系统默认时区,将 LocalDate 的开始时刻视为一天的起点
localDateTime2Date(LocalDateTime) - 类中的静态方法 com.ajaxjs.util.DateHelper
将 LocalDateTime 转换为 Date 对象 此方法用于处理时间数据类型的转换,将 LocalDateTime 对象转换为 Date 对象 主要通过获取当前时区的时区信息,将 LocalDateTime 转换为 Instant 对象,然后转换为 Date

M

map2header(Map<String, ?>) - 类中的静态方法 com.ajaxjs.util.http_request.SetConnection
Map 转化到 HTTP HEAD。
map2pojo(Map<String, Object>, Class<T>) - 类中的静态方法 com.ajaxjs.util.JsonUtil
 
mapOf(int) - 类中的静态方法 com.ajaxjs.util.ObjectHelper
Creates a HashMap with a specified expected number of entries.
mapOf(K, V) - 类中的静态方法 com.ajaxjs.util.ObjectHelper
创建一个新的 HashMap
mapOf(K, V, K, V) - 类中的静态方法 com.ajaxjs.util.ObjectHelper
创建一个新的 HashMap
mapOf(K, V, K, V, K, V) - 类中的静态方法 com.ajaxjs.util.ObjectHelper
创建一个新的 HashMap
MapTool - com.ajaxjs.util中的类
Map 转换工具
MapTool() - 类的构造器 com.ajaxjs.util.MapTool
 
mapToXml(Map<String, ?>) - 类中的静态方法 com.ajaxjs.util.MapTool
将 Map 转换为 XML 格式的字符串
md5(String) - 类中的静态方法 com.ajaxjs.util.MessageDigestHelper
计算一个字符串的 MD5 值
Md5 - 枚举 中的枚举常量 com.ajaxjs.util.cryptography.SecurityTextType.Digest
 
Md5WithSalt - 枚举 中的枚举常量 com.ajaxjs.util.cryptography.SecurityTextType.Digest
 
me - 类中的静态变量 com.ajaxjs.util.cryptography.AesCrypto
 
MessageDigestHelper - com.ajaxjs.util中的类
字符串摘要(哈希)工具类
MessageDigestHelper() - 类的构造器 com.ajaxjs.util.MessageDigestHelper
 
Methods - com.ajaxjs.util.reflect中的类
方法相关的反射
Methods() - 类的构造器 com.ajaxjs.util.reflect.Methods
 
moveFileOrDirectory(String, String) - 类中的静态方法 com.ajaxjs.util.io.FileHelper
移动文件或目录。
multiPOST(String, Map<String, Object>) - 类中的静态方法 com.ajaxjs.util.http_request.Post
多段上传

N

newArray(Class<?>, int) - 类中的静态方法 com.ajaxjs.util.CollUtils
新建一个空数组
newInstance(Class<T>, Object...) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
根据类创建实例,可传入构造器参数。
newInstance(Constructor<T>, Object...) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
根据构造器创建实例 该函数根据给定的构造器和参数列表创建指定类的实例。
newInstance(String, Class<T>) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
根据类全称创建实例,并转换到其接口的类型
newInstance(String, Object...) - 类中的静态方法 com.ajaxjs.util.reflect.Clazz
根据类全称创建实例 该函数根据给定的类全称和参数,使用反射获取类对象并创建相应类型的对象实例。
nodeAsMap(String, String) - 类中的静态方法 com.ajaxjs.util.XmlHelper
将节点所有属性都转换为 map
now() - 类中的静态方法 com.ajaxjs.util.DateHelper
获取当前日期时间(字符串)。
nowDateTime() - 类中的静态方法 com.ajaxjs.util.DateHelper
获取当前日期时间。
nowShort() - 类中的静态方法 com.ajaxjs.util.DateHelper
获取当前日期时间(字符串),格式如

O

oauth(String) - 类中的静态方法 com.ajaxjs.util.http_request.Head
生成一个用于设置 OAuth 认证头的 Consumer 对象
OBJECT_MAPPER - 类中的静态变量 com.ajaxjs.util.JsonUtil
 
object2Date(Object) - 类中的静态方法 com.ajaxjs.util.DateHelper
支持任意对象转换为日期类型
object2double(Object) - 类中的静态方法 com.ajaxjs.util.ConvertBasicValue
转换为 double 类型
object2float(Object) - 类中的静态方法 com.ajaxjs.util.ConvertBasicValue
转换为 float 类型
object2int(Object) - 类中的静态方法 com.ajaxjs.util.ConvertBasicValue
转换为 int 类型
object2long(Object) - 类中的静态方法 com.ajaxjs.util.ConvertBasicValue
转换为 long 类型
ObjectHelper - com.ajaxjs.util中的类
A helper for Java Object.
ObjectHelper() - 类的构造器 com.ajaxjs.util.ObjectHelper
 
of(E, Class<T>) - 类中的静态方法 com.ajaxjs.util.enums.EnumsUtil
根据枚举代码获取对应的枚举对象 此方法用于处理自定义枚举接口的枚举类型,通过比较枚举代码来找到并返回对应的枚举对象 利用泛型方法,允许传入任何实现了 IEnum 接口的枚举类型,并返回该类型的安全 Optional 对象
ofCode(String, Class<T>) - 类中的静态方法 com.ajaxjs.util.enums.EnumsUtil
根据消息获取枚举代码 该方法用于在枚举类中根据消息找到对应的枚举项,并返回该枚举项的代码 如果消息为空或在枚举类中找不到对应的消息,则返回null
ofMsg(E, Class<T>) - 类中的静态方法 com.ajaxjs.util.enums.EnumsUtil
根据枚举代码获取对应的枚举消息 此方法利用泛型方法的类型参数,通过给定的枚举代码和枚举类类型,返回枚举代码对应的消息 如果没有找到对应的枚举项,则返回 null

P

parseDate(String) - 类中的静态方法 com.ajaxjs.util.DateHelper
将字符串解析为 LocalDate。
parseDateTime(String) - 类中的静态方法 com.ajaxjs.util.DateHelper
将字符串解析为 LocalDateTime。
parseDateTimeShort(String) - 类中的静态方法 com.ajaxjs.util.DateHelper
将字符串解析为 LocalDateTime。
parseHexStr2Byte(String) - 类中的静态方法 com.ajaxjs.util.BytesHelper
将16进制转换为二进制
parseStringToMap(String) - 类中的静态方法 com.ajaxjs.util.EncodeTools
字符串转 Map,格式为 xxx=xxx&xxx=xxx
parseTime(String) - 类中的静态方法 com.ajaxjs.util.DateHelper
将字符串解析为 LocalTime。
parseXML(String, BiConsumer<Node, NodeList>) - 类中的静态方法 com.ajaxjs.util.XmlHelper
解析 XML
pojo2map(Object) - 类中的静态方法 com.ajaxjs.util.JsonUtil
Java Bean converts to map This method is used to convert a Java Bean object into a Map object, facilitating operations such as lookup, addition, and deletion It does not require detailed explanation for simple delegation to another overload method
pojo2map(Object, Class<T>) - 类中的静态方法 com.ajaxjs.util.JsonUtil
Java Bean converts to map
post(String, Object) - 类中的静态方法 com.ajaxjs.util.http_request.Post
POST 请求
post(String, Object, Consumer<HttpURLConnection>) - 类中的静态方法 com.ajaxjs.util.http_request.Post
POST 请求
Post - com.ajaxjs.util.http_request中的类
POST 或 PUT 请求
Post() - 类的构造器 com.ajaxjs.util.http_request.Post
 
POST - 接口中的静态变量 com.ajaxjs.util.http_request.model.HttpConstants
 
postFile(String, String, String, byte[], Consumer<HttpURLConnection>) - 类中的静态方法 com.ajaxjs.util.http_request.Post
以POST方法上传文件
print(String, Object...) - 类中的静态方法 com.ajaxjs.util.StrUtil
 
printArray(Object[]) - 类中的静态方法 com.ajaxjs.util.CollUtils
打印数组以便测试
put(String, Object) - 类中的静态方法 com.ajaxjs.util.http_request.Post
PUT 请求
put(String, Object, Consumer<HttpURLConnection>) - 类中的静态方法 com.ajaxjs.util.http_request.Post
PUT 请求
PUT - 接口中的静态变量 com.ajaxjs.util.http_request.model.HttpConstants
 
putApi(String, Object) - 类中的静态方法 com.ajaxjs.util.http_request.Post
PUT API 请求,返回 JSON
putApi(String, Object, Consumer<HttpURLConnection>) - 类中的静态方法 com.ajaxjs.util.http_request.Post
PUT API 请求,返回 JSON
putJsonBody(String, Object, Consumer<HttpURLConnection>) - 类中的静态方法 com.ajaxjs.util.http_request.Post
使用PUT方法向指定URL发送JSON格式的数据,并返回服务器响应。

R

RandomTools - com.ajaxjs.util中的类
Random Tools.
RandomTools() - 类的构造器 com.ajaxjs.util.RandomTools
 
read(InputStream, Charset, Consumer<String>) - 类中的静态方法 com.ajaxjs.util.io.StreamHelper
从输入流中读取数据,并对每行数据应用提供的消费函数
readFileBytes(String) - 类中的静态方法 com.ajaxjs.util.io.FileHelper
通过文件路径读取文件内容并以字节数组形式返回 该方法使用 NIO 文件通道来高效读取文件内容,适用于处理大文件或需要字节级操作的场景
readFileContent(String) - 类中的静态方法 com.ajaxjs.util.io.FileHelper
读取文件内容并返回为字符串。
RegExpUtils - com.ajaxjs.util中的类
正则表达式工具类
RegExpUtils() - 类的构造器 com.ajaxjs.util.RegExpUtils
 
regMatch(String, String) - 类中的静态方法 com.ajaxjs.util.RegExpUtils
使用正则的快捷方式
regMatch(String, String, int) - 类中的静态方法 com.ajaxjs.util.RegExpUtils
使用正则的快捷方式。
regMatchAll(String, String) - 类中的静态方法 com.ajaxjs.util.RegExpUtils
返回所有匹配项
Resources - com.ajaxjs.util.io中的类
 
Resources() - 类的构造器 com.ajaxjs.util.io.Resources
 
ResponseEntity - com.ajaxjs.util.http_request.model中的类
响应消息体
ResponseEntity() - 类的构造器 com.ajaxjs.util.http_request.model.ResponseEntity
 
ResponseHandler - com.ajaxjs.util.http_request中的类
最初结果为 InputStream,怎么处理?
ResponseHandler() - 类的构造器 com.ajaxjs.util.http_request.ResponseHandler
 
RsaCrypto - com.ajaxjs.util.cryptography中的类
RSA 非对称加密/解密
RsaCrypto() - 类的构造器 com.ajaxjs.util.cryptography.RsaCrypto
 
rsaEncrypt(String, String) - 类中的静态方法 com.ajaxjs.util.cryptography.WeiXinCrypto
使用 RSA 加密算法对消息进行加密
rsaSign(PrivateKey, byte[]) - 类中的静态方法 com.ajaxjs.util.cryptography.WeiXinCrypto
对签名数据进行签名。

S

SecurityTextType - com.ajaxjs.util.cryptography中的接口
 
SecurityTextType.Cryptography - com.ajaxjs.util.cryptography中的枚举
 
SecurityTextType.Digest - com.ajaxjs.util.cryptography中的枚举
 
SecurityTextType.Encode - com.ajaxjs.util.cryptography中的枚举
 
SET_COOKIES - 类中的静态变量 com.ajaxjs.util.http_request.SetConnection
设置 cookies
SET_FORM_POST - 类中的静态变量 com.ajaxjs.util.http_request.SetConnection
设置 POST 方式
SET_GZIP_REQUEST - 类中的静态变量 com.ajaxjs.util.http_request.SetConnection
设置启动 GZip 请求
SET_JSON - 类中的静态变量 com.ajaxjs.util.http_request.SetConnection
 
SET_REFERER - 类中的静态变量 com.ajaxjs.util.http_request.SetConnection
请求来源
SET_TIMEOUT - 类中的静态变量 com.ajaxjs.util.http_request.SetConnection
设置超时 (单位:秒)
SET_USER_AGENT - 类中的静态变量 com.ajaxjs.util.http_request.SetConnection
设置客户端识别
SET_USER_AGENT_DEFAULT - 类中的静态变量 com.ajaxjs.util.http_request.SetConnection
默认的客户端识别
SetConnection - com.ajaxjs.util.http_request中的类
为初始化 HTTP Connection 所准备的函数。
SetConnection() - 类的构造器 com.ajaxjs.util.http_request.SetConnection
 
setSSL_Ignore(HttpsURLConnection) - 类中的静态方法 com.ajaxjs.util.http_request.SkipSSL
单次忽略
showPic(String, Consumer<HttpURLConnection>, HttpServletResponse) - 类中的静态方法 com.ajaxjs.util.http_request.Post
显示图片流到浏览器
sign(String, byte[]) - 类中的静态方法 com.ajaxjs.util.cryptography.RsaCrypto
用私钥对信息生成数字签名
sign(String, PrivateKey, byte[]) - 类中的静态方法 com.ajaxjs.util.cryptography.RsaCrypto
 
simpleGET(String) - 类中的静态方法 com.ajaxjs.util.http_request.Get
简单 GET 请求(原始 API 版),返回文本。
simpleTpl(String, Object) - 类中的静态方法 com.ajaxjs.util.StrUtil
简单模板替换方法。
simpleTpl(String, Map<String, Object>) - 类中的静态方法 com.ajaxjs.util.StrUtil
简单模板替换方法。
simpleTpl2(String, Map<String, Object>) - 类中的静态方法 com.ajaxjs.util.StrUtil
简单模板替换方法。
SkipSSL - com.ajaxjs.util.http_request中的类
全局忽略 HTTPS 证书
SkipSSL() - 类的构造器 com.ajaxjs.util.http_request.SkipSSL
 
start() - 类中的方法 com.ajaxjs.util.http_request.BatchDownload
开始下载
stream2Str(ResponseEntity) - 类中的静态方法 com.ajaxjs.util.http_request.ResponseHandler
响应数据转换为文本
StreamHelper - com.ajaxjs.util.io中的类
流操作助手类 如不满足 可参考 Spring StreamUtils/ResourceUtils/FileCopyUtils/FileSystemUtils
StreamHelper() - 类的构造器 com.ajaxjs.util.io.StreamHelper
 
stringArr2intArr(String) - 类中的静态方法 com.ajaxjs.util.CollUtils
当它们每一个都是数字的字符串形式,转换为整形的数组
StrUtil - com.ajaxjs.util中的类
字符串工具类
StrUtil() - 类的构造器 com.ajaxjs.util.StrUtil
 
subBytes(byte[], int, int) - 类中的静态方法 com.ajaxjs.util.BytesHelper
在字节数组中截取指定长度数组

T

TIME - 类中的静态变量 com.ajaxjs.util.DateHelper
常见的日期格式
TIME_FORMATTER - 类中的静态变量 com.ajaxjs.util.DateHelper
 
toBean(ResponseEntity, Class<T>) - 类中的静态方法 com.ajaxjs.util.http_request.ResponseHandler
将 ResponseEntity 响应对象转换为指定类型的对象
toBoolean(Object) - 类中的静态方法 com.ajaxjs.util.ConvertBasicValue
true/1、字符串 true/1/yes/on 被视为 true 返回;false/0/null、字符串 false/0/no/off/null 被视为 false 返回;
toFromData(Map<String, Object>) - 类中的静态方法 com.ajaxjs.util.http_request.Post
Map 转换为 byte
toJavaValue(String) - 类中的静态方法 com.ajaxjs.util.ConvertBasicValue
把字符串还原为 Java 里面的真实值,如 "true"--true,"123"--123,"null"--null
toJson(ResponseEntity) - 类中的静态方法 com.ajaxjs.util.http_request.ResponseHandler
把结果转换为 JSON 对象
toJson(Object) - 类中的静态方法 com.ajaxjs.util.JsonUtil
Converts a Java object to a JSON string.
toJsonList(ResponseEntity) - 类中的静态方法 com.ajaxjs.util.http_request.ResponseHandler
把结果转换为 JSON 对象
toJsonPretty(Object) - 类中的静态方法 com.ajaxjs.util.JsonUtil
Java Bean, list, array converts to pretty json string
toLocalDate(Date) - 类中的静态方法 com.ajaxjs.util.DateHelper
将Date对象转换为LocalDate对象 此方法主要用于将Java传统日期时间API中的Date对象转换为Java 8引入的LocalDate对象 这种转换通常需要考虑时区问题,因此这里使用了getZone方法(假设此方法存在且已实现)来处理时区转换
toLocalDateTime(Date) - 类中的静态方法 com.ajaxjs.util.DateHelper
将Date对象转换为LocalDateTime对象 此方法用于处理时间转换,将一个Date对象(表示特定的瞬间,精确到毫秒) 转换为LocalDateTime对象(表示日期和时间,没有时区信息) 主要用于需要进行日期和时间操作,但不涉及时区的情景
toMap(String[], String[], Function<String, Object>) - 类中的静态方法 com.ajaxjs.util.MapTool
String[] 转换为 Map,key 与 value 分别一个数组
toMap(String[], Function<String, Object>) - 类中的静态方法 com.ajaxjs.util.MapTool
String[] 转换为 Map
toString() - 类中的方法 com.ajaxjs.util.http_request.model.ResponseEntity
返回响应文本结果
toXML(ResponseEntity) - 类中的静态方法 com.ajaxjs.util.http_request.ResponseHandler
把结果转换为 XML 对象
type2class(Type) - 类中的静态方法 com.ajaxjs.util.reflect.Types
Type 接口转换为 Class
Types - com.ajaxjs.util.reflect中的类
 
Types() - 类的构造器 com.ajaxjs.util.reflect.Types
 

U

urlChinese(String) - 类中的静态方法 com.ajaxjs.util.EncodeTools
URL 网址的中文乱码处理。
urlDecode(String) - 类中的静态方法 com.ajaxjs.util.EncodeTools
URL 解码
urlEncode(String) - 类中的静态方法 com.ajaxjs.util.EncodeTools
URL 编码
urlEncodeQuery(String) - 类中的静态方法 com.ajaxjs.util.EncodeTools
URL 编码。
urlEncodeSafe(String) - 类中的静态方法 com.ajaxjs.util.EncodeTools
URL 编码
urlSafe() - 类中的方法 com.ajaxjs.util.Base64Helper
 
UTF8_SYMBOL - 类中的静态变量 com.ajaxjs.util.EncodeTools
UTF-8 字符串而已
uuid() - 类中的静态方法 com.ajaxjs.util.RandomTools
生成一个去掉 "-" 字符的 UUID 字符串
uuid(boolean) - 类中的静态方法 com.ajaxjs.util.RandomTools
生成一个 UUID,可选择是否去掉其中的 "-" 符号(Copy from Spring,Spring 提供的算法性能远远高于 JDK 的)

V

valueOf(String) - 枚举中的静态方法 com.ajaxjs.util.Base64Helper.Mode
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举中的静态方法 com.ajaxjs.util.cryptography.SecurityTextType.Cryptography
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举中的静态方法 com.ajaxjs.util.cryptography.SecurityTextType.Digest
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举中的静态方法 com.ajaxjs.util.cryptography.SecurityTextType.Encode
返回带有指定名称的该类型的枚举常量。
values() - 枚举中的静态方法 com.ajaxjs.util.Base64Helper.Mode
返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举中的静态方法 com.ajaxjs.util.cryptography.SecurityTextType.Cryptography
返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举中的静态方法 com.ajaxjs.util.cryptography.SecurityTextType.Digest
返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举中的静态方法 com.ajaxjs.util.cryptography.SecurityTextType.Encode
返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同
verify(byte[], String, String) - 类中的静态方法 com.ajaxjs.util.cryptography.RsaCrypto
校验数字签名

W

WebUtils - com.ajaxjs.util中的类
Web 工具类
WebUtils() - 类的构造器 com.ajaxjs.util.WebUtils
 
WeiXinCrypto - com.ajaxjs.util.cryptography中的类
证书和回调报文解密
WeiXinCrypto() - 类的构造器 com.ajaxjs.util.cryptography.WeiXinCrypto
 
withoutPadding() - 类中的方法 com.ajaxjs.util.Base64Helper
 
write(InputStream, OutputStream) - 类中的静态方法 com.ajaxjs.util.io.StreamHelper
 
write(InputStream, OutputStream, boolean) - 类中的静态方法 com.ajaxjs.util.io.StreamHelper
两端速度不匹配,需要协调 理想环境下,速度一样快,那就没必要搞流,直接一坨给弄过去就可以了 流的意思很形象,就是一点一滴的,不是一坨坨大批量的 带缓冲的一入一出 出是字节流,所以要缓冲(字符流自带缓冲,所以不需要额外缓冲) 请注意,改方法不会关闭流 close,你需要手动关闭
writeFileContent(String, String) - 类中的静态方法 com.ajaxjs.util.io.FileHelper
将字符串内容写入文件。

X

XmlHelper - com.ajaxjs.util中的类
XML 处理工具类 ...
XmlHelper() - 类的构造器 com.ajaxjs.util.XmlHelper
 
xmlToMap(String) - 类中的静态方法 com.ajaxjs.util.MapTool
XML 格式字符串转换为 Map
XOR(int, String) - 类中的静态方法 com.ajaxjs.util.cryptography.CommonUtil
使用异或操作对结果进行加密或解密。
XOR_decode(String, String) - 类中的静态方法 com.ajaxjs.util.cryptography.CommonUtil
使用异或进行解密
XOR_encode(String, String) - 类中的静态方法 com.ajaxjs.util.cryptography.CommonUtil
使用异或操作符对字符串进行简单加密。
xPath(String, String, Consumer<Node>) - 类中的静态方法 com.ajaxjs.util.XmlHelper
获取某个节点
A B C D E F G H I J L M N O P R S T U V W X 
常量字段值|所有程序包|所有类和接口