Apache CXF API

org.apache.cxf.transport.servlet
Class ServletTransportFactory

java.lang.Object
  extended by org.apache.cxf.transport.AbstractTransportFactory
      extended by org.apache.cxf.transport.http.AbstractHTTPTransportFactory
          extended by org.apache.cxf.transport.servlet.ServletTransportFactory
All Implemented Interfaces:
DestinationFactory, WSDLEndpointFactory

public class ServletTransportFactory
extends AbstractHTTPTransportFactory
implements DestinationFactory


Field Summary
 
Fields inherited from class org.apache.cxf.transport.AbstractTransportFactory
bus
 
Constructor Summary
ServletTransportFactory()
           
ServletTransportFactory(Bus b)
           
 
Method Summary
 Destination getDestination(EndpointInfo endpointInfo)
          Create a destination.
 ServletDestination getDestinationForPath(String path)
           
 ServletDestination getDestinationForPath(String path, boolean tryDecoding)
           
 Collection<ServletDestination> getDestinations()
           
 Set<String> getDestinationsPaths()
           
 void removeDestination(String path)
           
 void setBus(Bus b)
           
 void setServletController(ServletController c)
           
 
Methods inherited from class org.apache.cxf.transport.http.AbstractHTTPTransportFactory
configure, configure, createEndpointInfo, createPortExtensors, getUriPrefixes, setActivationNamespaces
 
Methods inherited from class org.apache.cxf.transport.AbstractTransportFactory
getBus, getTransportIds, register, setTransportIds, unregister
 
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, getUriPrefixes
 

Constructor Detail

ServletTransportFactory

public ServletTransportFactory(Bus b)

ServletTransportFactory

public ServletTransportFactory()
Method Detail

setServletController

public void setServletController(ServletController c)

setBus

public void setBus(Bus b)
Overrides:
setBus in class AbstractTransportFactory

removeDestination

public void removeDestination(String path)
                       throws IOException
Throws:
IOException

getDestination

public Destination getDestination(EndpointInfo endpointInfo)
                           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

getDestinationForPath

public ServletDestination getDestinationForPath(String path)

getDestinationForPath

public ServletDestination getDestinationForPath(String path,
                                                boolean tryDecoding)

getDestinations

public Collection<ServletDestination> getDestinations()

getDestinationsPaths

public Set<String> getDestinationsPaths()

Apache CXF API

Apache CXF