public class HTTPTransportFactory extends AbstractTransportFactory implements ConduitInitiator, DestinationFactory
Modifier and Type | Field and Description |
---|---|
static List<String> |
DEFAULT_NAMESPACES |
protected DestinationRegistry |
registry |
PREFERRED_TRANSPORT_ID
Modifier | Constructor and Description |
---|---|
|
HTTPTransportFactory() |
|
HTTPTransportFactory(DestinationRegistry registry) |
protected |
HTTPTransportFactory(List<String> transportIds,
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) |
EndpointInfo |
createEndpointInfo(ServiceInfo serviceInfo,
BindingInfo b,
List<?> ees) |
void |
createPortExtensors(EndpointInfo ei,
Service service) |
protected HTTPConduitFactory |
findFactory(EndpointInfo endpointInfo,
Bus bus) |
Conduit |
getConduit(EndpointInfo endpointInfo,
Bus bus)
This call creates a new HTTPConduit for the endpoint.
|
Conduit |
getConduit(EndpointInfo endpointInfo,
org.apache.cxf.ws.addressing.EndpointReferenceType target,
Bus bus)
This call creates a new HTTP Conduit based on the EndpointInfo and
EndpointReferenceType.
|
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
|
void |
setRegistry(DestinationRegistry newRegistry) |
getTransportIds, setTransportIds
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTransportIds
getTransportIds
protected DestinationRegistry registry
public HTTPTransportFactory()
public HTTPTransportFactory(DestinationRegistry registry)
protected HTTPTransportFactory(List<String> transportIds, DestinationRegistry registry)
public DestinationRegistry getRegistry()
public void setRegistry(DestinationRegistry newRegistry)
public void setActivationNamespaces(Collection<String> ans)
ans
- The transport ids.public EndpointInfo createEndpointInfo(ServiceInfo serviceInfo, BindingInfo b, List<?> ees)
public void createPortExtensors(EndpointInfo ei, Service service)
public Set<String> getUriPrefixes()
getUriPrefixes
in interface ConduitInitiator
getUriPrefixes
in interface DestinationFactory
getUriPrefixes
in class AbstractTransportFactory
protected void configure(Bus b, Object bean)
bean
- public Conduit getConduit(EndpointInfo endpointInfo, Bus bus) throws IOException
getConduit
in interface ConduitInitiator
endpointInfo
- the endpoint info of the targetIOException
public Conduit getConduit(EndpointInfo endpointInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target, Bus bus) throws IOException
getConduit
in interface ConduitInitiator
endpointInfo
- the endpoint info for a local endpoint on which the
the configuration should be basedtarget
- the target EPRIOException
protected HTTPConduitFactory findFactory(EndpointInfo endpointInfo, Bus bus)
public Destination getDestination(EndpointInfo endpointInfo, Bus bus) throws IOException
DestinationFactory
getDestination
in interface DestinationFactory
endpointInfo
- the endpoint info of the destination.IOException
Apache CXF