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

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

Introduction

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

The text is from its open source code.

Subclass

org.apache.commons.httpclient.methods.DeleteMethod has subclasses.
Click this link to see all its subclasses.

Constructor

Method

voidaddRequestHeader(String headerName, String headerValue)
Adds the specified request header, NOT overwriting any previous value.
voidaddRequestHeader(Header header)
Adds the specified request header, NOT overwriting any previous value.
StringgetName()
HttpMethodParamsgetParams()
Returns HttpMethodParams HTTP protocol parameters associated with this method.
StringgetQueryString()
Gets the query string of this HTTP method.
Header[]getRequestHeaders()
Returns an array of the requests headers that the HTTP method currently has
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.
Header[]getResponseHeaders()
Returns an array of the response headers that the HTTP method currently has in the order in which they were read.
intgetStatusCode()
Returns the response status code.
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.
voidremoveRequestHeader(String headerName)
Remove the request header associated with the given name.
voidsetDoAuthentication(boolean doAuthentication)
Sets whether or not the HTTP method should automatically handle HTTP authentication challenges (status code 401, etc.)
voidsetFollowRedirects(boolean followRedirects)
Sets whether or not the HTTP method should automatically follow HTTP redirects (status code 302, etc.)
voidsetParams(final HttpMethodParams params)
Assigns HttpMethodParams HTTP protocol parameters for this method.
voidsetPath(String path)
Sets the path of the HTTP method.
voidsetQueryString(String queryString)
Sets the query string of this HTTP method.
voidsetRequestHeader(String headerName, String headerValue)
Set the specified request header, overwriting any previous value.