class MultipartFormEntity
extends java.lang.Object
implements org.apache.http.HttpEntity
| Modifier and Type | Field and Description |
|---|---|
private long |
contentLength |
private org.apache.http.Header |
contentType |
private AbstractMultipartForm |
multipart |
| Constructor and Description |
|---|
MultipartFormEntity(AbstractMultipartForm multipart,
org.apache.http.entity.ContentType contentType,
long contentLength) |
| Modifier and Type | Method and Description |
|---|---|
void |
consumeContent() |
java.io.InputStream |
getContent() |
org.apache.http.Header |
getContentEncoding() |
long |
getContentLength() |
org.apache.http.Header |
getContentType() |
(package private) AbstractMultipartForm |
getMultipart() |
boolean |
isChunked() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
writeTo(java.io.OutputStream outstream) |
private final AbstractMultipartForm multipart
private final org.apache.http.Header contentType
private final long contentLength
MultipartFormEntity(AbstractMultipartForm multipart, org.apache.http.entity.ContentType contentType, long contentLength)
AbstractMultipartForm getMultipart()
public boolean isRepeatable()
isRepeatable in interface org.apache.http.HttpEntitypublic boolean isChunked()
isChunked in interface org.apache.http.HttpEntitypublic boolean isStreaming()
isStreaming 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 void consumeContent()
consumeContent in interface org.apache.http.HttpEntitypublic java.io.InputStream getContent()
throws java.io.IOException
getContent in interface org.apache.http.HttpEntityjava.io.IOExceptionpublic void writeTo(java.io.OutputStream outstream)
throws java.io.IOException
writeTo in interface org.apache.http.HttpEntityjava.io.IOException