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
authorizationPolicy, authSupplier, bus, certConstraints, clientSidePolicy, cookies, defaultEndpointURI, defaultEndpointURIString, endpointInfo, fromEndpointReferenceType, KEY_HTTP_CONNECTION, KEY_HTTP_CONNECTION_ADDRESS, LOG, proxyAuthorizationPolicy, proxyAuthSupplier, proxyFactory, tlsClientParameters, trustDecider
target
incomingObserver
Constructor and Description |
---|
AsyncHTTPConduit(Bus b,
EndpointInfo ei,
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.http.impl.nio.client.CloseableHttpAsyncClient |
getHttpAsyncClient() |
protected static KeyManager[] |
getKeyManagersWithCertAlias(TLSClientParameters tlsClientParameters,
KeyManager[] keyManagers) |
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, getURI, isChunkingSupported, 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, EndpointReferenceType t, AsyncHTTPConduitFactory factory) throws IOException
IOException
public org.apache.http.impl.nio.client.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)
protected static KeyManager[] getKeyManagersWithCertAlias(TLSClientParameters tlsClientParameters, KeyManager[] keyManagers) throws GeneralSecurityException
GeneralSecurityException
Apache CXF