public class UndertowHTTPDestination
extends org.apache.cxf.transport.servlet.ServletDestination
| Modifier and Type | Field and Description |
|---|---|
protected UndertowHTTPServerEngine |
engine |
protected ClassLoader |
loader |
protected URL |
nurl |
protected UndertowHTTPServerEngineFactory |
serverEngineFactory |
protected javax.servlet.ServletContext |
servletContext |
bus, certConstraints, contextMatchStrategy, cproviderFactory, CXF_ASYNC_CONTEXT, CXF_CONTINUATION_MESSAGE, decodeBasicAuthWithIso8859, enableWebSocket, fixedParameterOrder, HTTP_CONFIG, HTTP_CONTEXT, HTTP_CONTEXT_MATCH_STRATEGY, HTTP_REQUEST, HTTP_RESPONSE, isServlet3, multiplexWithAddress, path, registry, REQUEST_REDIRECTED, RESPONSE_COMMITED, RESPONSE_HEADERS_COPIED, serverPolicy, SERVICE_REDIRECTION| Constructor and Description |
|---|
UndertowHTTPDestination(org.apache.cxf.Bus bus,
org.apache.cxf.transport.http.DestinationRegistry registry,
org.apache.cxf.service.model.EndpointInfo ei,
UndertowHTTPServerEngineFactory serverEngineFactory)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate()
Activate receipt of incoming messages.
|
protected UndertowHTTPHandler |
createUndertowHTTPHandler(UndertowHTTPDestination jhd,
boolean cmExact) |
protected void |
deactivate()
Deactivate receipt of incoming messages.
|
protected void |
doService(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
doService(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
finalizeConfig()
This method is used to finalize the configuration
after the configuration items have been set.
|
protected String |
getAddress(org.apache.cxf.service.model.EndpointInfo endpointInfo) |
protected String |
getBasePathForFullAddress(String addr) |
ServerEngine |
getEngine() |
protected Logger |
getLogger() |
protected void |
invokeComplete(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
org.apache.cxf.message.Message m) |
protected void |
retrieveEngine()
Post-configure retreival of server engine.
|
protected org.apache.cxf.message.Message |
retrieveFromContinuation(javax.servlet.http.HttpServletRequest req) |
void |
setServletContext(javax.servlet.ServletContext sc) |
protected void |
setupContinuation(org.apache.cxf.message.Message inMessage,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
assertMessage, canAssert, contextMatchOnExact, flushHeaders, flushHeaders, getAddressValue, getAddressValue, getAddressWithId, getBeanName, getBus, getContextMatchStrategy, getId, getInbuiltBackChannel, getPath, getServer, invoke, isFixedParameterOrder, isMultiplexWithAddress, isOneWay, releaseRegistry, retrieveFromServlet3Async, setContextMatchStrategy, setFixedParameterOrder, setMultiplexWithAddress, setServer, setupMessage, shutdowngetAddress, getBackChannel, getEndpointInfogetMessageObserver, getTargetReference, getTargetReference, setMessageObserverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonServletConfigAvailableprotected UndertowHTTPServerEngine engine
protected UndertowHTTPServerEngineFactory serverEngineFactory
protected URL nurl
protected ClassLoader loader
protected javax.servlet.ServletContext servletContext
public UndertowHTTPDestination(org.apache.cxf.Bus bus,
org.apache.cxf.transport.http.DestinationRegistry registry,
org.apache.cxf.service.model.EndpointInfo ei,
UndertowHTTPServerEngineFactory serverEngineFactory)
throws IOException
bus - the associated Busregistry - the associated destinationRegistryei - the endpoint info of the destinationserverEngineFactory - the serverEngineFactory which could be used to create ServerEngineIOExceptionprotected Logger getLogger()
getLogger in class org.apache.cxf.transport.servlet.ServletDestinationprotected void retrieveEngine()
throws GeneralSecurityException,
IOException
GeneralSecurityExceptionIOExceptionpublic void finalizeConfig()
finalizeConfig in class org.apache.cxf.transport.http.AbstractHTTPDestinationprotected void activate()
activate in class org.apache.cxf.transport.http.AbstractHTTPDestinationprotected UndertowHTTPHandler createUndertowHTTPHandler(UndertowHTTPDestination jhd, boolean cmExact)
protected void deactivate()
deactivate in class org.apache.cxf.transport.http.AbstractHTTPDestinationprotected void doService(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws IOException
IOExceptionprotected void doService(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws IOException
IOExceptionprotected void invokeComplete(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
org.apache.cxf.message.Message m)
throws IOException
invokeComplete in class org.apache.cxf.transport.http.AbstractHTTPDestinationIOExceptionpublic void setServletContext(javax.servlet.ServletContext sc)
protected org.apache.cxf.message.Message retrieveFromContinuation(javax.servlet.http.HttpServletRequest req)
retrieveFromContinuation in class org.apache.cxf.transport.http.AbstractHTTPDestinationprotected void setupContinuation(org.apache.cxf.message.Message inMessage,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
setupContinuation in class org.apache.cxf.transport.http.AbstractHTTPDestinationprotected String getAddress(org.apache.cxf.service.model.EndpointInfo endpointInfo)
public ServerEngine getEngine()
Apache CXF