org.apache.hc.client5.http.entity.mime.MultipartEntityBuilder
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long | getContentLength()
Implements org. |
| public File | |
| public String | |
| public InputStream | |
| public void | writeTo(final OutputStream out)
Implements org. |
| file | back to summary |
|---|---|
| private final File file | |
| filename | back to summary |
|---|---|
| private final String filename | |
| FileBody | back to summary |
|---|---|
| public FileBody(final File file) | |
| FileBody | back to summary |
|---|---|
public FileBody(final File file, final ContentType contentType, final String filename)
| |
| FileBody | back to summary |
|---|---|
public FileBody(final File file, final ContentType contentType)
| |
| getContentLength | back to summary |
|---|---|
| public long getContentLength() Implements org. Doc from org. Returns the body descriptors content-length.
| |
| getFile | back to summary |
|---|---|
| public File getFile() | |
| getFilename | back to summary |
|---|---|
| public String getFilename() Implements org.
| |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream() throws IOException | |
| writeTo | back to summary |
|---|---|
| public void writeTo(final OutputStream out) throws IOException Implements org.
| |