Class HttpOptions

  • All Implemented Interfaces:
    java.lang.Cloneable, org.apache.http.client.methods.AbortableHttpRequest, org.apache.http.client.methods.Configurable, org.apache.http.client.methods.HttpExecutionAware, org.apache.http.client.methods.HttpUriRequest, org.apache.http.HttpMessage, org.apache.http.HttpRequest

    public class HttpOptions
    extends org.apache.http.client.methods.HttpOptions
    Represents an HTTP OPTIONS request.
    Since:
    2.13.6
    See Also:
    RFC 7231, Section 4.3.7
    • Field Summary

      • Fields inherited from class org.apache.http.client.methods.HttpOptions

        METHOD_NAME
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpOptions​(java.lang.String uri)  
      HttpOptions​(java.net.URI uri)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> getDavComplianceClasses​(org.apache.http.HttpResponse response)
      Compute the set of compliance classes returned in the "dav" header field
      java.util.Set<java.lang.String> getSearchGrammars​(org.apache.http.HttpResponse response)
      Compute set of search grammars returned in the "dasl" header field
      • Methods inherited from class org.apache.http.client.methods.HttpOptions

        getAllowedMethods, getMethod
      • Methods inherited from class org.apache.http.client.methods.HttpRequestBase

        getConfig, getProtocolVersion, getRequestLine, getURI, releaseConnection, setConfig, setProtocolVersion, setURI, started, toString
      • Methods inherited from class org.apache.http.client.methods.AbstractExecutionAwareRequest

        abort, clone, completed, isAborted, reset, setCancellable, setConnectionRequest, setReleaseTrigger
      • Methods inherited from class org.apache.http.message.AbstractHttpMessage

        addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.apache.http.HttpMessage

        addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
      • Methods inherited from interface org.apache.http.client.methods.HttpUriRequest

        abort, isAborted
    • Constructor Detail

      • HttpOptions

        public HttpOptions​(java.net.URI uri)
      • HttpOptions

        public HttpOptions​(java.lang.String uri)
    • Method Detail

      • getDavComplianceClasses

        public java.util.Set<java.lang.String> getDavComplianceClasses​(org.apache.http.HttpResponse response)
        Compute the set of compliance classes returned in the "dav" header field
      • getSearchGrammars

        public java.util.Set<java.lang.String> getSearchGrammars​(org.apache.http.HttpResponse response)
        Compute set of search grammars returned in the "dasl" header field