模块 okhttps

类 FilePara


  • public class FilePara
    extends Object
    从以下版本开始:
    2.5.0 从 HttpTask 中分离
    • 方法详细资料

      • toRequestBody

        public okhttp3.RequestBody toRequestBody​(okhttp3.MediaType contentType)
      • getType

        public String getType()
      • getFileName

        public String getFileName()
      • getContent

        public byte[] getContent()
      • getFile

        public File getFile()