Class QuarkusAsyncHTTPConduit
java.lang.Object
org.apache.cxf.transport.AbstractObservable
org.apache.cxf.transport.AbstractConduit
org.apache.cxf.transport.http.HTTPConduit
org.apache.cxf.transport.http.URLConnectionHTTPConduit
org.apache.cxf.transport.http.HttpClientHTTPConduit
org.apache.cxf.transport.http.asyncclient.hc5.AsyncHTTPConduit
io.quarkiverse.cxf.transport.http.hc5.QuarkusAsyncHTTPConduit
- All Implemented Interfaces:
PropertyChangeListener,EventListener,org.apache.cxf.configuration.Configurable,org.apache.cxf.transport.Assertor,org.apache.cxf.transport.Conduit,org.apache.cxf.transport.Observable
public class QuarkusAsyncHTTPConduit
extends org.apache.cxf.transport.http.asyncclient.hc5.AsyncHTTPConduit
An
AsyncHTTPConduit with custom getHttpAsyncClient(TlsStrategy).-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cxf.transport.http.asyncclient.hc5.AsyncHTTPConduit
org.apache.cxf.transport.http.asyncclient.hc5.AsyncHTTPConduit.AsyncWrappedOutputStreamNested classes/interfaces inherited from class org.apache.cxf.transport.http.HTTPConduit
org.apache.cxf.transport.http.HTTPConduit.InterposedMessageObserver, org.apache.cxf.transport.http.HTTPConduit.WrappedOutputStream -
Field Summary
Fields inherited from class org.apache.cxf.transport.http.asyncclient.hc5.AsyncHTTPConduit
ENABLE_HTTP2, USE_ASYNCFields inherited from class org.apache.cxf.transport.http.URLConnectionHTTPConduit
connectionFactory, HTTPURL_CONNECTION_METHOD_REFLECTION, SET_REASON_PHRASE_NOT_NULLFields inherited from class org.apache.cxf.transport.http.HTTPConduit
authorizationPolicy, authSupplier, bus, certConstraints, clientSidePolicy, cookies, defaultAddress, endpointInfo, FORCE_HTTP_VERSION, fromEndpointReferenceType, HTTP_RESPONSE_MESSAGE, HTTP_VERSION, KEY_HTTP_CONNECTION, KEY_HTTP_CONNECTION_ADDRESS, KNOWN_HTTP_VERBS_WITH_NO_CONTENT, LOG, NO_IO_EXCEPTIONS, PROCESS_FAULT_ON_HTTP_400, proxyAuthorizationPolicy, proxyAuthSupplier, proxyFactory, SERVICE_NOT_AVAILABLE_ON_HTTP_STATUS_CODES, SET_HTTP_RESPONSE_MESSAGE, tlsClientParameters, trustDeciderFields inherited from class org.apache.cxf.transport.AbstractConduit
targetFields inherited from class org.apache.cxf.transport.AbstractObservable
incomingObserver -
Constructor Summary
ConstructorsConstructorDescriptionQuarkusAsyncHTTPConduit(org.apache.cxf.Bus b, org.apache.cxf.service.model.EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType t, org.apache.cxf.transport.http.asyncclient.hc5.AsyncHTTPConduitFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hc.client5.http.impl.async.CloseableHttpAsyncClientgetHttpAsyncClient(org.apache.hc.core5.http.nio.ssl.TlsStrategy tlsStrategy) Methods inherited from class org.apache.cxf.transport.http.asyncclient.hc5.AsyncHTTPConduit
close, createOutputStream, getAsyncHTTPConduitFactory, getSSLContext, initializeSSLEngine, setupConnectionMethods inherited from class org.apache.cxf.transport.http.HttpClientHTTPConduit
closeMethods inherited from class org.apache.cxf.transport.http.HTTPConduit
assertMessage, canAssert, determineConnectionTimeout, determineReceiveTimeout, extractLocation, finalizeConfig, getAddress, getAuthorization, getAuthSupplier, getBeanName, getClient, getClient, getConduitName, getCookies, getEffectiveAuthPolicy, getLogger, getProxyAuthorization, getProxyAuthSupplier, getTlsClientParameters, getTrustDecider, getURI, isChunkingSupported, logStackTrace, prepare, propertyChange, setAuthorization, setAuthSupplier, setClient, setHeadersByAuthorizationPolicy, setProxyAuthorization, setProxyAuthSupplier, setTlsClientParameters, setTrustDeciderMethods inherited from class org.apache.cxf.transport.AbstractConduit
getTarget, toStringMethods inherited from class org.apache.cxf.transport.AbstractObservable
activate, deactivate, getMessageObserver, getTargetReference, getTargetReference, setMessageObserverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cxf.transport.Observable
getMessageObserver, setMessageObserver
-
Constructor Details
-
QuarkusAsyncHTTPConduit
public QuarkusAsyncHTTPConduit(org.apache.cxf.Bus b, org.apache.cxf.service.model.EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType t, org.apache.cxf.transport.http.asyncclient.hc5.AsyncHTTPConduitFactory factory) throws IOException - Throws:
IOException
-
-
Method Details
-
getHttpAsyncClient
public org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient getHttpAsyncClient(org.apache.hc.core5.http.nio.ssl.TlsStrategy tlsStrategy) throws IOException - Overrides:
getHttpAsyncClientin classorg.apache.cxf.transport.http.asyncclient.hc5.AsyncHTTPConduit- Parameters:
tlsStrategy-- Returns:
- a Custom
CloseableHttpAsyncClientwhoseexecute(*)methods contextualize (seeThreadContext) the passedAsyncResponseConsumer - Throws:
IOException
-