public class RepeatableInputStreamEntity
extends org.apache.http.entity.BasicHttpEntity
| 限定符和类型 | 类和说明 |
|---|---|
static class |
RepeatableInputStreamEntity.NoAutoClosedInputStreamEntity
The default entity org.apache.http.entity.InputStreamEntity will close
input stream after wirteTo was called.
|
| 构造器和说明 |
|---|
RepeatableInputStreamEntity(ServiceClient.Request request) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isChunked() |
boolean |
isRepeatable() |
void |
writeTo(OutputStream output) |
getContent, getContentLength, isStreaming, setContent, setContentLengthpublic RepeatableInputStreamEntity(ServiceClient.Request request)
public boolean isChunked()
isChunked 在接口中 org.apache.http.HttpEntityisChunked 在类中 org.apache.http.entity.AbstractHttpEntitypublic boolean isRepeatable()
isRepeatable 在接口中 org.apache.http.HttpEntityisRepeatable 在类中 org.apache.http.entity.BasicHttpEntitypublic void writeTo(OutputStream output) throws IOException
writeTo 在接口中 org.apache.http.HttpEntitywriteTo 在类中 org.apache.http.entity.BasicHttpEntityIOExceptionCopyright © 2020. All Rights Reserved.