org.apache.cxf.transport.http.netty.client
Class NettyHttpTransportFactory
java.lang.Object
org.apache.cxf.transport.AbstractTransportFactory
org.apache.cxf.transport.http.netty.client.NettyHttpTransportFactory
- All Implemented Interfaces:
- ConduitInitiator
public class NettyHttpTransportFactory
- extends AbstractTransportFactory
- implements ConduitInitiator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_NAMESPACES
public static final List<String> DEFAULT_NAMESPACES
NettyHttpTransportFactory
public NettyHttpTransportFactory()
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 basedtarget
- the target EPR
- Returns:
- a suitable new or pre-existing Conduit
- Throws:
IOException
Apache CXF