Apache CXF API

org.apache.cxf.transport.http.netty.client
Class NettyHttpTransportFactory

java.lang.Object
  extended by org.apache.cxf.transport.AbstractTransportFactory
      extended by org.apache.cxf.transport.http.netty.client.NettyHttpTransportFactory
All Implemented Interfaces:
ConduitInitiator

public class NettyHttpTransportFactory
extends AbstractTransportFactory
implements ConduitInitiator


Field Summary
static List<String> DEFAULT_NAMESPACES
           
 
Constructor Summary
NettyHttpTransportFactory()
           
 
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

NettyHttpTransportFactory

public NettyHttpTransportFactory()
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