Class JettyClientEngine
- java.lang.Object
-
- org.jboss.resteasy.client.jaxrs.engines.jetty.JettyClientEngine
-
- All Implemented Interfaces:
org.jboss.resteasy.client.jaxrs.ClientHttpEngine,AsyncClientHttpEngine
public class JettyClientEngine extends Object implements 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 Modifier and Type Field Description static StringFOLLOW_REDIRECTSstatic StringIDLE_TIMEOUT_MSstatic StringREQUEST_TIMEOUT_MS
-
Constructor Summary
Constructors Constructor Description JettyClientEngine(org.eclipse.jetty.client.HttpClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()HostnameVerifiergetHostnameVerifier()SSLContextgetSslContext()ClientResponseinvoke(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, wait
-
Methods inherited from interface org.jboss.resteasy.client.jaxrs.engines.AsyncClientHttpEngine
submit
-
-
-
-
Field Detail
-
REQUEST_TIMEOUT_MS
public static final String REQUEST_TIMEOUT_MS
-
IDLE_TIMEOUT_MS
public static final String IDLE_TIMEOUT_MS
-
FOLLOW_REDIRECTS
public static final String FOLLOW_REDIRECTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSslContext
public SSLContext getSslContext()
- Specified by:
getSslContextin interfaceorg.jboss.resteasy.client.jaxrs.ClientHttpEngine
-
getHostnameVerifier
public HostnameVerifier getHostnameVerifier()
- Specified by:
getHostnameVerifierin interfaceorg.jboss.resteasy.client.jaxrs.ClientHttpEngine
-
invoke
public ClientResponse invoke(jakarta.ws.rs.client.Invocation invocation)
- 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
-
-