public class

InputStreamBody

extends AbstractContentBody
java.lang.Object
   ↳ org.apache.http.entity.mime.content.AbstractContentBody
     ↳ org.apache.http.entity.mime.content.InputStreamBody

Summary

Public Constructors
InputStreamBody(InputStream in, String mimeType, String filename)
InputStreamBody(InputStream in, String filename)
Public Methods
String getCharset()
long getContentLength()
String getFilename()
InputStream getInputStream()
String getTransferEncoding()
void writeTo(OutputStream out)
void writeTo(OutputStream out, int mode)
This method is deprecated. use writeTo(OutputStream)
[Expand]
Inherited Methods
From class org.apache.http.entity.mime.content.AbstractContentBody
From class java.lang.Object
From interface org.apache.http.entity.mime.content.ContentBody
From interface org.apache.http.entity.mime.content.ContentDescriptor

Public Constructors

public InputStreamBody (InputStream in, String mimeType, String filename)

public InputStreamBody (InputStream in, String filename)

Public Methods

public String getCharset ()

public long getContentLength ()

public String getFilename ()

public InputStream getInputStream ()

public String getTransferEncoding ()

public void writeTo (OutputStream out)

Throws
IOException

public void writeTo (OutputStream out, int mode)

This method is deprecated.
use writeTo(OutputStream)

Throws
IOException