java.lang.Objectorg.apache.commons.httpclient.HttpMethodBase
org.apache.commons.httpclient.methods.ExpectContinueMethod
org.apache.commons.httpclient.methods.MultipartPostMethod
All Implemented Interfaces:
HttpMethod
Use - org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity
in conjunction with org.apache.commons.httpclient.methods.PostMethod instead.The HTTP multipart POST method is defined in section 3.3 of RFC1867:
The media-type multipart/form-data follows the rules of all multipart MIME data streams as outlined in RFC 1521. The multipart/form-data contains a series of parts. Each part is expected to contain a content-disposition header where the value is "form-data" and a name attribute specifies the field name within the form, e.g., 'content-disposition: form-data; name="xxxxx"', where xxxxx is the field name corresponding to that field. Field names originally in non-ASCII character sets may be encoded using the method outlined in RFC 1522.
< - a href="mailto:mattalbright@yahoo.com">Matthew Albright< - a href="mailto:jsdever@apache.org">Jeff Dever< - a href="mailto:adrian@ephox.com">Adrian Sutton< - a href="mailto:mdiggory@latte.harvard.edu">Mark Diggory< - a href="mailto:mbowler@GargoyleSoftware.com">Mike Bowler< - a href="mailto:oleg@ural.ru">Oleg Kalnichevski2.0 - | Field Summary | ||
|---|---|---|
| public static final String | MULTIPART_FORM_CONTENT_TYPE | The Content-Type for multipart/form-data. |
| Fields inherited from org.apache.commons.httpclient.HttpMethodBase: |
|---|
| statusLine, effectiveVersion |
| Constructor: |
|---|
|
|
| Method from org.apache.commons.httpclient.methods.MultipartPostMethod Summary: |
|---|
| addContentLengthRequestHeader, addContentTypeRequestHeader, addParameter, addParameter, addParameter, addPart, addRequestHeaders, getName, getParts, getRequestContentLength, hasRequestContent, recycle, writeRequestBody |
| Methods from org.apache.commons.httpclient.methods.ExpectContinueMethod: |
|---|
| addRequestHeaders, getUseExpectHeader, hasRequestContent, setUseExpectHeader |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.apache.commons.httpclient.methods.MultipartPostMethod Detail: |
|---|
Deprecated!
|
Deprecated!
|
Deprecated!
|
Deprecated!
|
Deprecated!
|
Deprecated!
|
Deprecated!
This implementation adds tt>Content-Length and Content-Type headers, when appropriate. Subclasses may want to override this method to to add additional headers, and may choose to invoke this implementation (via super) to add the "standard" headers. |
Deprecated!
|
Deprecated!
|
Deprecated! Return the length of the request body. Once this method has been invoked, the request parameters cannot be altered until the method is recycled . |
Deprecated!
|
Deprecated! no - longer supported and will be removed in the future
version of HttpClientDeprecated!
|
Deprecated!
|