模块 okhttps

类 FixedRequestBody

  • 直接已知子类:
    ProcessRequestBody

    public class FixedRequestBody
    extends okhttp3.RequestBody
    • 构造器详细资料

      • FixedRequestBody

        public FixedRequestBody​(okhttp3.RequestBody requestBody)
    • 方法详细资料

      • contentLength

        public long contentLength()
                           throws IOException
        覆盖:
        contentLength 在类中 okhttp3.RequestBody
        抛出:
        IOException
      • isDuplex

        public boolean isDuplex()
        覆盖:
        isDuplex 在类中 okhttp3.RequestBody
      • isOneShot

        public boolean isOneShot()
        覆盖:
        isOneShot 在类中 okhttp3.RequestBody
      • contentType

        public okhttp3.MediaType contentType()
        指定者:
        contentType 在类中 okhttp3.RequestBody
      • writeTo

        public void writeTo​(okio.BufferedSink sink)
                     throws IOException
        指定者:
        writeTo 在类中 okhttp3.RequestBody
        抛出:
        IOException