public static class RepeatableInputStreamEntity.NoAutoClosedInputStreamEntity
extends org.apache.http.entity.AbstractHttpEntity
构造器和说明 |
---|
RepeatableInputStreamEntity.NoAutoClosedInputStreamEntity(InputStream instream,
long length) |
限定符和类型 | 方法和说明 |
---|---|
InputStream |
getContent() |
long |
getContentLength() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
writeTo(OutputStream outstream) |
public RepeatableInputStreamEntity.NoAutoClosedInputStreamEntity(InputStream instream, long length)
public boolean isRepeatable()
public long getContentLength()
public InputStream getContent() throws IOException
IOException
public void writeTo(OutputStream outstream) throws IOException
IOException
public boolean isStreaming()
Copyright © 2019. All Rights Reserved.