Class HttpOptions
java.lang.Object
org.apache.hc.core5.http.message.HeaderGroup
org.apache.hc.core5.http.message.BasicHttpRequest
org.apache.hc.core5.http.message.BasicClassicHttpRequest
org.apache.hc.client5.http.classic.methods.HttpUriRequestBase
org.apache.hc.client5.http.classic.methods.HttpOptions
- All Implemented Interfaces:
Serializable, HttpUriRequest, Configurable, org.apache.hc.core5.concurrent.Cancellable, org.apache.hc.core5.concurrent.CancellableDependency, org.apache.hc.core5.http.ClassicHttpRequest, org.apache.hc.core5.http.HttpEntityContainer, org.apache.hc.core5.http.HttpMessage, org.apache.hc.core5.http.HttpRequest, org.apache.hc.core5.http.MessageHeaders
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHttpOptions(String uri) Creates a new instance initialized with the given URI.HttpOptions(URI uri) Creates a new instance initialized with the given URI. -
Method Summary
Modifier and TypeMethodDescriptiongetAllowedMethods(org.apache.hc.core5.http.HttpResponse response) Methods inherited from class HttpUriRequestBase
abort, cancel, getConfig, isAborted, isCancelled, reset, setConfig, setDependency, toStringMethods inherited from class org.apache.hc.core5.http.message.BasicClassicHttpRequest
getEntity, setEntityMethods inherited from class org.apache.hc.core5.http.message.BasicHttpRequest
addHeader, getAuthority, getPath, getRequestUri, getScheme, getUri, getVersion, setAbsoluteRequestUri, setAuthority, setHeader, setPath, setScheme, setUri, setVersionMethods inherited from class org.apache.hc.core5.http.message.HeaderGroup
addHeader, clear, containsHeader, countHeaders, getCondensedHeader, getFirstHeader, getHeader, getHeaders, getHeaders, getLastHeader, headerIterator, headerIterator, removeHeader, removeHeaders, removeHeaders, setHeader, setHeadersMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hc.core5.http.HttpEntityContainer
getEntity, setEntityMethods inherited from interface org.apache.hc.core5.http.HttpMessage
addHeader, addHeader, getVersion, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setVersionMethods inherited from interface org.apache.hc.core5.http.HttpRequest
getAuthority, getPath, getRequestUri, getScheme, getUri, setAuthority, setPath, setScheme, setUriMethods inherited from interface org.apache.hc.core5.http.MessageHeaders
containsHeader, countHeaders, getFirstHeader, getHeader, getHeaders, getHeaders, getLastHeader, headerIterator, headerIterator
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
METHOD_NAME
- See Also:
-
-
Constructor Details
-
HttpOptions
Creates a new instance initialized with the given URI.- Parameters:
uri- a non-null request URI.- Throws:
IllegalArgumentException- if the uri is null.
-
HttpOptions
Creates a new instance initialized with the given URI.- Parameters:
uri- a non-null request URI.- Throws:
IllegalArgumentException- if the uri is invalid.
-
-
Method Details
-
getMethod
- Specified by:
getMethodin interfaceorg.apache.hc.core5.http.HttpRequest- Overrides:
getMethodin classorg.apache.hc.core5.http.message.BasicHttpRequest
-
getAllowedMethods
-