autowireble-http:受Retrofit for Spring IoC Container启发的HTTP客户端库

时间:2021-04-30 09:08:21
【文件属性】:
文件名称:autowireble-http:受Retrofit for Spring IoC Container启发的HTTP客户端库
文件大小:25KB
文件格式:ZIP
更新时间:2021-04-30 09:08:21
Java Autowireble-http Autowireble-http是受启发的Spring IoC容器的HTTP客户端库。 通过Autowireble-http,仅通过定义一个接口就可以轻松地使autowireble组件执行http请求。 仍然是0.1.0版,因此有很多事情要做。 始终欢迎任何反馈以及请求请求。 用法 步骤1 创建带有AutowirebleHttp批注的接口。 package com.tmyjoe.httpcomponent @AutowirebleHttp public interface GithubService { @GET ( " /repos/:owner/:repo " ) @Scheme ( " https " ) @Host ( " api.github.com " ) HttpResponse getRepository ( @P
【文件预览】:
autowireble-http-master
----pom.xml(3KB)
----src()
--------test()
--------main()
----README.md(2KB)

网友评论