public class MultipartNoLengthCheckHttpEntity extends Object implements org.apache.http.HttpEntity
| Constructor and Description |
|---|
MultipartNoLengthCheckHttpEntity(org.apache.http.HttpEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
void |
consumeContent()
Deprecated.
|
InputStream |
getContent() |
org.apache.http.Header |
getContentEncoding() |
long |
getContentLength() |
org.apache.http.Header |
getContentType() |
boolean |
isChunked() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
writeTo(OutputStream outputStream) |
public MultipartNoLengthCheckHttpEntity(org.apache.http.HttpEntity entity)
public boolean isRepeatable()
isRepeatable in interface org.apache.http.HttpEntitypublic boolean isChunked()
isChunked in interface org.apache.http.HttpEntitypublic long getContentLength()
getContentLength in interface org.apache.http.HttpEntitypublic org.apache.http.Header getContentType()
getContentType in interface org.apache.http.HttpEntitypublic org.apache.http.Header getContentEncoding()
getContentEncoding in interface org.apache.http.HttpEntitypublic InputStream getContent() throws IOException, IllegalStateException
getContent in interface org.apache.http.HttpEntityIOExceptionIllegalStateExceptionpublic void writeTo(OutputStream outputStream) throws IOException
writeTo in interface org.apache.http.HttpEntityIOExceptionpublic boolean isStreaming()
isStreaming in interface org.apache.http.HttpEntity@Deprecated public void consumeContent() throws IOException
consumeContent in interface org.apache.http.HttpEntityIOExceptionCopyright © 2019 Digipost. All rights reserved.