Example usage for Java org.apache.commons.httpclient.methods MultipartPostMethod fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addParameter(String paramString, File paramFile) |
void | addParameter(String paramString1, String paramString2) |
void | addParameter(String paramString1, String paramString2, File paramFile) |
void | addPart(Part paramPart) |
void | addRequestHeader(String headerName, String headerValue) Adds the specified request header, NOT overwriting any previous value. |
HttpMethodParams | getParams() Returns HttpMethodParams HTTP protocol parameters associated with this method. |
byte[] | getResponseBody() Returns the response body of the HTTP method, if any, as an array of bytes. |
InputStream | getResponseBodyAsStream() Returns the response body of the HTTP method, if any, as an InputStream . |
String | getResponseBodyAsString() Returns the response body of the HTTP method, if any, as a String . |
Header | getResponseHeader(String headerName) Gets the response header associated with the given name. |
StatusLine | getStatusLine() Provides access to the response status line. |
String | getStatusText() Returns the status text (or "reason phrase") associated with the latest response. |
URI | getURI() Returns the URI of the HTTP method |
void | releaseConnection() Releases the connection being used by this HTTP method. |
void | setUseExpectHeader(boolean paramBoolean) |