public class HttpFileBodyContent extends Object
Represents the body content of a HTTP message (request/response) that obtains content from a File.
| Constructor and description |
|---|
HttpFileBodyContent
(String filePath) |
| Type | Name and description |
|---|---|
String |
getContentEncoding() |
long |
getContentLength() |
String |
getContentType() |
InputStream |
getInputStream() |
void |
writeTo(OutputStream outstream) |