Class AsyncHttpTransportFactory
- java.lang.Object
-
- org.apache.cxf.transport.AbstractTransportFactory
-
- org.apache.cxf.transport.http.asyncclient.hc5.AsyncHttpTransportFactory
-
- All Implemented Interfaces:
org.apache.cxf.transport.ConduitInitiator
public class AsyncHttpTransportFactory extends org.apache.cxf.transport.AbstractTransportFactory implements org.apache.cxf.transport.ConduitInitiatorThe transport factory is the same as for Apache HttpClient 4.x, sharing the same namespaces and URIs.
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>DEFAULT_NAMESPACES
-
Constructor Summary
Constructors Constructor Description AsyncHttpTransportFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigure(org.apache.cxf.Bus b, Object bean)protected voidconfigure(org.apache.cxf.Bus bus, Object bean, String name, String extraName)protected StringgetAddress(org.apache.cxf.service.model.EndpointInfo endpointInfo)org.apache.cxf.transport.ConduitgetConduit(org.apache.cxf.service.model.EndpointInfo endpointInfo, org.apache.cxf.Bus bus)org.apache.cxf.transport.ConduitgetConduit(org.apache.cxf.service.model.EndpointInfo endpointInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target, org.apache.cxf.Bus bus)Set<String>getUriPrefixes()voidsetActivationNamespaces(Collection<String> ans)This call is used by CXF ExtensionManager to inject the activationNamespacesvoidsetAsyncHTTPConduitFactory(AsyncHTTPConduitFactory f)-
Methods inherited from class org.apache.cxf.transport.AbstractTransportFactory
getTransportIds, setTransportIds
-
-
-
-
Method Detail
-
setAsyncHTTPConduitFactory
public void setAsyncHTTPConduitFactory(AsyncHTTPConduitFactory f)
-
setActivationNamespaces
public void setActivationNamespaces(Collection<String> ans)
This call is used by CXF ExtensionManager to inject the activationNamespaces- Parameters:
ans- The transport ids.
-
getUriPrefixes
public Set<String> getUriPrefixes()
- Specified by:
getUriPrefixesin interfaceorg.apache.cxf.transport.ConduitInitiator- Overrides:
getUriPrefixesin classorg.apache.cxf.transport.AbstractTransportFactory
-
configure
protected void configure(org.apache.cxf.Bus b, Object bean)
-
configure
protected void configure(org.apache.cxf.Bus bus, Object bean, String name, String extraName)
-
getAddress
protected String getAddress(org.apache.cxf.service.model.EndpointInfo endpointInfo)
-
getConduit
public org.apache.cxf.transport.Conduit getConduit(org.apache.cxf.service.model.EndpointInfo endpointInfo, org.apache.cxf.Bus bus) throws IOException- Specified by:
getConduitin interfaceorg.apache.cxf.transport.ConduitInitiator- Throws:
IOException
-
getConduit
public org.apache.cxf.transport.Conduit getConduit(org.apache.cxf.service.model.EndpointInfo endpointInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target, org.apache.cxf.Bus bus) throws IOException- Specified by:
getConduitin interfaceorg.apache.cxf.transport.ConduitInitiator- Throws:
IOException
-
-