Class JettyClientEngine
java.lang.Object
org.jboss.resteasy.client.jaxrs.engines.jetty.JettyClientEngine
- All Implemented Interfaces:
org.jboss.resteasy.client.jaxrs.ClientHttpEngine,AsyncClientHttpEngine
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.resteasy.client.jaxrs.engines.AsyncClientHttpEngine
AsyncClientHttpEngine.ResultExtractor<T extends Object> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()invoke(jakarta.ws.rs.client.Invocation invocation) <T> Future<T>submit(ClientInvocation invocation, boolean bufIn, jakarta.ws.rs.client.InvocationCallback<T> callback, AsyncClientHttpEngine.ResultExtractor<T> extractor) <T> CompletableFuture<T>submit(ClientInvocation request, boolean buffered, AsyncClientHttpEngine.ResultExtractor<T> extractor, ExecutorService executorService) 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
-
IDLE_TIMEOUT_MS
-
FOLLOW_REDIRECTS
- See Also:
-
-
Constructor Details
-
JettyClientEngine
public JettyClientEngine(org.eclipse.jetty.client.HttpClient client)
-
-
Method Details
-
getSslContext
- Specified by:
getSslContextin interfaceorg.jboss.resteasy.client.jaxrs.ClientHttpEngine
-
getHostnameVerifier
- Specified by:
getHostnameVerifierin interfaceorg.jboss.resteasy.client.jaxrs.ClientHttpEngine
-
invoke
- Specified by:
invokein interfaceorg.jboss.resteasy.client.jaxrs.ClientHttpEngine
-
submit
public <T> Future<T> submit(ClientInvocation invocation, boolean bufIn, jakarta.ws.rs.client.InvocationCallback<T> callback, AsyncClientHttpEngine.ResultExtractor<T> extractor) - Specified by:
submitin interfaceAsyncClientHttpEngine
-
submit
public <T> CompletableFuture<T> submit(ClientInvocation request, boolean buffered, AsyncClientHttpEngine.ResultExtractor<T> extractor, ExecutorService executorService) - Specified by:
submitin interfaceAsyncClientHttpEngine
-
close
public void close()- Specified by:
closein interfaceorg.jboss.resteasy.client.jaxrs.ClientHttpEngine
-