| Modifier and Type | Field and Description |
|---|---|
| private Charset | |
| public static final Charset | DEFAULT_CHARSET
THe default charset used by the writer. |
| private final List |
| Access | Constructor and Description |
|---|---|
| protected | MultipartWriterSupport(List<MediaType> supportedMediaTypes)
Constructor with the list of supported media types. |
| Modifier and Type | Method and Description |
|---|---|
| protected Mono | |
| protected Mono | |
| protected byte[] | |
| protected Mono | |
| protected Mono | |
| public Charset | |
| protected MediaType | getMultipartMediaType(MediaType mediaType, byte[] boundary)
Prepare the |
| public List | |
| public void | setCharset(Charset charset)
Set the character set to use for part headers such as "Content-Disposition" (and its filename parameter). |
| charset | back to summary |
|---|---|
| private Charset charset | |
| DEFAULT_CHARSET | back to summary |
|---|---|
| public static final Charset DEFAULT_CHARSET THe default charset used by the writer. | |
| supportedMediaTypes | back to summary |
|---|---|
| private final List<MediaType> supportedMediaTypes | |
| MultipartWriterSupport | back to summary |
|---|---|
| protected MultipartWriterSupport(List<MediaType> supportedMediaTypes) Constructor with the list of supported media types. | |
| generateBoundaryLine | back to summary |
|---|---|
| protected Mono | |
| generateLastLine | back to summary |
|---|---|
| protected Mono | |
| generateMultipartBoundary | back to summary |
|---|---|
| protected byte[] generateMultipartBoundary() Generate a multipart boundary. By default delegates to | |
| generateNewLine | back to summary |
|---|---|
| protected Mono | |
| generatePartHeaders | back to summary |
|---|---|
| protected Mono | |
| getCharset | back to summary |
|---|---|
| public Charset getCharset() Return the configured charset for part headers. | |
| getMultipartMediaType | back to summary |
|---|---|
| protected MediaType getMultipartMediaType(MediaType mediaType, byte[] boundary) Prepare the | |
| getWritableMediaTypes | back to summary |
|---|---|
| public List | |
| setCharset | back to summary |
|---|---|
| public void setCharset(Charset charset) Set the character set to use for part headers such as "Content-Disposition" (and its filename parameter). By default this is set to "UTF-8". If changed from this default, the "Content-Type" header will have a "charset" parameter that specifies the character set used. | |