Apache CXF API

org.apache.cxf.transport.http.asyncclient
Class AsyncHttpTransportFactory

java.lang.Object
  extended by org.apache.cxf.transport.AbstractTransportFactory
      extended by org.apache.cxf.transport.http.asyncclient.AsyncHttpTransportFactory
All Implemented Interfaces:
ConduitInitiator

public class AsyncHttpTransportFactory
extends AbstractTransportFactory
implements ConduitInitiator


Field Summary
static List<String> DEFAULT_NAMESPACES
           
 
Constructor Summary
AsyncHttpTransportFactory()
           
 
Method Summary
protected  void configure(Bus b, Object bean)
           
protected  void configure(Bus bus, Object bean, String name, String extraName)
           
protected  String getAddress(EndpointInfo endpointInfo)
           
 Conduit getConduit(EndpointInfo endpointInfo, Bus bus)
          Initiate an outbound Conduit.
 Conduit getConduit(EndpointInfo endpointInfo, EndpointReferenceType target, Bus bus)
          Initiate an outbound Conduit.
 Set<String> getUriPrefixes()
           
 void setActivationNamespaces(Collection<String> ans)
          This call is used by CXF ExtensionManager to inject the activationNamespaces
 
Methods inherited from class org.apache.cxf.transport.AbstractTransportFactory
getTransportIds, setTransportIds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.transport.ConduitInitiator
getTransportIds
 

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 ConduitInitiator
Overrides:
getUriPrefixes in class AbstractTransportFactory

configure

protected void configure(Bus b,
                         Object bean)

configure

protected void configure(Bus bus,
                         Object bean,
                         String name,
                         String extraName)

getAddress

protected String getAddress(EndpointInfo endpointInfo)

getConduit

public Conduit getConduit(EndpointInfo endpointInfo,
                          Bus bus)
                   throws IOException
Description copied from interface: ConduitInitiator
Initiate an outbound Conduit.

Specified by:
getConduit in interface ConduitInitiator
Parameters:
endpointInfo - the endpoint info of the target
Returns:
a suitable new or pre-existing Conduit
Throws:
IOException

getConduit

public Conduit getConduit(EndpointInfo endpointInfo,
                          EndpointReferenceType target,
                          Bus bus)
                   throws IOException
Description copied from interface: ConduitInitiator
Initiate an outbound Conduit.

Specified by:
getConduit in interface ConduitInitiator
Parameters:
endpointInfo - the endpoint info for a local endpoint on which the the configuration should be based
target - the target EPR
Returns:
a suitable new or pre-existing Conduit
Throws:
IOException

Apache CXF API

Apache CXF