org.apache.commons.httpclient.methods.multipart
public abstract class PartBase extends Part
Constructor Summary | |
---|---|
PartBase(String name, String contentType, String charSet, String transferEncoding)
Constructor.
|
Method Summary | |
---|---|
String | getCharSet()
Return the character encoding of this part. |
String | getContentType()
Returns the content type of this part. |
String | getName()
Returns the name. |
String | getTransferEncoding()
Returns the transfer encoding of this part. |
void | setCharSet(String charSet)
Sets the character encoding.
|
void | setContentType(String contentType)
Sets the content type.
|
void | setName(String name)
Sets the part name.
|
void | setTransferEncoding(String transferEncoding)
Sets the transfer encoding.
|
Parameters: name The name of the part contentType The content type, or null
charSet The character encoding, or null
transferEncoding The transfer encoding, or null
Returns: String The name.
Returns: String The name.
Returns: The name.
See Also: getName
Returns: String The name.
Parameters: charSet the character encoding, or null
to exclude the character
encoding header
Parameters: contentType the content type, or null
to exclude the content type header
Parameters: name
Parameters: transferEncoding the transfer encoding, or null
to exclude the
transfer encoding header