Modifier and Type | Field and Description |
---|---|
static Charset |
DEFAULT_CHARSET
Default charset of string parameters
|
static String |
DEFAULT_CONTENT_TYPE
Default content encoding of string parameters.
|
static String |
DEFAULT_TRANSFER_ENCODING
Default transfer encoding 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(String name,
String value) |
StringPart(String name,
String value,
String contentType) |
StringPart(String name,
String value,
String contentType,
Charset charset) |
StringPart(String name,
String value,
String contentType,
Charset charset,
String contentId) |
StringPart(String name,
String value,
String contentType,
Charset charset,
String contentId,
String transferEncoding) |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
addCustomHeader, getCharset, getContentId, getContentType, getCustomHeaders, getDispositionType, getName, getTransferEncoding, setCustomHeaders, setDispositionType, toString
public static final String DEFAULT_CONTENT_TYPE
public static final Charset DEFAULT_CHARSET
public static final String DEFAULT_TRANSFER_ENCODING
public StringPart(String name, String value, String contentType, Charset charset, String contentId)
public String getValue()
Copyright © 2016. All Rights Reserved.