Class NettyHttpTransportFactory
java.lang.Object
org.apache.cxf.transport.AbstractTransportFactory
org.apache.cxf.transport.http.netty.server.NettyHttpTransportFactory
- All Implemented Interfaces:
DestinationFactory
public class NettyHttpTransportFactory
extends AbstractTransportFactory
implements DestinationFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final HttpDestinationFactoryprotected final DestinationRegistryFields inherited from class org.apache.cxf.transport.AbstractTransportFactory
PREFERRED_TRANSPORT_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidThis call uses the Configurer from the bus to configure a bean.protected voidprotected StringgetAddress(EndpointInfo endpointInfo) getDestination(EndpointInfo endpointInfo, Bus bus) Create a destination.voidThis call is used by CXF ExtensionManager to inject the activationNamespacesMethods inherited from class org.apache.cxf.transport.AbstractTransportFactory
getTransportIds, setTransportIdsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.transport.DestinationFactory
getTransportIds
-
Field Details
-
DEFAULT_NAMESPACES
-
registry
-
factory
-
-
Constructor Details
-
NettyHttpTransportFactory
public NettyHttpTransportFactory() -
NettyHttpTransportFactory
-
-
Method Details
-
getRegistry
-
setActivationNamespaces
This call is used by CXF ExtensionManager to inject the activationNamespaces- Parameters:
ans- The transport ids.
-
getUriPrefixes
- Specified by:
getUriPrefixesin interfaceDestinationFactory- Overrides:
getUriPrefixesin classAbstractTransportFactory
-
configure
This call uses the Configurer from the bus to configure a bean.- Parameters:
bean-
-
configure
-
getAddress
-
getDestination
Description copied from interface:DestinationFactoryCreate a destination.- Specified by:
getDestinationin interfaceDestinationFactory- Parameters:
endpointInfo- the endpoint info of the destination.- Returns:
- the created Destination.
- Throws:
IOException
-