Modifier and Type | Field and Description |
---|---|
static java.nio.charset.Charset |
DEFAULT_CHARSET
Default charset of string parameters
|
CHARSET_BYTES, CONTENT_DISPOSITION_BYTES, CONTENT_ID_BYTES, CONTENT_TRANSFER_ENCODING_BYTES, CONTENT_TYPE_BYTES, CRLF_BYTES, EXTRA_BYTES, FORM_DATA_DISPOSITION_TYPE_BYTES, NAME_BYTES, QUOTE_BYTE
Constructor and Description |
---|
StringPart(java.lang.String name,
java.lang.String value) |
StringPart(java.lang.String name,
java.lang.String value,
java.lang.String contentType) |
StringPart(java.lang.String name,
java.lang.String value,
java.lang.String contentType,
java.nio.charset.Charset charset) |
StringPart(java.lang.String name,
java.lang.String value,
java.lang.String contentType,
java.nio.charset.Charset charset,
java.lang.String contentId) |
StringPart(java.lang.String name,
java.lang.String value,
java.lang.String contentType,
java.nio.charset.Charset charset,
java.lang.String contentId,
java.lang.String transferEncoding) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
addCustomHeader, getCharset, getContentId, getContentType, getCustomHeaders, getDispositionType, getName, getTransferEncoding, setCustomHeaders, setDispositionType, toString
public static final java.nio.charset.Charset DEFAULT_CHARSET
public StringPart(java.lang.String name, java.lang.String value)
public StringPart(java.lang.String name, java.lang.String value, java.lang.String contentType)
public StringPart(java.lang.String name, java.lang.String value, java.lang.String contentType, java.nio.charset.Charset charset)
public StringPart(java.lang.String name, java.lang.String value, java.lang.String contentType, java.nio.charset.Charset charset, java.lang.String contentId)
public StringPart(java.lang.String name, java.lang.String value, java.lang.String contentType, java.nio.charset.Charset charset, java.lang.String contentId, java.lang.String transferEncoding)
Copyright © 2017. All Rights Reserved.