org.apache.http.client.methods.HttpOptions
HTTP OPTIONS method.
The HTTP OPTIONS method is defined in section 9.2 of
RFC2616:
The OPTIONS method represents a request for information about the
communication options available on the request/response chain
identified by the Request-URI. This method allows the client to
determine the options and/or requirements associated with a resource,
or the capabilities of a server, without implying a resource action
or initiating a resource retrieval.
Summary
Constants
Public Constructors
Public Methods
addHeader,
addHeader,
containsHeader,
getAllHeaders,
getFirstHeader,
getHeaders,
getLastHeader,
getParams,
headerIterator,
headerIterator,
removeHeader,
removeHeaders,
setHeader,
setHeader,
setHeaders,
setParams
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
addHeader,
addHeader,
containsHeader,
getAllHeaders,
getFirstHeader,
getHeaders,
getLastHeader,
getParams,
getProtocolVersion,
headerIterator,
headerIterator,
removeHeader,
removeHeaders,
setHeader,
setHeader,
setHeaders,
setParams
Details
Constants
public
static
final
String
METHOD_NAME
Constant Value:
"OPTIONS"
Public Constructors
public
HttpOptions(URI uri)
public
HttpOptions(String uri)
Public Methods
public
String
getMethod()
Returns the HTTP method this request uses, such as GET
,
PUT
, POST
, or other.