public class RepeatableInputStreamEntity
extends org.apache.http.entity.BasicHttpEntity
Modifier and Type | Class and Description |
---|---|
static class |
RepeatableInputStreamEntity.NoAutoClosedInputStreamEntity
The default entity org.apache.http.entity.InputStreamEntity will close
input stream after wirteTo was called.
|
Constructor and Description |
---|
RepeatableInputStreamEntity(ServiceClient.Request request) |
Modifier and Type | Method and Description |
---|---|
boolean |
isChunked() |
boolean |
isRepeatable() |
void |
writeTo(OutputStream output) |
getContent, getContentLength, isStreaming, setContent, setContentLength
public RepeatableInputStreamEntity(ServiceClient.Request request)
public boolean isChunked()
isChunked
in interface org.apache.http.HttpEntity
isChunked
in class org.apache.http.entity.AbstractHttpEntity
public boolean isRepeatable()
isRepeatable
in interface org.apache.http.HttpEntity
isRepeatable
in class org.apache.http.entity.BasicHttpEntity
public void writeTo(OutputStream output) throws IOException
writeTo
in interface org.apache.http.HttpEntity
writeTo
in class org.apache.http.entity.BasicHttpEntity
IOException
Copyright © 2021. All Rights Reserved.