Java org.apache.commons.httpclient.methods MultipartPostMethod fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.httpclient.methods MultipartPostMethod fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.httpclient.methods MultipartPostMethod.

The text is from its open source code.

Constructor

Method

voidaddParameter(String paramString, File paramFile)
voidaddParameter(String paramString1, String paramString2)
voidaddParameter(String paramString1, String paramString2, File paramFile)
voidaddPart(Part paramPart)
voidaddRequestHeader(String headerName, String headerValue)
Adds the specified request header, NOT overwriting any previous value.
HttpMethodParamsgetParams()
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.
InputStreamgetResponseBodyAsStream()
Returns the response body of the HTTP method, if any, as an InputStream .
StringgetResponseBodyAsString()
Returns the response body of the HTTP method, if any, as a String .
HeadergetResponseHeader(String headerName)
Gets the response header associated with the given name.
StatusLinegetStatusLine()
Provides access to the response status line.
StringgetStatusText()
Returns the status text (or "reason phrase") associated with the latest response.
URIgetURI()
Returns the URI of the HTTP method
voidreleaseConnection()
Releases the connection being used by this HTTP method.
voidsetUseExpectHeader(boolean paramBoolean)