Class IServerStreamRequestBody


  • public class IServerStreamRequestBody
    extends okhttp3.RequestBody
    • Constructor Summary

      Constructors 
      Constructor Description
      IServerStreamRequestBody​(okhttp3.MediaType contentType, java.io.InputStream inputStream)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      okhttp3.MediaType contentType()  
      void writeTo​(okio.BufferedSink sink)  
      • Methods inherited from class okhttp3.RequestBody

        contentLength, 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 Detail

      • IServerStreamRequestBody

        public IServerStreamRequestBody​(okhttp3.MediaType contentType,
                                        java.io.InputStream inputStream)
    • Method Detail

      • contentType

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

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