Class PathBody
java.lang.Object
org.apache.http.entity.mime.content.AbstractContentBody
org.eclipse.cbi.maven.http.apache.PathBody
- All Implemented Interfaces:
org.apache.http.entity.mime.content.ContentBody
,org.apache.http.entity.mime.content.ContentDescriptor
final class PathBody
extends org.apache.http.entity.mime.content.AbstractContentBody
Binary body part backed by a path.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.http.entity.mime.content.AbstractContentBody
getCharset, getContentType, getMediaType, getMimeType, getSubType
-
Field Details
-
path
-
-
Constructor Details
-
PathBody
PathBody(Path path) -
PathBody
-
-
Method Details
-
getFilename
-
writeTo
- Throws:
IOException
-
getTransferEncoding
-
getContentLength
public long getContentLength()
-