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