Class HttpOptions

java.lang.Object
org.apache.http.message.AbstractHttpMessage
All Implemented Interfaces:
Cloneable, AbortableHttpRequest, Configurable, HttpExecutionAware, HttpUriRequest, org.apache.http.HttpMessage, org.apache.http.HttpRequest

public class HttpOptions extends HttpRequestBase
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.
Since:
4.0
  • Field Details

  • Constructor Details

    • HttpOptions

      public HttpOptions()
    • HttpOptions

      public HttpOptions(URI uri)
    • HttpOptions

      public HttpOptions(String uri)
      Throws:
      IllegalArgumentException - if the uri is invalid.
  • Method Details