Skip to content

kingwang666/OkHttpParamsGet

Repository files navigation

OkHttpParamsGet

中文
Help you to get Okhttp request params. Support Kotlin.
This is IntelliJ IDEA and Android Studio plugins. If you need gradle plugins please click.

About this project

This project is a plugin that help you to get Okhttp request params.
Homepage | Github

Support

  1. Map<String, String>
  2. Map<String, Object>
  3. Map<String, RequestBody>
  4. List<MultipartBody.Part>
  5. 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.

Annotations

These annotations can be in any package

  • @Ignore: dont add to params
  • @PostFile: post file. Support single, list, array and map
  • @ParamName: custom param name
  • @PostFiles: post files. Removed use @PostFile
  • @Key: post file key
  • @Filename: post file filename
  • @MimeType: post file mime-type
  • @Data: post file data.

How to install

File->Settings->Browse Repositories->OkHttpParamsGet

Packages

No packages published