OkHttpParamsGet

Additional

Language
Java
Version
N/A
Created
Mar 7, 2017
Updated
Aug 17, 2017
Owner
kingwang666
Contributor
kingwang666
1
Activity
Badge
Generate
Download
Source code

Show card

OkHttpParamsGet

Help you to get Okhttp request params.

How to install

File->Settings->Browse Repositories->OkHttpParamsGet

Support

  1. Map<String, String>
  2. Map<String, RequestBody>
  3. List<MultipartBody.Part>
  4. MultipartBody.Builder

How to use

  1. Choose a class.
  2. Press Alt + P or click the Generate menu choose GetParams.
  3. Choose a type.
  4. 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):
    1. Auto import class.
  • 1.3.0(2017-06-15):
    1. Update the params name.
    2. 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):
    1. Update Id.
    2. Fix keyboard shortcut cannot use.
    3. Fix annotations useless bug.
    4. Fix a AnActionEvents bug. This is because IntelliJ API doesn't allow sharing AnActionEvents between swing events.
  • 1.1.0(2017-03-08):
    1. Optimized the code display
  • 1.0(2017-03-08):
    1. add annotations:
      1. @Ignore: dont add to params
      2. @PostFile: post a file
      3. @PostFiles: post files
    2. FileInput: upload File class

url

OkHttpParamsGet