public class NettyHttpTransportFactory extends AbstractTransportFactory implements DestinationFactory
Modifier and Type | Field and Description |
---|---|
static List<String> |
DEFAULT_NAMESPACES |
protected HttpDestinationFactory |
factory |
protected DestinationRegistry |
registry |
PREFERRED_TRANSPORT_ID
Constructor and Description |
---|
NettyHttpTransportFactory() |
NettyHttpTransportFactory(DestinationRegistry registry) |
Modifier and Type | Method and Description |
---|---|
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
|
getTransportIds, setTransportIds
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTransportIds
protected final DestinationRegistry registry
protected final HttpDestinationFactory factory
public NettyHttpTransportFactory()
public NettyHttpTransportFactory(DestinationRegistry registry)
public DestinationRegistry getRegistry()
public void setActivationNamespaces(Collection<String> ans)
ans
- The transport ids.public Set<String> getUriPrefixes()
getUriPrefixes
in interface DestinationFactory
getUriPrefixes
in class AbstractTransportFactory
protected void configure(Bus b, Object bean)
bean
- protected String getAddress(EndpointInfo endpointInfo)
public Destination getDestination(EndpointInfo endpointInfo, Bus bus) throws IOException
DestinationFactory
getDestination
in interface DestinationFactory
endpointInfo
- the endpoint info of the destination.IOException
Apache CXF