public class AsyncHTTPConduitFactory extends Object implements org.apache.cxf.transport.http.HTTPConduitFactory
| Modifier and Type | Class and Description |
|---|---|
class |
AsyncHTTPConduitFactory.CloseIdleConnectionThread |
static class |
AsyncHTTPConduitFactory.UseAsyncPolicy |
| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTION_MAX_IDLE |
static String |
CONNECTION_TTL |
static String |
INTEREST_OP_QUEUED |
static String |
MAX_CONNECTIONS |
static String |
MAX_PER_HOST_CONNECTIONS |
static String |
SELECT_INTERVAL |
static String |
SO_KEEPALIVE |
static String |
SO_LINGER |
static String |
SO_TIMEOUT |
static String |
TCP_NODELAY |
static String |
THREAD_COUNT |
static String |
USE_POLICY |
| Constructor and Description |
|---|
AsyncHTTPConduitFactory(org.apache.cxf.Bus b) |
AsyncHTTPConduitFactory(Map<String,Object> conf) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adaptClientBuilder(org.apache.http.impl.nio.client.HttpAsyncClientBuilder httpAsyncClientBuilder) |
org.apache.http.impl.nio.client.CloseableHttpAsyncClient |
createClient(AsyncHTTPConduit c) |
org.apache.cxf.transport.http.HTTPConduit |
createConduit(org.apache.cxf.Bus bus,
org.apache.cxf.service.model.EndpointInfo localInfo,
org.apache.cxf.ws.addressing.EndpointReferenceType target) |
org.apache.cxf.transport.http.HTTPConduit |
createConduit(org.apache.cxf.transport.http.HTTPTransportFactory f,
org.apache.cxf.Bus bus,
org.apache.cxf.service.model.EndpointInfo localInfo,
org.apache.cxf.ws.addressing.EndpointReferenceType target) |
AsyncHTTPConduitFactory.UseAsyncPolicy |
getUseAsyncPolicy() |
boolean |
isShutdown() |
void |
setupNIOClient(org.apache.cxf.transports.http.configuration.HTTPClientPolicy clientPolicy) |
void |
shutdown() |
void |
update(Map<String,Object> props) |
public static final String TCP_NODELAY
public static final String SO_KEEPALIVE
public static final String SO_LINGER
public static final String SO_TIMEOUT
public static final String MAX_CONNECTIONS
public static final String MAX_PER_HOST_CONNECTIONS
public static final String CONNECTION_TTL
public static final String CONNECTION_MAX_IDLE
public static final String THREAD_COUNT
public static final String INTEREST_OP_QUEUED
public static final String SELECT_INTERVAL
public static final String USE_POLICY
public AsyncHTTPConduitFactory.UseAsyncPolicy getUseAsyncPolicy()
public boolean isShutdown()
public org.apache.cxf.transport.http.HTTPConduit createConduit(org.apache.cxf.transport.http.HTTPTransportFactory f,
org.apache.cxf.Bus bus,
org.apache.cxf.service.model.EndpointInfo localInfo,
org.apache.cxf.ws.addressing.EndpointReferenceType target)
throws IOException
createConduit in interface org.apache.cxf.transport.http.HTTPConduitFactoryIOExceptionpublic org.apache.cxf.transport.http.HTTPConduit createConduit(org.apache.cxf.Bus bus,
org.apache.cxf.service.model.EndpointInfo localInfo,
org.apache.cxf.ws.addressing.EndpointReferenceType target)
throws IOException
IOExceptionpublic void shutdown()
public void setupNIOClient(org.apache.cxf.transports.http.configuration.HTTPClientPolicy clientPolicy)
throws org.apache.http.nio.reactor.IOReactorException
org.apache.http.nio.reactor.IOReactorExceptionprotected void adaptClientBuilder(org.apache.http.impl.nio.client.HttpAsyncClientBuilder httpAsyncClientBuilder)
public org.apache.http.impl.nio.client.CloseableHttpAsyncClient createClient(AsyncHTTPConduit c) throws IOException
IOExceptionApache CXF