org.apache.http.entity.mime.content
Interface ContentBody

All Superinterfaces:
ContentDescriptor
All Known Implementing Classes:
AbstractContentBody, ByteArrayBody, FileBody, InputStreamBody, StringBody

public interface ContentBody
extends ContentDescriptor

Since:
4.0

Method Summary
 java.lang.String getFilename()
           
 void writeTo(java.io.OutputStream out)
           
 
Methods inherited from interface org.apache.http.entity.mime.content.ContentDescriptor
getCharset, getContentLength, getMediaType, getMimeType, getSubType, getTransferEncoding
 

Method Detail

getFilename

java.lang.String getFilename()

writeTo

void writeTo(java.io.OutputStream out)
             throws java.io.IOException
Throws:
java.io.IOException


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.