Class ComplexPart
java.lang.Object
org.apache.axis2.kernel.http.util.ComplexPart
Deprecated.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionComplexPart(String name, String value) Deprecated.Constructor.ComplexPart(String name, String value, String charset) Deprecated.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected longDeprecated.Return the length of the data.protected voidsendData(OutputStream out) Deprecated.Writes the data to the given OutputStream.voidsetCharSet(String charSet) Deprecated.
-
Field Details
-
DEFAULT_CONTENT_TYPE
Deprecated.Default content encoding of string parameters.- See Also:
-
DEFAULT_CHARSET
Deprecated.Default charset of string parameters- See Also:
-
DEFAULT_TRANSFER_ENCODING
Deprecated.Default transfer encoding of string parameters- See Also:
-
-
Constructor Details
-
ComplexPart
Deprecated.Constructor.- Parameters:
name- The name of the partvalue- the string to postcharset- the charset to be used to encode the string, ifnullthedefaultis used
-
ComplexPart
Deprecated.Constructor.- Parameters:
name- The name of the partvalue- the string to post
-
-
Method Details
-
sendData
Deprecated.Writes the data to the given OutputStream.- Parameters:
out- the OutputStream to write to- Throws:
IOException- if there is a write error
-
lengthOfData
Deprecated.Return the length of the data.- Returns:
- The length of the data.
- Throws:
IOException- If an IO problem occurs- See Also:
-
org.apache.commons.httpclient.methods.multipart.Part#lengthOfData()
-
setCharSet
Deprecated.
-