Apache CXF API

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

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

public class NettyHttpTransportFactory
extends AbstractTransportFactory
implements DestinationFactory


Field Summary
static List<String> DEFAULT_NAMESPACES
           
protected  HttpDestinationFactory factory
           
protected  DestinationRegistry registry
           
 
Constructor Summary
NettyHttpTransportFactory()
           
NettyHttpTransportFactory(DestinationRegistry registry)
           
 
Method Summary
protected  void configure(Bus b, Object bean)
          This call uses the Configurer from the bus to configure a bean.
protected  void configure(Bus bus, Object bean, String name, String extraName)
           
protected  String getAddress(EndpointInfo endpointInfo)
           
 Destination getDestination(EndpointInfo endpointInfo, Bus bus)
          Create a destination.
 DestinationRegistry getRegistry()
           
 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.DestinationFactory
getTransportIds
 

Field Detail

DEFAULT_NAMESPACES

public static final List<String> DEFAULT_NAMESPACES

registry

protected final DestinationRegistry registry

factory

protected final HttpDestinationFactory factory
Constructor Detail

NettyHttpTransportFactory

public NettyHttpTransportFactory()

NettyHttpTransportFactory

public NettyHttpTransportFactory(DestinationRegistry registry)
Method Detail

getRegistry

public DestinationRegistry getRegistry()

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

configure

protected void configure(Bus b,
                         Object bean)
This call uses the Configurer from the bus to configure a bean.

Parameters:
bean -

configure

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

getAddress

protected String getAddress(EndpointInfo endpointInfo)

getDestination

public Destination getDestination(EndpointInfo endpointInfo,
                                  Bus bus)
                           throws IOException
Description copied from interface: DestinationFactory
Create a destination.

Specified by:
getDestination in interface DestinationFactory
Parameters:
endpointInfo - the endpoint info of the destination.
Returns:
the created Destination.
Throws:
IOException

Apache CXF API

Apache CXF