private static class HttpComponentsStreamingClientHttpRequest.StreamingHttpEntity
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private StreamingHttpOutputMessage.Body |
body |
private HttpHeaders |
headers |
Constructor and Description |
---|
StreamingHttpEntity(HttpHeaders headers,
StreamingHttpOutputMessage.Body body) |
Modifier and Type | Method and Description |
---|---|
void |
consumeContent()
Deprecated.
|
java.io.InputStream |
getContent() |
Header |
getContentEncoding() |
long |
getContentLength() |
Header |
getContentType() |
boolean |
isChunked() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
writeTo(java.io.OutputStream outputStream) |
private final HttpHeaders headers
private final StreamingHttpOutputMessage.Body body
public StreamingHttpEntity(HttpHeaders headers, StreamingHttpOutputMessage.Body body)
public boolean isRepeatable()
public boolean isChunked()
public long getContentLength()
public Header getContentType()
public Header getContentEncoding()
public java.io.InputStream getContent() throws java.io.IOException, java.lang.IllegalStateException
java.io.IOException
java.lang.IllegalStateException
public void writeTo(java.io.OutputStream outputStream) throws java.io.IOException
java.io.IOException
public boolean isStreaming()
@Deprecated public void consumeContent() throws java.io.IOException
java.io.IOException