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, setContentLength
public ChunkedInputStreamEntity(ServiceClient.Request request)
public boolean isChunked()
isChunked
在接口中 org.apache.http.HttpEntity
isChunked
在类中 org.apache.http.entity.AbstractHttpEntity
public boolean isRepeatable()
isRepeatable
在接口中 org.apache.http.HttpEntity
isRepeatable
在类中 org.apache.http.entity.BasicHttpEntity
public void writeTo(OutputStream output) throws IOException
writeTo
在接口中 org.apache.http.HttpEntity
writeTo
在类中 org.apache.http.entity.BasicHttpEntity
IOException
Copyright © 2019. All Rights Reserved.