Class VertxClientHttpEngine
java.lang.Object
org.jboss.resteasy.client.jaxrs.engines.vertx.VertxClientHttpEngine
- All Implemented Interfaces:
ClientHttpEngine,AsyncClientHttpEngine
@Deprecated(forRemoval=true,
since="6.2.13.Final")
public class VertxClientHttpEngine
extends Object
implements AsyncClientHttpEngine
Deprecated, for removal: This API element is subject to removal in a future version.
use new dependencies
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.resteasy.client.jaxrs.engines.AsyncClientHttpEngine
AsyncClientHttpEngine.ResultExtractor<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated, for removal: This API element is subject to removal in a future version.Client config property to set when a request timeout is needed. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.VertxClientHttpEngine(io.vertx.core.http.HttpClient client) Deprecated, for removal: This API element is subject to removal in a future version.VertxClientHttpEngine(io.vertx.core.Vertx vertx) Deprecated, for removal: This API element is subject to removal in a future version.VertxClientHttpEngine(io.vertx.core.Vertx vertx, io.vertx.core.http.HttpClientOptions options) Deprecated, for removal: This API element is subject to removal in a future version.VertxClientHttpEngine(io.vertx.core.Vertx vertx, io.vertx.core.http.HttpClientOptions options, ClientBuilderConfiguration configuration) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Needed for Client.getHostnameVerifier()Deprecated, for removal: This API element is subject to removal in a future version.Needed for Client.getSslContext();jakarta.ws.rs.core.Responseinvoke(jakarta.ws.rs.client.Invocation request) Deprecated, for removal: This API element is subject to removal in a future version.<T> Future<T> submit(ClientInvocation request, boolean buffered, jakarta.ws.rs.client.InvocationCallback<T> callback, AsyncClientHttpEngine.ResultExtractor<T> extractor) Deprecated, for removal: This API element is subject to removal in a future version.Submits an asynchronous request.<T> CompletableFuture<T> submit(ClientInvocation request, boolean buffered, AsyncClientHttpEngine.ResultExtractor<T> extractor, ExecutorService executorService) Deprecated, for removal: This API element is subject to removal in a future version.Submits an asynchronous request.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.resteasy.client.jaxrs.engines.AsyncClientHttpEngine
submitMethods inherited from interface org.jboss.resteasy.client.jaxrs.ClientHttpEngine
isFollowRedirects, setFollowRedirects
-
Field Details
-
REQUEST_TIMEOUT_MS
Deprecated, for removal: This API element is subject to removal in a future version.Client config property to set when a request timeout is needed.
-
-
Constructor Details
-
VertxClientHttpEngine
public VertxClientHttpEngine()Deprecated, for removal: This API element is subject to removal in a future version. -
VertxClientHttpEngine
public VertxClientHttpEngine(io.vertx.core.Vertx vertx, io.vertx.core.http.HttpClientOptions options) Deprecated, for removal: This API element is subject to removal in a future version. -
VertxClientHttpEngine
public VertxClientHttpEngine(io.vertx.core.Vertx vertx) Deprecated, for removal: This API element is subject to removal in a future version. -
VertxClientHttpEngine
public VertxClientHttpEngine(io.vertx.core.http.HttpClient client) Deprecated, for removal: This API element is subject to removal in a future version. -
VertxClientHttpEngine
public VertxClientHttpEngine(io.vertx.core.Vertx vertx, io.vertx.core.http.HttpClientOptions options, ClientBuilderConfiguration configuration) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
submit
public <T> Future<T> submit(ClientInvocation request, boolean buffered, jakarta.ws.rs.client.InvocationCallback<T> callback, AsyncClientHttpEngine.ResultExtractor<T> extractor) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:AsyncClientHttpEngineSubmits an asynchronous request.- Specified by:
submitin interfaceAsyncClientHttpEngine- Type Parameters:
T- type- Parameters:
request- Requestbuffered- buffer the response?callback- Optional callback receiving the result, which is run inside the io-thread. may be null.extractor- ResultExtractor for extracting a result out of a ClientResponse. Is run inside the io-thread- Returns:
- Future with the result or Exception
-
submit
public <T> CompletableFuture<T> submit(ClientInvocation request, boolean buffered, AsyncClientHttpEngine.ResultExtractor<T> extractor, ExecutorService executorService) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:AsyncClientHttpEngineSubmits an asynchronous request.- Specified by:
submitin interfaceAsyncClientHttpEngine- Type Parameters:
T- type- Parameters:
request- Requestbuffered- buffer the response?extractor- ResultExtractor for extracting a result out of a ClientResponse. Is run inside the io-threadexecutorService- the executor to use for asynchronous execution- Returns:
CompletableFuturewith the result or Exception
-
getSslContext
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ClientHttpEngineNeeded for Client.getSslContext();- Specified by:
getSslContextin interfaceClientHttpEngine- Returns:
SSLContext
-
getHostnameVerifier
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ClientHttpEngineNeeded for Client.getHostnameVerifier()- Specified by:
getHostnameVerifierin interfaceClientHttpEngine- Returns:
HostnameVerifier
-
invoke
public jakarta.ws.rs.core.Response invoke(jakarta.ws.rs.client.Invocation request) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
invokein interfaceClientHttpEngine
-
close
public void close()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
closein interfaceClientHttpEngine
-