public class AsyncHTTPConduit extends URLConnectionHTTPConduit
Modifier and Type | Class and Description |
---|---|
class |
AsyncHTTPConduit.AsyncWrappedOutputStream |
HTTPConduit.InterposedMessageObserver, HTTPConduit.WrappedOutputStream
Modifier and Type | Field and Description |
---|---|
static String |
USE_ASYNC |
connectionFactory, HTTPURL_CONNECTION_METHOD_REFLECTION, SET_REASON_PHRASE_NOT_NULL
authorizationPolicy, authSupplier, bus, certConstraints, clientSidePolicy, cookies, defaultAddress, endpointInfo, fromEndpointReferenceType, HTTP_RESPONSE_MESSAGE, KEY_HTTP_CONNECTION, KEY_HTTP_CONNECTION_ADDRESS, LOG, NO_IO_EXCEPTIONS, PROCESS_FAULT_ON_HTTP_400, proxyAuthorizationPolicy, proxyAuthSupplier, proxyFactory, SET_HTTP_RESPONSE_MESSAGE, tlsClientParameters, trustDecider
target
incomingObserver
Constructor and Description |
---|
AsyncHTTPConduit(Bus b,
EndpointInfo ei,
org.apache.cxf.ws.addressing.EndpointReferenceType t,
AsyncHTTPConduitFactory factory) |
Modifier and Type | Method and Description |
---|---|
protected OutputStream |
createOutputStream(Message message,
boolean needToCacheRequest,
boolean isChunking,
int chunkThreshold) |
AsyncHTTPConduitFactory |
getAsyncHTTPConduitFactory() |
org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient |
getHttpAsyncClient() |
SSLContext |
getSSLContext(TLSClientParameters tlsClientParameters) |
void |
initializeSSLEngine(SSLContext sslcontext,
SSLEngine sslengine) |
protected void |
setupConnection(Message message,
Address address,
HTTPClientPolicy csPolicy) |
close
assertMessage, canAssert, close, 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, setTrustDecider
getTarget, toString
activate, deactivate, getMessageObserver, getTargetReference, getTargetReference, setMessageObserver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMessageObserver, setMessageObserver
public static final String USE_ASYNC
public AsyncHTTPConduit(Bus b, EndpointInfo ei, org.apache.cxf.ws.addressing.EndpointReferenceType t, AsyncHTTPConduitFactory factory) throws IOException
IOException
public org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient getHttpAsyncClient() throws IOException
IOException
public AsyncHTTPConduitFactory getAsyncHTTPConduitFactory()
protected void setupConnection(Message message, Address address, HTTPClientPolicy csPolicy) throws IOException
setupConnection
in class URLConnectionHTTPConduit
IOException
protected OutputStream createOutputStream(Message message, boolean needToCacheRequest, boolean isChunking, int chunkThreshold) throws IOException
createOutputStream
in class URLConnectionHTTPConduit
IOException
public SSLContext getSSLContext(TLSClientParameters tlsClientParameters) throws GeneralSecurityException
GeneralSecurityException
public void initializeSSLEngine(SSLContext sslcontext, SSLEngine sslengine)
Apache CXF