public class AsyncHTTPConduit
extends org.apache.cxf.transport.http.URLConnectionHTTPConduit
| Modifier and Type | Class and Description |
|---|---|
class |
AsyncHTTPConduit.AsyncWrappedOutputStream |
| Modifier and Type | Field and Description |
|---|---|
static String |
USE_ASYNC |
connectionFactoryauthorizationPolicy, authSupplier, bus, certConstraints, clientSidePolicy, cookies, defaultAddress, endpointInfo, fromEndpointReferenceType, KEY_HTTP_CONNECTION, KEY_HTTP_CONNECTION_ADDRESS, LOG, proxyAuthorizationPolicy, proxyAuthSupplier, proxyFactory, tlsClientParameters, trustDecider| Constructor and Description |
|---|
AsyncHTTPConduit(org.apache.cxf.Bus b,
org.apache.cxf.service.model.EndpointInfo ei,
org.apache.cxf.ws.addressing.EndpointReferenceType t,
AsyncHTTPConduitFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
protected OutputStream |
createOutputStream(org.apache.cxf.message.Message message,
boolean needToCacheRequest,
boolean isChunking,
int chunkThreshold) |
AsyncHTTPConduitFactory |
getAsyncHTTPConduitFactory() |
org.apache.http.impl.nio.client.CloseableHttpAsyncClient |
getHttpAsyncClient() |
protected static KeyManager[] |
getKeyManagersWithCertAlias(org.apache.cxf.configuration.jsse.TLSClientParameters tlsClientParameters,
KeyManager[] keyManagers) |
SSLContext |
getSSLContext(org.apache.cxf.configuration.jsse.TLSClientParameters tlsClientParameters) |
void |
initializeSSLEngine(SSLContext sslcontext,
SSLEngine sslengine) |
protected void |
setupConnection(org.apache.cxf.message.Message message,
org.apache.cxf.transport.http.Address address,
org.apache.cxf.transports.http.configuration.HTTPClientPolicy csPolicy) |
assertMessage, canAssert, close, determineConnectionTimeout, determineReceiveTimeout, extractLocation, finalizeConfig, getAddress, getAuthorization, getAuthSupplier, getBeanName, getClient, getClient, getConduitName, getCookies, getEffectiveAuthPolicy, getLogger, getProxyAuthorization, getProxyAuthSupplier, getTlsClientParameters, getTrustDecider, getURI, isChunkingSupported, prepare, propertyChange, setAuthorization, setAuthSupplier, setClient, setHeadersByAuthorizationPolicy, setProxyAuthorization, setProxyAuthSupplier, setTlsClientParameters, setTrustDecideractivate, deactivate, getMessageObserver, getTargetReference, getTargetReference, setMessageObserverpublic static final String USE_ASYNC
public AsyncHTTPConduit(org.apache.cxf.Bus b,
org.apache.cxf.service.model.EndpointInfo ei,
org.apache.cxf.ws.addressing.EndpointReferenceType t,
AsyncHTTPConduitFactory factory)
throws IOException
IOExceptionpublic org.apache.http.impl.nio.client.CloseableHttpAsyncClient getHttpAsyncClient()
throws IOException
IOExceptionpublic AsyncHTTPConduitFactory getAsyncHTTPConduitFactory()
protected void setupConnection(org.apache.cxf.message.Message message,
org.apache.cxf.transport.http.Address address,
org.apache.cxf.transports.http.configuration.HTTPClientPolicy csPolicy)
throws IOException
setupConnection in class org.apache.cxf.transport.http.URLConnectionHTTPConduitIOExceptionprotected OutputStream createOutputStream(org.apache.cxf.message.Message message, boolean needToCacheRequest, boolean isChunking, int chunkThreshold) throws IOException
createOutputStream in class org.apache.cxf.transport.http.URLConnectionHTTPConduitIOExceptionpublic SSLContext getSSLContext(org.apache.cxf.configuration.jsse.TLSClientParameters tlsClientParameters) throws GeneralSecurityException
GeneralSecurityExceptionpublic void initializeSSLEngine(SSLContext sslcontext, SSLEngine sslengine)
protected static KeyManager[] getKeyManagersWithCertAlias(org.apache.cxf.configuration.jsse.TLSClientParameters tlsClientParameters, KeyManager[] keyManagers) throws GeneralSecurityException
GeneralSecurityExceptionApache CXF