Comments (3)
小伙子,我没明白你的意思,你是遇到什么问题了?
from easyhttp.
你可能有些理解错误,@HttpIgnore 这个注解是忽略参数的意思,而你的意思应该是,Java 的命名不能带横杆,但是你可以用 @HttpRename 注解,下面是使用案例:
public final class XxxApi implements IRequestApi {
/** 搜索关键字 */
@HttpRename("access-token")
private String token;
}
from easyhttp.
如果没有什么问题我就关闭 issue 了,如果还有疑问或者不懂欢迎再打开此 issue。
from easyhttp.
Related Issues (20)
- [Bug]:MMKV升级成1.3.2版本报错 HOT 7
- [Bug]:在AndroidProject Demo中搭配此库成功调用返回后,Object转型失败 HOT 1
- [疑惑]:业务场景:服务器双token形式,access_token失效了服务器会从接口返回新的access_token,客户端保存后要再次调用该接口获取数据 HOT 1
- [疑惑]:为啥不用OKhttp自带的okhttp3.Interceptor HOT 5
- [建议]:希望增加每个http请求可以自定义输入日志。 HOT 3
- [疑惑]:处理后台返回来的数据,想按String的类型来返回。 HOT 3
- [疑惑]:okhttp能够使用最新版本(4.x.x)吗? HOT 2
- [Bug]:读取缓存失败 HOT 2
- [Bug]:读取缓存失败 HOT 3
- [疑惑]:请教下,我们的框架上传文件支持文件file和参数一起上传吗 HOT 3
- [建议]:newWebSocket HOT 1
- [疑惑]:请问使用128位加密请求接口,请文在哪进行拦截 ,使用的框架版本是10.2 HOT 1
- [疑惑]:请求数据接口加密和接口返回数据解密在哪进行拦截? HOT 3
- [疑惑]:异步HTTP请求完成后如何渲染数据 HOT 2
- [疑惑]:其实不用传入setLifecycleOwner对象的 HOT 3
- [疑惑]:我在APP里面集成了easyHttp,然后集成了一个第三方库,也集成了easyHttp 应该怎么分别调用 HOT 2
- [疑惑]:后端需要一个参数值为 null,但是设置为 null 后参数不会提交给后台 HOT 3
- [疑惑]:看文档介绍该框架是支持Android API 14及以上即可,我的设备是API 19的(Android4.4.2),但是使用此框架访问接口报了这个错误 HOT 5
- [Bug]:请求头参数的字母被转成小写了 HOT 2
- [建议]:是否支持文件上传断点续传 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easyhttp.