public class HdaStringPart
extends org.apache.commons.httpclient.methods.multipart.StringPart
DEFAULT_CHARSET, DEFAULT_CONTENT_TYPE, DEFAULT_TRANSFER_ENCODINGBOUNDARY, BOUNDARY_BYTES, CHARSET, CHARSET_BYTES, CONTENT_DISPOSITION, CONTENT_DISPOSITION_BYTES, CONTENT_TRANSFER_ENCODING, CONTENT_TRANSFER_ENCODING_BYTES, CONTENT_TYPE, CONTENT_TYPE_BYTES, CRLF, CRLF_BYTES, EXTRA, EXTRA_BYTES, QUOTE, QUOTE_BYTES| Constructor and Description |
|---|
HdaStringPart(String name, String value)
Constructor.
|
HdaStringPart(String name, String value, String charset)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTransferEncoding()
Returns the transfer encoding of this part.
|
lengthOfData, sendData, setCharSetgetCharSet, getContentType, getName, setContentType, setName, setTransferEncodinggetBoundary, getLengthOfParts, getLengthOfParts, getPartBoundary, isRepeatable, length, send, sendContentTypeHeader, sendDispositionHeader, sendEnd, sendEndOfHeader, sendParts, sendParts, sendStart, sendTransferEncodingHeader, toStringpublic HdaStringPart(String name, String value, String charset)
name - The name of the partvalue - the string to postcharset - the charset to be used to encode the string, if null the default is usedpublic String getTransferEncoding()
getTransferEncoding in class org.apache.commons.httpclient.methods.multipart.PartBase