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