Class AsyncHTTPConduitFactory
java.lang.Object
org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduitFactory
- All Implemented Interfaces:
HTTPConduitFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic enum -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidadaptClientBuilder(org.apache.http.impl.nio.client.HttpAsyncClientBuilder httpAsyncClientBuilder) org.apache.http.impl.nio.client.CloseableHttpAsyncClientcreateConduit(Bus bus, EndpointInfo localInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target) createConduit(HTTPTransportFactory f, Bus bus, EndpointInfo localInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target) booleanvoidsetupNIOClient(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
-
-
Method Details
-
getUseAsyncPolicy
-
update
-
isShutdown
public boolean isShutdown() -
createConduit
public HTTPConduit createConduit(HTTPTransportFactory f, Bus bus, EndpointInfo localInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target) throws IOException - Specified by:
createConduitin interfaceHTTPConduitFactory- Throws:
IOException
-
createConduit
public HTTPConduit createConduit(Bus bus, EndpointInfo localInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target) throws IOException - Throws:
IOException
-
shutdown
public void shutdown() -
setupNIOClient
public void setupNIOClient(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
-