Class AsyncHTTPConduitFactory
java.lang.Object
org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduitFactory
- All Implemented Interfaces:
org.apache.cxf.transport.http.HTTPConduitFactory
public class AsyncHTTPConduitFactory
extends Object
implements org.apache.cxf.transport.http.HTTPConduitFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic enum -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAsyncHTTPConduitFactory(Map<String, Object> conf) AsyncHTTPConduitFactory(org.apache.cxf.Bus b) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidadaptClientBuilder(org.apache.http.impl.nio.client.HttpAsyncClientBuilder httpAsyncClientBuilder) org.apache.http.impl.nio.client.CloseableHttpAsyncClientorg.apache.cxf.transport.http.HTTPConduitcreateConduit(org.apache.cxf.Bus bus, org.apache.cxf.service.model.EndpointInfo localInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target) org.apache.cxf.transport.http.HTTPConduitcreateConduit(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) booleanvoidsetupNIOClient(org.apache.cxf.transports.http.configuration.HTTPClientPolicy clientPolicy) voidshutdown()void
-
Field Details
-
TCP_NODELAY
- See Also:
-
SO_KEEPALIVE
- See Also:
-
SO_LINGER
- See Also:
-
SO_TIMEOUT
- See Also:
-
MAX_CONNECTIONS
- See Also:
-
MAX_PER_HOST_CONNECTIONS
- See Also:
-
CONNECTION_TTL
- See Also:
-
CONNECTION_MAX_IDLE
- See Also:
-
THREAD_COUNT
- See Also:
-
INTEREST_OP_QUEUED
- See Also:
-
SELECT_INTERVAL
- See Also:
-
USE_POLICY
- See Also:
-
-
Constructor Details
-
AsyncHTTPConduitFactory
-
AsyncHTTPConduitFactory
public AsyncHTTPConduitFactory(org.apache.cxf.Bus b)
-
-
Method Details
-
getUseAsyncPolicy
-
update
-
isShutdown
public boolean isShutdown() -
createConduit
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 - Specified by:
createConduitin interfaceorg.apache.cxf.transport.http.HTTPConduitFactory- Throws:
IOException
-
createConduit
public 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 - Throws:
IOException
-
shutdown
public void shutdown() -
setupNIOClient
public void setupNIOClient(org.apache.cxf.transports.http.configuration.HTTPClientPolicy clientPolicy) throws org.apache.http.nio.reactor.IOReactorException - Throws:
org.apache.http.nio.reactor.IOReactorException
-
adaptClientBuilder
protected void adaptClientBuilder(org.apache.http.impl.nio.client.HttpAsyncClientBuilder httpAsyncClientBuilder) -
createClient
public org.apache.http.impl.nio.client.CloseableHttpAsyncClient createClient(AsyncHTTPConduit c) throws IOException - Throws:
IOException
-