![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
Nthforever
nothing is forever but try everything!
展开
-
spring.dao层异常体系
原创 2019-01-16 15:39:26 · 326 阅读 · 0 评论 -
巧用Hibernate Validator校验日期格式
首先申明这是个野路子Hibernate validator常用注解中并没有提供直接校验日期格式的注解,所以,一般都是通过自定义校验器。但是,作为一个懒人,不想写那么多代码…直接上代码controller层@RequestMapping(value = "/demo2") @ResponseBody public String demo2(@RequestBody @Vali...原创 2019-05-16 19:42:18 · 13139 阅读 · 7 评论 -
Spring中restTemplate忽略https证书的代码实现
package myapp.util; import org.jetbrains.annotations.NotNull; import org.springframework.http.client.SimpleClientHttpRequestFactory; import org.springframework.web.client.RestTemplate; import...转载 2019-07-31 09:11:13 · 3469 阅读 · 1 评论