摘要: web.xml配置 XssFilter.java XssHttpServletRequestWrapperNew.java 阅读全文
posted @ 2019-01-03 14:08 大天狗子 阅读(3119) 评论(0) 推荐(0) 编辑
摘要: FileUtil FileType FileStreamUtil 阅读全文
posted @ 2019-01-03 14:00 大天狗子 阅读(448) 评论(0) 推荐(0) 编辑
摘要: RestfulHttpClient.java TrustAllHttpsInitializer.java 阅读全文
posted @ 2019-01-03 13:59 大天狗子 阅读(1544) 评论(0) 推荐(0) 编辑
摘要: QRCodeUtil.java 阅读全文
posted @ 2019-01-03 13:57 大天狗子 阅读(258) 评论(0) 推荐(0) 编辑
摘要: MailUtil.java mail.properties 阅读全文
posted @ 2019-01-03 13:03 大天狗子 阅读(323) 评论(0) 推荐(0) 编辑
摘要: js导出excel java读取excel.txt 阅读全文
posted @ 2019-01-03 13:02 大天狗子 阅读(625) 评论(0) 推荐(0) 编辑
摘要: java执行bat代码.txt 阅读全文
posted @ 2019-01-03 13:02 大天狗子 阅读(1962) 评论(0) 推荐(0) 编辑
摘要: 懒汉模式 线程不安全 懒汉模式 线程安全 饿汉模式 饿汉模式 变种 静态内部类 双重校验锁 枚举 阅读全文
posted @ 2019-01-03 13:01 大天狗子 阅读(349) 评论(0) 推荐(0) 编辑
摘要: ``` pom支持: com.google.zxing core 3.2.0 com.google.zxing javase 3.2.0 工具类支持: package com.example.demo.dao.qrcode; import com.google.zxing.BarcodeFormat; import com.goo... 阅读全文
posted @ 2019-01-03 13:00 大天狗子 阅读(1682) 评论(0) 推荐(0) 编辑
摘要: 分布式系统中,有一些需要使用全局唯一ID的场景,这种时候为了防止ID冲突可以使用36位的UUID,但是UUID有一些缺点,首先他相对比较长,另外UUID一般是无序的。 有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。 阅读全文
posted @ 2019-01-03 12:57 大天狗子 阅读(348) 评论(0) 推荐(0) 编辑