org.apache.cxf.transport.servlet
Class ServletTransportFactory
java.lang.Object
org.apache.cxf.transport.AbstractTransportFactory
org.apache.cxf.transport.http.AbstractHTTPTransportFactory
org.apache.cxf.transport.servlet.ServletTransportFactory
- All Implemented Interfaces:
- ConduitInitiator, DestinationFactory, WSDLEndpointFactory
public class ServletTransportFactory
- extends AbstractHTTPTransportFactory
- implements DestinationFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletTransportFactory
public ServletTransportFactory(Bus b)
ServletTransportFactory
public ServletTransportFactory()
setServletController
public void setServletController(ServletController c)
setBus
public void setBus(Bus b)
- Description copied from class:
AbstractHTTPTransportFactory
- This method is used by Spring to inject the bus.
- Overrides:
setBus
in class AbstractHTTPTransportFactory
- Parameters:
b
- The CXF bus.
register
@PostConstruct
public void register()
removeDestination
public void removeDestination(java.lang.String path)
throws java.io.IOException
- Throws:
java.io.IOException
getDestination
public Destination getDestination(EndpointInfo endpointInfo)
throws java.io.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:
java.io.IOException
getDestinationForPath
public ServletDestination getDestinationForPath(java.lang.String path)
getDestinationForPath
public ServletDestination getDestinationForPath(java.lang.String path,
boolean tryDecoding)
getDestinations
public java.util.Collection<ServletDestination> getDestinations()
getDestinationsPaths
public java.util.Set<java.lang.String> getDestinationsPaths()
Apache CXF