BasicRequestBuilder
.@Deprecated public final class BasicHttpRequests extends Object
BasicHttpRequest
as a HTTP request message representation.Constructor and Description |
---|
BasicHttpRequests()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.hc.core5.http.message.BasicHttpRequest |
create(org.apache.hc.core5.http.Method method,
org.apache.hc.core5.http.HttpHost host,
String path)
Deprecated.
Creates a request object of the exact subclass of
BasicHttpRequest . |
static org.apache.hc.core5.http.message.BasicHttpRequest |
create(org.apache.hc.core5.http.Method method,
String uri)
Deprecated.
Creates a request object of the exact subclass of
BasicHttpRequest . |
static org.apache.hc.core5.http.message.BasicHttpRequest |
create(org.apache.hc.core5.http.Method method,
URI uri)
Deprecated.
Creates a request object of the exact subclass of
BasicHttpRequest . |
static org.apache.hc.core5.http.message.BasicHttpRequest |
create(String method,
String uri)
Deprecated.
Creates a new BasicHttpRequest for the given
method and String URI. |
static org.apache.hc.core5.http.message.BasicHttpRequest |
create(String method,
URI uri)
Deprecated.
Creates a new BasicHttpRequest for the given
method and URI . |
static org.apache.hc.core5.http.message.BasicHttpRequest |
delete(org.apache.hc.core5.http.HttpHost host,
String path)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
delete(String uri)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
delete(URI uri)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
get(org.apache.hc.core5.http.HttpHost host,
String path)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
get(String uri)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
get(URI uri)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
head(org.apache.hc.core5.http.HttpHost host,
String path)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
head(String uri)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
head(URI uri)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
options(org.apache.hc.core5.http.HttpHost host,
String path)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
options(String uri)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
options(URI uri)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
patch(org.apache.hc.core5.http.HttpHost host,
String path)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
patch(String uri)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
patch(URI uri)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
post(org.apache.hc.core5.http.HttpHost host,
String path)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
post(String uri)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
post(URI uri)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
put(org.apache.hc.core5.http.HttpHost host,
String path)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
put(String uri)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
put(URI uri)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
trace(org.apache.hc.core5.http.HttpHost host,
String path)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
trace(String uri)
Deprecated.
|
static org.apache.hc.core5.http.message.BasicHttpRequest |
trace(URI uri)
Deprecated.
|
public static org.apache.hc.core5.http.message.BasicHttpRequest create(String method, String uri)
method
and String
URI.method
- A method supported by this class.uri
- a non-null request string URI.public static org.apache.hc.core5.http.message.BasicHttpRequest create(String method, URI uri)
method
and URI
.method
- A method supported by this class.uri
- a non-null request URI.public static org.apache.hc.core5.http.message.BasicHttpRequest delete(String uri)
public static org.apache.hc.core5.http.message.BasicHttpRequest delete(URI uri)
public static org.apache.hc.core5.http.message.BasicHttpRequest delete(org.apache.hc.core5.http.HttpHost host, String path)
public static org.apache.hc.core5.http.message.BasicHttpRequest get(String uri)
public static org.apache.hc.core5.http.message.BasicHttpRequest get(URI uri)
public static org.apache.hc.core5.http.message.BasicHttpRequest get(org.apache.hc.core5.http.HttpHost host, String path)
public static org.apache.hc.core5.http.message.BasicHttpRequest head(String uri)
public static org.apache.hc.core5.http.message.BasicHttpRequest head(URI uri)
public static org.apache.hc.core5.http.message.BasicHttpRequest head(org.apache.hc.core5.http.HttpHost host, String path)
public static org.apache.hc.core5.http.message.BasicHttpRequest options(String uri)
public static org.apache.hc.core5.http.message.BasicHttpRequest options(URI uri)
public static org.apache.hc.core5.http.message.BasicHttpRequest options(org.apache.hc.core5.http.HttpHost host, String path)
public static org.apache.hc.core5.http.message.BasicHttpRequest patch(String uri)
public static org.apache.hc.core5.http.message.BasicHttpRequest patch(URI uri)
public static org.apache.hc.core5.http.message.BasicHttpRequest patch(org.apache.hc.core5.http.HttpHost host, String path)
public static org.apache.hc.core5.http.message.BasicHttpRequest post(String uri)
public static org.apache.hc.core5.http.message.BasicHttpRequest post(URI uri)
public static org.apache.hc.core5.http.message.BasicHttpRequest post(org.apache.hc.core5.http.HttpHost host, String path)
public static org.apache.hc.core5.http.message.BasicHttpRequest put(String uri)
public static org.apache.hc.core5.http.message.BasicHttpRequest put(URI uri)
public static org.apache.hc.core5.http.message.BasicHttpRequest put(org.apache.hc.core5.http.HttpHost host, String path)
public static org.apache.hc.core5.http.message.BasicHttpRequest trace(String uri)
public static org.apache.hc.core5.http.message.BasicHttpRequest trace(URI uri)
public static org.apache.hc.core5.http.message.BasicHttpRequest trace(org.apache.hc.core5.http.HttpHost host, String path)
public static org.apache.hc.core5.http.message.BasicHttpRequest create(org.apache.hc.core5.http.Method method, String uri)
BasicHttpRequest
.uri
- a non-null URI String.public static org.apache.hc.core5.http.message.BasicHttpRequest create(org.apache.hc.core5.http.Method method, URI uri)
BasicHttpRequest
.uri
- a non-null URI.public static org.apache.hc.core5.http.message.BasicHttpRequest create(org.apache.hc.core5.http.Method method, org.apache.hc.core5.http.HttpHost host, String path)
BasicHttpRequest
.host
- HTTP host.path
- request path.Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.