public class ChunkedInputStreamEntity
extends org.apache.http.entity.BasicHttpEntity
ChunkedInputStreamEntity.ReleasableInputStreamEntity and sends its content using chunked
encoding.| 限定符和类型 | 类和说明 |
|---|---|
static class |
ChunkedInputStreamEntity.ReleasableInputStreamEntity
A releaseable HTTP entity that can control its inner inputstream's
auto-close functionality on/off, and it will try to close its inner
inputstream by default when the inputstream reaches EOF.
|
| 构造器和说明 |
|---|
ChunkedInputStreamEntity(ServiceClient.Request request) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isChunked() |
boolean |
isRepeatable() |
void |
writeTo(OutputStream output) |
getContent, getContentLength, isStreaming, setContent, setContentLengthpublic ChunkedInputStreamEntity(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.