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

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

Introduction

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

The text is from its open source code.

Subclass

org.apache.commons.httpclient.methods.OptionsMethod 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.
EnumerationgetAllowedMethods()
HttpMethodParamsgetParams()
Returns HttpMethodParams HTTP protocol parameters associated with this method.
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.
booleanhasBeenUsed()
Returns true if the HTTP method has been already #execute executed , but not #recycle recycled .
voidreleaseConnection()
Releases the connection being used by this HTTP method.
voidsetFollowRedirects(boolean followRedirects)
Sets whether or not the HTTP method should automatically follow HTTP redirects (status code 302, etc.)
voidsetRequestHeader(String headerName, String headerValue)
Set the specified request header, overwriting any previous value.
voidsetURI(URI uri)
Sets the URI for this method.