Class UndertowWebSocketDestination
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
org.apache.cxf.transport.http_undertow.UndertowHTTPDestination
org.apache.cxf.transport.websocket.undertow.UndertowWebSocketDestination
- All Implemented Interfaces:
Configurable,Assertor,Destination,DestinationWithEndpoint,MultiplexDestination,Observable,ServletConfigAware,WebSocketDestinationService
public class UndertowWebSocketDestination
extends UndertowHTTPDestination
implements WebSocketDestinationService
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
AbstractHTTPDestination.BackChannelConduit, AbstractHTTPDestination.PrincipalAuthorizationPolicyNested classes/interfaces inherited from class org.apache.cxf.transport.AbstractDestination
AbstractDestination.AbstractBackChannelConduit -
Field Summary
Fields inherited from class org.apache.cxf.transport.http_undertow.UndertowHTTPDestination
engine, loader, nurl, serverEngineFactory, servletContextFields inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
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_REDIRECTIONFields inherited from class org.apache.cxf.transport.AbstractDestination
endpointInfo, referenceFields inherited from class org.apache.cxf.transport.AbstractObservable
incomingObserver -
Constructor Summary
ConstructorsConstructorDescriptionUndertowWebSocketDestination(Bus bus, DestinationRegistry registry, EndpointInfo ei, UndertowHTTPServerEngineFactory serverEngineFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected UndertowHTTPHandlercreateUndertowHTTPHandler(UndertowHTTPDestination jhd, boolean cmExact) protected StringgetAddress(EndpointInfo endpointInfo) protected StringgetBasePath(String contextPath) voidinvokeInternal(jakarta.servlet.ServletConfig config, jakarta.servlet.ServletContext context, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) Methods inherited from class org.apache.cxf.transport.http_undertow.UndertowHTTPDestination
activate, deactivate, doService, doService, finalizeConfig, getBasePathForFullAddress, getEngine, getLogger, invokeComplete, retrieveEngine, retrieveFromContinuation, setServletContext, setupContinuationMethods inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
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, shutdownMethods inherited from class org.apache.cxf.transport.AbstractDestination
getAddress, getBackChannel, getEndpointInfoMethods inherited from class org.apache.cxf.transport.AbstractObservable
getMessageObserver, getTargetReference, getTargetReference, setMessageObserverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.transport.Destination
getAddress, getBackChannel, getMessageObserverMethods inherited from interface org.apache.cxf.transport.Observable
setMessageObserverMethods inherited from interface org.apache.cxf.transport.servlet.ServletConfigAware
onServletConfigAvailable
-
Constructor Details
-
UndertowWebSocketDestination
public UndertowWebSocketDestination(Bus bus, DestinationRegistry registry, EndpointInfo ei, UndertowHTTPServerEngineFactory serverEngineFactory) throws IOException - Throws:
IOException
-
-
Method Details
-
invokeInternal
public void invokeInternal(jakarta.servlet.ServletConfig config, jakarta.servlet.ServletContext context, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws IOException - Specified by:
invokeInternalin interfaceWebSocketDestinationService- Throws:
IOException
-
getAddress
- Overrides:
getAddressin classUndertowHTTPDestination
-
getBasePath
- Overrides:
getBasePathin classServletDestination- Throws:
IOException
-
createUndertowHTTPHandler
protected UndertowHTTPHandler createUndertowHTTPHandler(UndertowHTTPDestination jhd, boolean cmExact) - Overrides:
createUndertowHTTPHandlerin classUndertowHTTPDestination
-