Class AsyncHttpTransportFactory
java.lang.Object
org.apache.cxf.transport.AbstractTransportFactory
org.apache.cxf.transport.http.asyncclient.hc5.AsyncHttpTransportFactory
- All Implemented Interfaces:
ConduitInitiator
The transport factory is the same as for Apache HttpClient 4.x, sharing the same namespaces and
URIs.
-
Field Summary
FieldsFields inherited from class org.apache.cxf.transport.AbstractTransportFactory
PREFERRED_TRANSPORT_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected StringgetAddress(EndpointInfo endpointInfo) getConduit(EndpointInfo endpointInfo, Bus bus) Initiate an outbound Conduit.getConduit(EndpointInfo endpointInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target, Bus bus) Initiate an outbound Conduit.voidThis call is used by CXF ExtensionManager to inject the activationNamespacesvoidMethods inherited from class org.apache.cxf.transport.AbstractTransportFactory
getTransportIds, setTransportIdsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.transport.ConduitInitiator
getTransportIds
-
Field Details
-
DEFAULT_NAMESPACES
-
-
Constructor Details
-
AsyncHttpTransportFactory
public AsyncHttpTransportFactory()
-
-
Method Details
-
setAsyncHTTPConduitFactory
-
setActivationNamespaces
This call is used by CXF ExtensionManager to inject the activationNamespaces- Parameters:
ans- The transport ids.
-
getUriPrefixes
- Specified by:
getUriPrefixesin interfaceConduitInitiator- Overrides:
getUriPrefixesin classAbstractTransportFactory
-
configure
-
configure
-
getAddress
-
getConduit
Description copied from interface:ConduitInitiatorInitiate an outbound Conduit.- Specified by:
getConduitin interfaceConduitInitiator- Parameters:
endpointInfo- the endpoint info of the target- Returns:
- a suitable new or pre-existing Conduit
- Throws:
IOException
-
getConduit
public Conduit getConduit(EndpointInfo endpointInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target, Bus bus) throws IOException Description copied from interface:ConduitInitiatorInitiate an outbound Conduit.- Specified by:
getConduitin interfaceConduitInitiator- Parameters:
endpointInfo- the endpoint info for a local endpoint on which the the configuration should be basedtarget- the target EPR- Returns:
- a suitable new or pre-existing Conduit
- Throws:
IOException
-