Package | Description |
---|---|
org.apache.hc.client5.http.async.methods |
Common HTTP methods and message handlers for the asynchronous I/O model.
|
org.apache.hc.client5.http.impl.async |
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
|
org.apache.hc.client5.testing.async |
Modifier and Type | Method and Description |
---|---|
SimpleHttpRequest |
SimpleRequestBuilder.build() |
static SimpleHttpRequest |
SimpleHttpRequest.copy(org.apache.hc.core5.http.HttpRequest original)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequest.create(org.apache.hc.core5.http.Method method,
org.apache.hc.core5.http.HttpHost host,
String path)
Creates a new request message with the given method, host, and request path.
|
static SimpleHttpRequest |
SimpleHttpRequests.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 |
SimpleHttpRequests.create(org.apache.hc.core5.http.Method method,
String uri)
Deprecated.
Creates a request object of the exact subclass of
SimpleHttpRequest . |
static SimpleHttpRequest |
SimpleHttpRequest.create(org.apache.hc.core5.http.Method method,
URI uri)
Creates a new request message with the given method and request path.
|
static SimpleHttpRequest |
SimpleHttpRequests.create(org.apache.hc.core5.http.Method method,
URI uri)
Deprecated.
Creates a request object of the exact subclass of
SimpleHttpRequest . |
static SimpleHttpRequest |
SimpleHttpRequest.create(String method,
String uri)
Creates a new request message with the given method and request path.
|
static SimpleHttpRequest |
SimpleHttpRequests.create(String method,
String uri)
Deprecated.
Creates a new BasicHttpRequest for the given
method and String URI. |
static SimpleHttpRequest |
SimpleHttpRequest.create(String method,
String scheme,
org.apache.hc.core5.net.URIAuthority authority,
String path)
Creates a new request message with the given method, scheme, authority, and request path.
|
static SimpleHttpRequest |
SimpleHttpRequest.create(String method,
URI uri)
Creates a new request message with the given method and request path.
|
static SimpleHttpRequest |
SimpleHttpRequests.create(String method,
URI uri)
Deprecated.
Creates a new BasicHttpRequest for the given
method and URI . |
static SimpleHttpRequest |
SimpleHttpRequests.delete(org.apache.hc.core5.http.HttpHost host,
String path)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.delete(String uri)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.delete(URI uri)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.get(org.apache.hc.core5.http.HttpHost host,
String path)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.get(String uri)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.get(URI uri)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.head(org.apache.hc.core5.http.HttpHost host,
String path)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.head(String uri)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.head(URI uri)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.options(org.apache.hc.core5.http.HttpHost host,
String path)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.options(String uri)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.options(URI uri)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.patch(org.apache.hc.core5.http.HttpHost host,
String path)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.patch(String uri)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.patch(URI uri)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.post(org.apache.hc.core5.http.HttpHost host,
String path)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.post(String uri)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.post(URI uri)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.put(org.apache.hc.core5.http.HttpHost host,
String path)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.put(String uri)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.put(URI uri)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.trace(org.apache.hc.core5.http.HttpHost host,
String path)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.trace(String uri)
Deprecated.
|
static SimpleHttpRequest |
SimpleHttpRequests.trace(URI uri)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SimpleRequestBuilder |
SimpleRequestBuilder.copy(SimpleHttpRequest request) |
static SimpleRequestProducer |
SimpleRequestProducer.create(SimpleHttpRequest request) |
protected void |
SimpleRequestBuilder.digest(SimpleHttpRequest request) |
Modifier and Type | Method and Description |
---|---|
Future<SimpleHttpResponse> |
CloseableHttpAsyncClient.execute(SimpleHttpRequest request,
org.apache.hc.core5.concurrent.FutureCallback<SimpleHttpResponse> callback) |
Future<SimpleHttpResponse> |
CloseableHttpAsyncClient.execute(SimpleHttpRequest request,
org.apache.hc.core5.http.protocol.HttpContext context,
org.apache.hc.core5.concurrent.FutureCallback<SimpleHttpResponse> callback) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hc.core5.http.nio.AsyncRequestConsumer<SimpleHttpRequest> |
AbstractSimpleServerExchangeHandler.supplyConsumer(org.apache.hc.core5.http.HttpRequest request,
org.apache.hc.core5.http.EntityDetails entityDetails,
org.apache.hc.core5.http.protocol.HttpContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSimpleServerExchangeHandler.handle(SimpleHttpRequest request,
org.apache.hc.core5.http.nio.AsyncServerRequestHandler.ResponseTrigger responseTrigger,
org.apache.hc.core5.http.protocol.HttpContext context) |
protected abstract SimpleHttpResponse |
AbstractSimpleServerExchangeHandler.handle(SimpleHttpRequest request,
org.apache.hc.core5.http.protocol.HttpCoreContext context) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.