public class UndertowHTTPDestination
extends org.apache.cxf.transport.servlet.ServletDestination
| Modifier and Type | Field and Description |
|---|---|
protected HttpServerEngine |
engine |
protected ClassLoader |
loader |
protected URL |
nurl |
protected HttpServerEngineFactory |
serverEngineFactory |
protected javax.servlet.ServletContext |
servletContext |
bus, certConstraints, contextMatchStrategy, cproviderFactory, CXF_ASYNC_CONTEXT, CXF_CONTINUATION_MESSAGE, 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)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Activate receipt of incoming messages.
|
UndertowHTTPHandler |
createJettyHTTPHandler(UndertowHTTPDestination jhd,
boolean cmExact) |
void |
deactivate()
Deactivate receipt of incoming messages.
|
void |
doService(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
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.
|
String |
getAddress(org.apache.cxf.service.model.EndpointInfo endpointInfo) |
String |
getBasePathForFullAddress(String addr) |
protected Logger |
getLogger() |
void |
retrieveEngine()
Post-configure retreival of server engine.
|
void |
setServletContext(javax.servlet.ServletContext sc) |
assertMessage, canAssert, contextMatchOnExact, flushHeaders, flushHeaders, getAddressValue, getAddressValue, getAddressWithId, getBeanName, getBus, getContextMatchStrategy, getId, getInbuiltBackChannel, getPath, getServer, invoke, invokeComplete, isFixedParameterOrder, isMultiplexWithAddress, isOneWay, releaseRegistry, retrieveFromContinuation, retrieveFromServlet3Async, setContextMatchStrategy, setFixedParameterOrder, setMultiplexWithAddress, setServer, setupContinuation, setupMessage, shutdowngetAddress, getBackChannel, getEndpointInfogetMessageObserver, getTargetReference, getTargetReference, setMessageObserverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected HttpServerEngine engine
protected HttpServerEngineFactory serverEngineFactory
protected javax.servlet.ServletContext servletContext
protected URL nurl
protected ClassLoader loader
public UndertowHTTPDestination(org.apache.cxf.Bus bus,
org.apache.cxf.transport.http.DestinationRegistry registry,
org.apache.cxf.service.model.EndpointInfo ei)
throws IOException
bus - the associated Busregistry - the associated destinationRegistryei - the endpoint info of the destinationIOExceptionprotected Logger getLogger()
getLogger in class org.apache.cxf.transport.servlet.ServletDestinationpublic void setServletContext(javax.servlet.ServletContext sc)
public void retrieveEngine()
throws GeneralSecurityException,
IOException
GeneralSecurityExceptionIOExceptionpublic void finalizeConfig()
finalizeConfig in class org.apache.cxf.transport.http.AbstractHTTPDestinationpublic String getAddress(org.apache.cxf.service.model.EndpointInfo endpointInfo)
public void activate()
activate in class org.apache.cxf.transport.http.AbstractHTTPDestinationpublic UndertowHTTPHandler createJettyHTTPHandler(UndertowHTTPDestination jhd, boolean cmExact)
public void deactivate()
deactivate in class org.apache.cxf.transport.http.AbstractHTTPDestinationpublic void doService(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws IOException
IOExceptionpublic void doService(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws IOException
IOExceptionCopyright © 2016. All rights reserved.