java.lang.Object | |||
↳ | org.apache.http.message.AbstractHttpMessage | ||
↳ | org.apache.http.client.methods.HttpRequestBase | ||
↳ | org.apache.http.client.methods.HttpOptions |
This class is deprecated.
Please use openConnection()
instead.
Please visit this webpage
for further details.
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.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | METHOD_NAME |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.message.AbstractHttpMessage
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the HTTP method this request uses, such as
GET ,
PUT , POST , or other.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.client.methods.HttpRequestBase
| |||||||||||
From class
org.apache.http.message.AbstractHttpMessage
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.apache.http.client.methods.HttpUriRequest
| |||||||||||
From interface
org.apache.http.client.methods.AbortableHttpRequest
| |||||||||||
From interface
org.apache.http.HttpMessage
| |||||||||||
From interface
org.apache.http.HttpRequest
|
IllegalArgumentException | if the uri is invalid. |
---|
Returns the HTTP method this request uses, such as GET
,
PUT
, POST
, or other.