| 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 |
HttpResponse |
HttpClient.send(HttpRequest request,
int responseTimeout,
boolean followRedirects,
HttpAuthentication authentication)
Sends a HttpRequest blocking the current thread until a response is available or the request times out.
|
CompletableFuture<HttpResponse> |
HttpClient.sendAsync(HttpRequest request,
int responseTimeout,
boolean followRedirects,
HttpAuthentication authentication)
Sends a HttpRequest without blocking the current thread.
|
| 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–2019 MuleSoft, Inc.. All rights reserved.