
------ Utils
__静禅__
这个作者很懒,什么都没留下…
展开
-
Cookie --- 工具类
package util;import java.io.UnsupportedEncodingException;import java.net.URLDecoder;import java.net.URLEncoder;import javax.servlet.http.Cookie;import javax.servlet.http.HttpServletRequest;im...原创 2018-03-17 16:31:24 · 210 阅读 · 0 评论 -
SnowFlake --- 分布式id生成算法工具类
参考资料:http://blog.youkuaiyun.com/ka_ka314/article/details/79594485 package util;import java.lang.management.ManagementFactory;import java.net.InetAddress;import java.net.NetworkInterface;/** *...原创 2018-03-17 18:37:20 · 1463 阅读 · 4 评论 -
HttpClient --- https工具类
package util;import java.io.IOException;import java.security.GeneralSecurityException;import java.security.cert.CertificateException;import java.security.cert.X509Certificate;import java.text.P...原创 2018-03-17 20:49:23 · 815 阅读 · 0 评论 -
HttpClient --- HttpClientTool工具类
package com.isoftstone.core.util;import java.io.IOException;import java.io.InterruptedIOException;import java.net.UnknownHostException;import javax.net.ssl.SSLException;import javax.net.ssl.SS...转载 2018-02-05 15:21:57 · 1494 阅读 · 0 评论 -
手机号码校验工具类
package util;import java.util.regex.Matcher;import java.util.regex.Pattern;import java.util.regex.PatternSyntaxException;public class PhoneFormatCheckUtils { /** * 大陆号码或香港号码均可 ...原创 2018-03-17 16:30:06 · 1128 阅读 · 0 评论 -
SpringBoot --- 阿里大于发送短信工具类
package cn.itcast.sms;import com.aliyuncs.DefaultAcsClient;import com.aliyuncs.IAcsClient;import com.aliyuncs.dysmsapi.model.v20170525.QuerySendDetailsRequest;import com.aliyuncs.dysmsapi.model....原创 2018-03-17 16:29:54 · 493 阅读 · 0 评论