Package kubevirt

Class ProgressResponseBody

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class ProgressResponseBody
    extends com.squareup.okhttp.ResponseBody
    • Field Detail

      • responseBody

        private final com.squareup.okhttp.ResponseBody responseBody
      • bufferedSource

        private okio.BufferedSource bufferedSource
    • Method Detail

      • contentType

        public com.squareup.okhttp.MediaType contentType()
        Specified by:
        contentType in class com.squareup.okhttp.ResponseBody
      • contentLength

        public long contentLength()
                           throws java.io.IOException
        Specified by:
        contentLength in class com.squareup.okhttp.ResponseBody
        Throws:
        java.io.IOException
      • source

        public okio.BufferedSource source()
                                   throws java.io.IOException
        Specified by:
        source in class com.squareup.okhttp.ResponseBody
        Throws:
        java.io.IOException
      • source

        private okio.Source source​(okio.Source source)