Class ComplexPart
- java.lang.Object
-
- org.apache.axis2.kernel.http.util.ComplexPart
-
@Deprecated public class ComplexPart extends Object
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_CHARSET
Deprecated.Default charset of string parametersstatic String
DEFAULT_CONTENT_TYPE
Deprecated.Default content encoding of string parameters.static String
DEFAULT_TRANSFER_ENCODING
Deprecated.Default transfer encoding of string parameters
-
Constructor Summary
Constructors Constructor Description ComplexPart(String name, String value)
Deprecated.Constructor.ComplexPart(String name, String value, String charset)
Deprecated.Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected long
lengthOfData()
Deprecated.Return the length of the data.protected void
sendData(OutputStream out)
Deprecated.Writes the data to the given OutputStream.void
setCharSet(String charSet)
Deprecated.
-
-
-
Field Detail
-
DEFAULT_CONTENT_TYPE
public static final String DEFAULT_CONTENT_TYPE
Deprecated.Default content encoding of string parameters.- See Also:
- Constant Field Values
-
DEFAULT_CHARSET
public static final String DEFAULT_CHARSET
Deprecated.Default charset of string parameters- See Also:
- Constant Field Values
-
DEFAULT_TRANSFER_ENCODING
public static final String DEFAULT_TRANSFER_ENCODING
Deprecated.Default transfer encoding of string parameters- See Also:
- Constant Field Values
-
-
Method Detail
-
sendData
protected void sendData(OutputStream out) throws IOException
Deprecated.Writes the data to the given OutputStream.- Parameters:
out
- the OutputStream to write to- Throws:
IOException
- if there is a write error
-
lengthOfData
protected long lengthOfData() throws IOException
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
public void setCharSet(String charSet)
Deprecated.
-
-