| org.apache.axis2.transport.http.util.ComplexPart
ComplexPart | public class ComplexPart extends PartBase (Code) | | |
DEFAULT_CHARSET | final public static String DEFAULT_CHARSET(Code) | | Default charset of string parameters
|
DEFAULT_CONTENT_TYPE | final public static String DEFAULT_CONTENT_TYPE(Code) | | Default content encoding of string parameters.
|
DEFAULT_TRANSFER_ENCODING | final public static String DEFAULT_TRANSFER_ENCODING(Code) | | Default transfer encoding of string parameters
|
ComplexPart | public ComplexPart(String name, String value, String charset)(Code) | | Constructor.
Parameters: name - The name of the part Parameters: value - the string to post Parameters: charset - the charset to be used to encode the string, if null the ComplexPart.DEFAULT_CHARSET default is used |
ComplexPart | public ComplexPart(String name, String value)(Code) | | Constructor.
Parameters: name - The name of the part Parameters: value - the string to post |
lengthOfData | protected long lengthOfData() throws IOException(Code) | | Return the length of the data.
The length of the data. throws: IOException - If an IO problem occurs See Also: org.apache.commons.httpclient.methods.multipart.Part.lengthOfData |
sendData | protected void sendData(OutputStream out) throws IOException(Code) | | Writes the data to the given OutputStream.
Parameters: out - the OutputStream to write to throws: IOException - if there is a write error |
|
|