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, DestinationWithEndpoint, MultiplexDestination, Observable, Assertor
public class ServletDestination
- extends AbstractHTTPDestination
Fields inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination |
bus, certConstraints, contextMatchStrategy, CXF_ASYNC_CONTEXT, CXF_CONTINUATION_MESSAGE, fixedParameterOrder, HTTP_CONFIG, HTTP_CONTEXT, HTTP_REQUEST, HTTP_RESPONSE, isServlet3, multiplexWithAddress, PROTOCOL_HEADERS_CONTENT_TYPE, REQUEST_REDIRECTED, RESPONSE_COMMITED, RESPONSE_HEADERS_COPIED, server |
Method Summary |
protected String |
getBasePath(String contextPath)
|
protected Logger |
getLogger()
|
void |
invoke(javax.servlet.ServletConfig config,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
void |
invoke(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
void |
shutdown()
Shutdown the Destination, i.e. |
Methods inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination |
assertMessage, canAssert, contextMatchOnExact, copyRequestHeaders, copyResponseHeaders, flushHeaders, flushHeaders, getAddressValue, getAddressValue, getAddressWithId, getBeanName, getContextMatchStrategy, getId, getInbuiltBackChannel, getServer, isFixedParameterOrder, isMultiplexWithAddress, isOneWay, retrieveFromContinuation, retrieveFromServlet3Async, setContextMatchStrategy, setFixedParameterOrder, setHeaders, setMultiplexWithAddress, setServer, setupContinuation, setupMessage, 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,
EndpointInfo ei,
ServletTransportFactory fact,
String p)
throws IOException
- Constructor, allowing subsititution of configuration.
- Parameters:
b
- the associated Busci
- the associated conduit initiatorei
- the endpoint info of the destinationcfg
- the configuration
- Throws:
IOException
getLogger
protected 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 IOException
- Throws:
IOException
invoke
public void invoke(javax.servlet.ServletConfig config,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws IOException
- Throws:
IOException
getBasePath
protected String getBasePath(String contextPath)
throws IOException
- Overrides:
getBasePath
in class AbstractHTTPDestination
- Throws:
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
Apache CXF