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 StringDEFAULT_CHARSETDeprecated.Default charset of string parametersstatic StringDEFAULT_CONTENT_TYPEDeprecated.Default content encoding of string parameters.static StringDEFAULT_TRANSFER_ENCODINGDeprecated.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 longlengthOfData()Deprecated.Return the length of the data.protected voidsendData(OutputStream out)Deprecated.Writes the data to the given OutputStream.voidsetCharSet(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 IOExceptionDeprecated.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.
-
-