public class ByteArrayPart extends FileLikePart
| Constructor and Description |
|---|
ByteArrayPart(String name,
byte[] bytes) |
ByteArrayPart(String name,
byte[] bytes,
String contentType) |
ByteArrayPart(String name,
byte[] bytes,
String contentType,
Charset charset) |
ByteArrayPart(String name,
byte[] bytes,
String contentType,
Charset charset,
String fileName) |
ByteArrayPart(String name,
byte[] bytes,
String contentType,
Charset charset,
String fileName,
String contentId) |
ByteArrayPart(String name,
byte[] bytes,
String contentType,
Charset charset,
String fileName,
String contentId,
String transferEncoding) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes() |
getFileName, toStringaddCustomHeader, getCharset, getContentId, getContentType, getCustomHeaders, getDispositionType, getName, getTransferEncoding, setCustomHeaders, setDispositionTypepublic ByteArrayPart(String name, byte[] bytes)
public ByteArrayPart(String name, byte[] bytes, String contentType, Charset charset, String fileName)
public ByteArrayPart(String name, byte[] bytes, String contentType, Charset charset, String fileName, String contentId)
Copyright © 2020. All rights reserved.