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
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>DEFAULT_NAMESPACES-
Fields inherited from class org.apache.cxf.transport.AbstractTransportFactory
PREFERRED_TRANSPORT_ID
-
-
Constructor Summary
Constructors Constructor Description NettyHttpTransportFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigure(Bus b, Object bean)protected voidconfigure(Bus bus, Object bean, String name, String extraName)protected StringgetAddress(EndpointInfo endpointInfo)ConduitgetConduit(EndpointInfo endpointInfo, Bus bus)Initiate an outbound Conduit.ConduitgetConduit(EndpointInfo endpointInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target, Bus bus)Initiate an outbound Conduit.Set<String>getUriPrefixes()voidsetActivationNamespaces(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
-
-
-
-
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:
getUriPrefixesin interfaceConduitInitiator- Overrides:
getUriPrefixesin classAbstractTransportFactory
-
getAddress
protected String getAddress(EndpointInfo endpointInfo)
-
getConduit
public Conduit getConduit(EndpointInfo endpointInfo, Bus bus) throws IOException
Description copied from interface:ConduitInitiatorInitiate an outbound Conduit.- Specified by:
getConduitin interfaceConduitInitiator- Parameters:
endpointInfo- the endpoint info of the target- Returns:
- a suitable new or pre-existing Conduit
- Throws:
IOException
-
getConduit
public Conduit getConduit(EndpointInfo endpointInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target, Bus bus) throws IOException
Description copied from interface:ConduitInitiatorInitiate an outbound Conduit.- Specified by:
getConduitin interfaceConduitInitiator- 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
-
-