HttpMime 4.1.1
Package Index
|
Class Index
org.apache.http.entity.mime
org.apache.http.entity.mime.content
Interfaces
ContentBody
ContentDescriptor
Classes
AbstractContentBody
ByteArrayBody
FileBody
InputStreamBody
StringBody
Package Index
|
Class Index
Summary:
Methods
|
Inherited Methods
|
[Expand All]
public interface
ContentBody
implements
ContentDescriptor
org.apache.http.entity.mime.content.ContentBody
Known Indirect Subclasses
AbstractContentBody
,
ByteArrayBody
,
FileBody
,
InputStreamBody
,
StringBody
AbstractContentBody
ByteArrayBody
Body part that is built using a byte array containing a file.
FileBody
InputStreamBody
StringBody
Summary
Public Methods
abstract
String
getFilename
()
abstract void
writeTo
(
OutputStream
out)
[Expand]
Inherited Methods
From interface
org.apache.http.entity.mime.content.ContentDescriptor
abstract
String
getCharset
()
The body descriptors character set, defaulted appropriately for the MIME type.
abstract long
getContentLength
()
Returns the body descriptors content-length.
abstract
String
getMediaType
()
Gets the defaulted MIME media type for this content.
abstract
String
getMimeType
()
Returns the body descriptors MIME type.
abstract
String
getSubType
()
Gets the defaulted MIME sub type for this content.
abstract
String
getTransferEncoding
()
Returns the body descriptors transfer encoding.
Public Methods
public abstract
String
getFilename
()
public abstract void
writeTo
(
OutputStream
out)
Throws
IOException