Apache CXF API

org.apache.cxf.binding.http
Class HttpBindingFactory

java.lang.Object
  extended by org.apache.cxf.binding.AbstractBaseBindingFactory
      extended by org.apache.cxf.binding.AbstractBindingFactory
          extended by org.apache.cxf.binding.http.HttpBindingFactory
All Implemented Interfaces:
BindingFactory, WSDLBindingFactory

public class HttpBindingFactory
extends AbstractBindingFactory


Field Summary
static Collection<String> DEFAULT_NAMESPACES
           
static String HTTP_BINDING_ID
           
 
Fields inherited from class org.apache.cxf.binding.AbstractBaseBindingFactory
activationNamespaces, bus
 
Constructor Summary
HttpBindingFactory()
           
HttpBindingFactory(Bus bus)
           
 
Method Summary
 Binding createBinding(BindingInfo bi)
          Create a Binding from the BindingInfo metadata.
 BindingInfo createBindingInfo(Service service, String namespace, Object obj)
          Creates a "default" BindingInfo object for the service.
 List<ResourceStrategy> getStrategies()
           
 void setStrategies(List<ResourceStrategy> strategies)
           
 
Methods inherited from class org.apache.cxf.binding.AbstractBindingFactory
addMessageFromBinding, createBindingInfo, initializeBindingInfo
 
Methods inherited from class org.apache.cxf.binding.AbstractBaseBindingFactory
addListener, createBindingInfo, getActivationNamespaces, getBus, setActivationNamespaces, setBus
 
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.binding.BindingFactory
addListener
 

Field Detail

HTTP_BINDING_ID

public static final String HTTP_BINDING_ID
See Also:
Constant Field Values

DEFAULT_NAMESPACES

public static final Collection<String> DEFAULT_NAMESPACES
Constructor Detail

HttpBindingFactory

public HttpBindingFactory()

HttpBindingFactory

public HttpBindingFactory(Bus bus)
Method Detail

createBinding

public Binding createBinding(BindingInfo bi)
Description copied from interface: BindingFactory
Create a Binding from the BindingInfo metadata.

Returns:
the Binding object

createBindingInfo

public BindingInfo createBindingInfo(Service service,
                                     String namespace,
                                     Object obj)
Description copied from class: AbstractBaseBindingFactory
Creates a "default" BindingInfo object for the service. Can return a subclass which can then process the extensors within the subclass. By default, just creates it for the first ServiceInfo in the service

Specified by:
createBindingInfo in interface BindingFactory
Overrides:
createBindingInfo in class AbstractBaseBindingFactory
obj - - binding specific configuration object
Returns:
the BindingInfo object

getStrategies

public List<ResourceStrategy> getStrategies()

setStrategies

public void setStrategies(List<ResourceStrategy> strategies)

Apache CXF API

Apache CXF