![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
一真居士
雕琢自身,重在忍耐。
展开
-
Spring中访问Restful接口
目录 Spring中调用Restful接口 RestTemplate 简介 使用 AsyncRestTemplate 简介 使用 注意 Spring中调用Restful接口 RestTemplate 简介 RestTemplate类可用于在应用中调用rest服务,它简化了与http服务的通信方式,统一了RESTful的标准,封装了http链接, 我们只需要传入url及返回...原创 2019-11-27 17:55:46 · 1157 阅读 · 0 评论 -
SpringBoot中使用基于注解的AOP
依赖 在pom中添加一下依赖: <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>1.9.1</version> </dependency>...原创 2019-11-19 19:28:44 · 974 阅读 · 0 评论