OkHttpParamsGet
Help you to get Okhttp request params.
How to install
File->Settings->Browse Repositories->OkHttpParamsGet
Support
- Map<String, String>
- Map<String, RequestBody>
- List<MultipartBody.Part>
- MultipartBody.Builder
How to use
- Choose a class.
- Press Alt + P or click the Generate menu choose GetParams.
- Choose a type.
- click ok.
ps
- @Ignore: dont add to params
- @PostFile: post a file
- @PostFiles: post files
These annotations can be in any package
update
- 1.4.0(2017-08-17):
- Auto import class.
- 1.3.0(2017-06-15):
- Update the params name.
- Add get body. This type is return MultipartBody.Builder. You can build a RequestBody and set upload progress listener.
- 1.2.0(2017-03-09):
- Update Id.
- Fix keyboard shortcut cannot use.
- Fix annotations useless bug.
- Fix a AnActionEvents bug. This is because IntelliJ API doesn't allow sharing AnActionEvents between swing events.
- 1.1.0(2017-03-08):
- Optimized the code display
- 1.0(2017-03-08):
- add annotations:
- @Ignore: dont add to params
- @PostFile: post a file
- @PostFiles: post files
- FileInput: upload File class
- add annotations: