public class HttpOptions extends HttpUriRequestBase
| Modifier and Type | Field and Description | 
|---|---|
| static String | METHOD_NAME | 
| Constructor and Description | 
|---|
| HttpOptions(String uri)Creates a new instance initialized with the given URI. | 
| HttpOptions(URI uri)Creates a new instance initialized with the given URI. | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<String> | getAllowedMethods(org.apache.hc.core5.http.HttpResponse response) | 
| String | getMethod() | 
abort, cancel, getConfig, isAborted, isCancelled, reset, setConfig, setDependency, toStringgetEntity, setEntityaddHeader, getAuthority, getPath, getRequestUri, getScheme, getUri, getVersion, setAuthority, setHeader, setPath, setScheme, setUri, setVersionaddHeader, clear, containsHeader, countHeaders, getCondensedHeader, getFirstHeader, getHeader, getHeaders, getHeaders, getLastHeader, headerIterator, headerIterator, removeHeader, removeHeaders, removeHeaders, setHeader, setHeadersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAuthority, getPath, getRequestUri, getScheme, getUri, setAuthority, setPath, setScheme, setUriaddHeader, addHeader, getVersion, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setVersionpublic static final String METHOD_NAME
public HttpOptions(URI uri)
uri - a non-null request URI.IllegalArgumentException - if the uri is null.public HttpOptions(String uri)
uri - a non-null request URI.IllegalArgumentException - if the uri is invalid.public String getMethod()
getMethod in interface org.apache.hc.core5.http.HttpRequestgetMethod in class org.apache.hc.core5.http.message.BasicHttpRequestCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.