Package sh.ory

Class ProgressRequestBody

java.lang.Object
okhttp3.RequestBody
sh.ory.ProgressRequestBody

public class ProgressRequestBody
extends okhttp3.RequestBody
  • Nested Class Summary

    Nested classes/interfaces inherited from class okhttp3.RequestBody

    okhttp3.RequestBody.Companion
  • Field Summary

    Fields inherited from class okhttp3.RequestBody

    Companion
  • Constructor Summary

    Constructors
    Constructor Description
    ProgressRequestBody​(okhttp3.RequestBody requestBody, ApiCallback callback)  
  • Method Summary

    Modifier and Type Method Description
    long contentLength()  
    okhttp3.MediaType contentType()  
    void writeTo​(okio.BufferedSink sink)  

    Methods inherited from class okhttp3.RequestBody

    create, create, create, create, create, create, create, create, create, create, create, create, create, isDuplex, isOneShot

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProgressRequestBody

      public ProgressRequestBody​(okhttp3.RequestBody requestBody, ApiCallback callback)
  • Method Details

    • contentType

      public okhttp3.MediaType contentType()
      Specified by:
      contentType in class okhttp3.RequestBody
    • contentLength

      public long contentLength() throws IOException
      Overrides:
      contentLength in class okhttp3.RequestBody
      Throws:
      IOException
    • writeTo

      public void writeTo​(okio.BufferedSink sink) throws IOException
      Specified by:
      writeTo in class okhttp3.RequestBody
      Throws:
      IOException