Class AsyncHttpTransportFactory

  • All Implemented Interfaces:
    org.apache.cxf.transport.ConduitInitiator

    public class AsyncHttpTransportFactory
    extends org.apache.cxf.transport.AbstractTransportFactory
    implements org.apache.cxf.transport.ConduitInitiator
    The transport factory is the same as for Apache HttpClient 4.x, sharing the same namespaces and URIs.
    • Field Detail

      • DEFAULT_NAMESPACES

        public static final List<String> DEFAULT_NAMESPACES
    • Constructor Detail

      • AsyncHttpTransportFactory

        public AsyncHttpTransportFactory()
    • Method Detail

      • 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:
        getUriPrefixes in interface org.apache.cxf.transport.ConduitInitiator
        Overrides:
        getUriPrefixes in class org.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:
        getConduit in interface org.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:
        getConduit in interface org.apache.cxf.transport.ConduitInitiator
        Throws:
        IOException