org.apache.cxf.transport.servlet
Class ServletDestination
java.lang.Object
org.apache.cxf.transport.AbstractObservable
org.apache.cxf.transport.AbstractDestination
org.apache.cxf.transport.AbstractMultiplexDestination
org.apache.cxf.transport.http.AbstractHTTPDestination
org.apache.cxf.transport.servlet.ServletDestination
- All Implemented Interfaces:
- Configurable, Destination, MultiplexDestination, Observable, Assertor
public class ServletDestination
- extends AbstractHTTPDestination
| Methods inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination |
assertMessage, canAssert, contextMatchOnExact, copyRequestHeaders, copyResponseHeaders, flushHeaders, getAddressValue, getAddressValue, getAddressWithId, getBeanName, getContextMatchStrategy, getId, getInbuiltBackChannel, getServer, isFixedParameterOrder, isMultiplexWithAddress, isOneWay, markPartialResponse, setContextMatchStrategy, setFixedParameterOrder, setHeaders, setMultiplexWithAddress, setServer, setupMessage, updateResponseHeaders |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletDestination
public ServletDestination(Bus b,
ConduitInitiator ci,
EndpointInfo ei,
ServletTransportFactory fact,
java.lang.String p)
throws java.io.IOException
- Constructor, allowing subsititution of configuration.
- Parameters:
b - the associated Busci - the associated conduit initiatorei - the endpoint info of the destinationcfg - the configuration
- Throws:
java.io.IOException
getLogger
protected java.util.logging.Logger getLogger()
- Specified by:
getLogger in class AbstractObservable
- Returns:
- the logger to use
invoke
public void invoke(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws java.io.IOException
- Throws:
java.io.IOException
getBasePath
protected java.lang.String getBasePath(java.lang.String contextPath)
throws java.io.IOException
- Overrides:
getBasePath in class AbstractHTTPDestination
- Throws:
java.io.IOException
shutdown
public void shutdown()
- Description copied from class:
AbstractDestination
- Shutdown the Destination, i.e. stop accepting incoming messages.
- Specified by:
shutdown in interface Destination- Overrides:
shutdown in class AbstractDestination
getMessageObserver
public MessageObserver getMessageObserver()
- Specified by:
getMessageObserver in interface Destination- Overrides:
getMessageObserver in class AbstractObservable
- Returns:
- the observer to notify on receipt of incoming message
getEndpointInfo
public EndpointInfo getEndpointInfo()
Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.