java.lang.Object
java.io.InputStream
com.ejlchina.okhttps.internal.ProcessInputStream
- 所有已实现的接口:
Closeable,AutoCloseable
-
构造器概要
构造器构造器说明ProcessInputStream(InputStream input, Consumer<Process> onProcess, long totalBytes, long stepBytes, long doneBytes, Executor callbackExecutor) -
方法概要
从类继承的方法 java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
构造器详细资料
-
ProcessInputStream
public ProcessInputStream(InputStream input, Consumer<Process> onProcess, long totalBytes, long stepBytes, long doneBytes, Executor callbackExecutor)
-
-
方法详细资料
-
read
- 指定者:
read在类中InputStream- 抛出:
IOException
-
read
- 覆盖:
read在类中InputStream- 抛出:
IOException
-
available
- 覆盖:
available在类中InputStream- 抛出:
IOException
-
close
- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 覆盖:
close在类中InputStream- 抛出:
IOException
-