public class ConfigurableHttpRequest extends org.apache.hc.core5.http.message.BasicHttpRequest implements Configurable
Constructor and Description |
---|
ConfigurableHttpRequest(String method,
org.apache.hc.core5.http.HttpHost host,
String path) |
ConfigurableHttpRequest(String method,
String path) |
ConfigurableHttpRequest(String method,
String scheme,
org.apache.hc.core5.net.URIAuthority authority,
String path) |
ConfigurableHttpRequest(String method,
URI requestUri) |
Modifier and Type | Method and Description |
---|---|
RequestConfig |
getConfig()
Returns actual request configuration.
|
void |
setConfig(RequestConfig requestConfig) |
addHeader, getAuthority, getMethod, getPath, getRequestUri, getScheme, getUri, getVersion, setAbsoluteRequestUri, setAuthority, setHeader, setPath, setScheme, setUri, setVersion, toString
addHeader, clear, containsHeader, countHeaders, getCondensedHeader, getFirstHeader, getHeader, getHeaders, getHeaders, getLastHeader, headerIterator, headerIterator, removeHeader, removeHeaders, removeHeaders, setHeader, setHeaders
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public ConfigurableHttpRequest(String method, org.apache.hc.core5.http.HttpHost host, String path)
public ConfigurableHttpRequest(String method, String scheme, org.apache.hc.core5.net.URIAuthority authority, String path)
public RequestConfig getConfig()
Configurable
getConfig
in interface Configurable
public void setConfig(RequestConfig requestConfig)
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.