https://github.com/myibu/springboot-simple-httpclient
support to use simple httpclient in springboot with annotation
https://github.com/myibu/springboot-simple-httpclient
feign springboot
Last synced: 2 months ago
JSON representation
support to use simple httpclient in springboot with annotation
- Host: GitHub
- URL: https://github.com/myibu/springboot-simple-httpclient
- Owner: myibu
- Created: 2021-04-02T04:27:46.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-17T19:40:54.000Z (about 5 years ago)
- Last Synced: 2024-11-15T06:55:40.898Z (over 1 year ago)
- Topics: feign, springboot
- Language: Java
- Homepage:
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# springboot-simple-httpclient
support to use simple httpclient in springboot with annotation
## Implements
Scan interface with HttpClient annotated, then use simple httpclient to create beans in spring framework.
## Installation
```bash
com.github.myibu
springboot-simple-httpclient
1.0.0
```
## Examples
Assume than you have defined a interface annotated with HttpClient annotation as following:
```java
@SpringBootAppliction
@EnableHttpClient
public class App {
public static main(String[] args) {
SpringApplication.run(App.class, args);
}
}
```