会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
全力以赴001
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
198
下一页
2019年10月17日
spring-retry 重试机制的使用
摘要: 场景:由于网络抖动原因,或者其他原因,需要对代码重新执行,这个就需要重试了。 其他使用方法:https://blog.csdn.net/easy_to_know/article/details/86611839
阅读全文
posted @ 2019-10-17 14:54 全力以赴001
阅读(2133)
评论(0)
推荐(0)
2019年10月16日
spring Valid @Pattern 常见的验证表达式
摘要: 1 匹配首尾空格的正则表达式:(^\s*)|(\s*$) 2 整数或者小数:^[0-9]+\.{0,1}[0-9]{0,2}$ 3 只能输入数字:"^[0-9]*$"。 4 只能输入n位的数字:"^\d{n}$"。 5 只能输入至少n位的数字:"^\d{n,}$"。 6 只能输入m~n位的数字:。"^\d{m,n}$" 7 只能输入零和非零开头的数字:"^(0|[1-9][0-9]*)$"。 8
阅读全文
posted @ 2019-10-16 12:08 全力以赴001
阅读(21156)
评论(0)
推荐(1)
spring boot 全局异常处理
摘要: import cn.sisyphe.framework.web.exception.DataException; import lombok.extern.slf4j.Slf4j; import org.springframework.http.HttpStatus; import org.springframework.http.converter.HttpMessageConversionEx
阅读全文
posted @ 2019-10-16 10:57 全力以赴001
阅读(440)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
198
下一页
公告