| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<WebSocket> |
HttpClient.openWebSocket(HttpRequest request,
HttpRequestOptions requestOptions,
String socketId,
WebSocketCallback callback)
Opens a new WebSocket by adding the proper upgrade header to the given
request |
default CompletableFuture<WebSocket> |
HttpClient.openWebSocket(HttpRequest request,
String socketId,
WebSocketCallback callback)
Opens a new WebSocket by adding the proper upgrade header to the given
request |
default HttpResponse |
HttpClient.send(HttpRequest request)
Same as
HttpClient.send(HttpRequest, HttpRequestOptions) but using default options. |
HttpResponse |
ManagedLifecycleHttpClient.send(HttpRequest request,
HttpRequestOptions options)
Sends a HttpRequest blocking the current thread until a response is available or the request times out.
|
HttpResponse |
HttpClient.send(HttpRequest request,
HttpRequestOptions options)
Sends a HttpRequest blocking the current thread until a response is available or the request times out.
|
default HttpResponse |
HttpClient.send(HttpRequest request,
int responseTimeout,
boolean followRedirects,
HttpAuthentication authentication)
Deprecated.
use
HttpClient.send(HttpRequest, HttpRequestOptions) instead |
default CompletableFuture<HttpResponse> |
HttpClient.sendAsync(HttpRequest request)
Same as
HttpClient.sendAsync(HttpRequest, HttpRequestOptions) but using default options. |
CompletableFuture<HttpResponse> |
ManagedLifecycleHttpClient.sendAsync(HttpRequest request,
HttpRequestOptions options)
Sends a HttpRequest without blocking the current thread.
|
CompletableFuture<HttpResponse> |
HttpClient.sendAsync(HttpRequest request,
HttpRequestOptions options)
Sends a HttpRequest without blocking the current thread.
|
default CompletableFuture<HttpResponse> |
HttpClient.sendAsync(HttpRequest request,
int responseTimeout,
boolean followRedirects,
HttpAuthentication authentication)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
HttpRequestBuilder.build()
Discard this builder after calling this method.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
HttpRequestContext.getRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RequestMatcher.matches(HttpRequest httpRequest) |
| Modifier and Type | Method and Description |
|---|---|
T |
RequestMatcherRegistry.find(HttpRequest request)
Searches this registry for the most specific match for the given
HttpRequest considering all registered
PathAndMethodRequestMatchers. |
Copyright © 2003–2020 MuleSoft, Inc.. All rights reserved.