public class PostInputStream extends InputStream
| 限定符和类型 | 字段和说明 |
|---|---|
private InputStream |
inputStream |
private int |
remaining |
| 构造器和说明 |
|---|
PostInputStream(InputStream inputStream,
int contentLength) |
private InputStream inputStream
private int remaining
public PostInputStream(InputStream inputStream, int contentLength)
public int read(byte[] b,
int off,
int len)
throws IOException
read 在类中 InputStreamIOExceptionpublic int available()
available 在类中 InputStreampublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 InputStreamIOExceptionpublic int read()
throws IOException
read 在类中 InputStreamIOExceptionCopyright © 2023. All rights reserved.