java.lang.Object |
↳ |
org.apache.http.entity.AbstractHttpEntity |
|
↳ |
org.apache.http.entity.FileEntity |
|
|
↳ |
org.apache.http.nio.entity.FileNIOEntity |
This class is deprecated.
Use NFileEntity
Class Overview
An entity whose content is retrieved from from a file. In addition to the standard
HttpEntity interface this class also implements NIO specific
HttpNIOEntity
.
Summary
[Expand]
Inherited Fields |
From class
org.apache.http.entity.FileEntity
protected
final
File |
file |
|
|
From class
org.apache.http.entity.AbstractHttpEntity
protected
boolean |
chunked |
|
protected
Header |
contentEncoding |
|
protected
Header |
contentType |
|
|
[Expand]
Inherited Methods |
From class
org.apache.http.entity.FileEntity
|
From class
org.apache.http.entity.AbstractHttpEntity
void
|
consumeContent()
|
Header
|
getContentEncoding()
|
Header
|
getContentType()
|
boolean
|
isChunked()
|
void
|
setChunked(boolean arg0)
|
void
|
setContentEncoding(String arg0)
|
void
|
setContentEncoding(Header arg0)
|
void
|
setContentType(Header arg0)
|
void
|
setContentType(String arg0)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.apache.http.HttpEntity
abstract
void
|
consumeContent()
|
abstract
InputStream
|
getContent()
|
abstract
Header
|
getContentEncoding()
|
abstract
long
|
getContentLength()
|
abstract
Header
|
getContentType()
|
abstract
boolean
|
isChunked()
|
abstract
boolean
|
isRepeatable()
|
abstract
boolean
|
isStreaming()
|
abstract
void
|
writeTo(OutputStream arg0)
|
|
From interface
org.apache.http.nio.entity.HttpNIOEntity
|
Public Constructors
public
FileNIOEntity
(File file, String contentType)
Public Methods