Class Jetty12WebSocketDestination
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_jetty.JettyHTTPDestination
org.apache.cxf.transport.websocket.jetty12.Jetty12WebSocketDestination
- All Implemented Interfaces:
org.apache.cxf.configuration.Configurable,org.apache.cxf.transport.Assertor,org.apache.cxf.transport.Destination,org.apache.cxf.transport.DestinationWithEndpoint,org.apache.cxf.transport.MultiplexDestination,org.apache.cxf.transport.Observable,org.apache.cxf.transport.servlet.ServletConfigAware,WebSocketDestinationService
public class Jetty12WebSocketDestination
extends org.apache.cxf.transport.http_jetty.JettyHTTPDestination
implements WebSocketDestinationService
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
org.apache.cxf.transport.http.AbstractHTTPDestination.BackChannelConduit, org.apache.cxf.transport.http.AbstractHTTPDestination.PrincipalAuthorizationPolicyNested classes/interfaces inherited from class org.apache.cxf.transport.AbstractDestination
org.apache.cxf.transport.AbstractDestination.AbstractBackChannelConduit -
Field Summary
Fields inherited from class org.apache.cxf.transport.http_jetty.JettyHTTPDestination
engine, handler, 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
ConstructorsConstructorDescriptionJetty12WebSocketDestination(org.apache.cxf.Bus bus, org.apache.cxf.transport.http.DestinationRegistry registry, org.apache.cxf.service.model.EndpointInfo ei, org.apache.cxf.transport.http_jetty.JettyHTTPServerEngineFactory serverEngineFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate()Activate receipt of incoming messages.protected org.apache.cxf.transport.http_jetty.JettyHTTPHandlercreateJettyHTTPHandler(org.apache.cxf.transport.http_jetty.JettyHTTPDestination jhd, boolean cmExact) protected StringgetAddress(org.apache.cxf.service.model.EndpointInfo endpointInfo) org.eclipse.jetty.ee10.websocket.server.JettyWebSocketCreatororg.eclipse.jetty.ee10.websocket.server.JettyWebSocketServerContainergetWebSocketContainer(jakarta.servlet.ServletContext context) voidinvoke(jakarta.servlet.ServletConfig config, jakarta.servlet.ServletContext context, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) voidinvokeInternal(jakarta.servlet.ServletConfig config, jakarta.servlet.ServletContext context, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) voidshutdown()Methods inherited from class org.apache.cxf.transport.http_jetty.JettyHTTPDestination
deactivate, doService, doService, finalizeConfig, flushHeaders, getBasePathForFullAddress, getEngine, getLogger, invokeComplete, retrieveEngine, retrieveFromContinuation, setServletContextMethods inherited from class org.apache.cxf.transport.servlet.ServletDestination
getBasePathMethods inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination
assertMessage, canAssert, contextMatchOnExact, flushHeaders, getAddressValue, getAddressValue, getAddressWithId, getBeanName, getBus, getContextMatchStrategy, getId, getInbuiltBackChannel, getPath, getServer, isFixedParameterOrder, isMultiplexWithAddress, isOneWay, releaseRegistry, retrieveFromServlet3Async, setContextMatchStrategy, setFixedParameterOrder, setMultiplexWithAddress, setServer, setupContinuation, setupMessageMethods 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
-
Jetty12WebSocketDestination
public Jetty12WebSocketDestination(org.apache.cxf.Bus bus, org.apache.cxf.transport.http.DestinationRegistry registry, org.apache.cxf.service.model.EndpointInfo ei, org.apache.cxf.transport.http_jetty.JettyHTTPServerEngineFactory 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
-
invoke
public void invoke(jakarta.servlet.ServletConfig config, jakarta.servlet.ServletContext context, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException - Overrides:
invokein classorg.apache.cxf.transport.http.AbstractHTTPDestination- Throws:
IOException
-
getAddress
- Overrides:
getAddressin classorg.apache.cxf.transport.http_jetty.JettyHTTPDestination
-
getCreator
public org.eclipse.jetty.ee10.websocket.server.JettyWebSocketCreator getCreator() -
getWebSocketContainer
public org.eclipse.jetty.ee10.websocket.server.JettyWebSocketServerContainer getWebSocketContainer(jakarta.servlet.ServletContext context) -
createJettyHTTPHandler
protected org.apache.cxf.transport.http_jetty.JettyHTTPHandler createJettyHTTPHandler(org.apache.cxf.transport.http_jetty.JettyHTTPDestination jhd, boolean cmExact) - Overrides:
createJettyHTTPHandlerin classorg.apache.cxf.transport.http_jetty.JettyHTTPDestination
-
activate
protected void activate()Activate receipt of incoming messages.- Overrides:
activatein classorg.apache.cxf.transport.http_jetty.JettyHTTPDestination
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceorg.apache.cxf.transport.Destination- Overrides:
shutdownin classorg.apache.cxf.transport.http.AbstractHTTPDestination
-