Class AtmosphereWebSocketUndertowDestination

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.atmosphere.AtmosphereWebSocketUndertowDestination
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 AtmosphereWebSocketUndertowDestination extends org.apache.cxf.transport.http_undertow.UndertowHTTPDestination implements WebSocketDestinationService
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.cxf.transport.http.AbstractHTTPDestination

    org.apache.cxf.transport.http.AbstractHTTPDestination.BackChannelConduit, org.apache.cxf.transport.http.AbstractHTTPDestination.PrincipalAuthorizationPolicy

    Nested 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_undertow.UndertowHTTPDestination

    engine, loader, nurl, serverEngineFactory, servletContext

    Fields 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_REDIRECTION

    Fields inherited from class org.apache.cxf.transport.AbstractDestination

    endpointInfo, reference

    Fields inherited from class org.apache.cxf.transport.AbstractObservable

    incomingObserver
  • Constructor Summary

    Constructors
    Constructor
    Description
    AtmosphereWebSocketUndertowDestination(org.apache.cxf.Bus bus, org.apache.cxf.transport.http.DestinationRegistry registry, org.apache.cxf.service.model.EndpointInfo ei, org.apache.cxf.transport.http_undertow.UndertowHTTPServerEngineFactory serverEngineFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.cxf.transport.http_undertow.UndertowHTTPHandler
    createUndertowHTTPHandler(org.apache.cxf.transport.http_undertow.UndertowHTTPDestination jhd, boolean cmExact)
     
    protected String
    getAddress(org.apache.cxf.service.model.EndpointInfo endpointInfo)
     
    protected String
    getBasePath(String contextPath)
     
    void
    invokeInternal(jakarta.servlet.ServletConfig config, jakarta.servlet.ServletContext context, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp)
     
    void
     

    Methods inherited from class org.apache.cxf.transport.http_undertow.UndertowHTTPDestination

    activate, deactivate, doService, doService, finalizeConfig, getBasePathForFullAddress, getEngine, getLogger, invokeComplete, retrieveEngine, retrieveFromContinuation, setServletContext, setupContinuation

    Methods 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

    Methods inherited from class org.apache.cxf.transport.AbstractDestination

    getAddress, getBackChannel, getEndpointInfo

    Methods inherited from class org.apache.cxf.transport.AbstractObservable

    getMessageObserver, getTargetReference, getTargetReference, setMessageObserver

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.cxf.transport.Destination

    getAddress, getBackChannel, getMessageObserver

    Methods inherited from interface org.apache.cxf.transport.Observable

    setMessageObserver

    Methods inherited from interface org.apache.cxf.transport.servlet.ServletConfigAware

    onServletConfigAvailable
  • Constructor Details

    • AtmosphereWebSocketUndertowDestination

      public AtmosphereWebSocketUndertowDestination(org.apache.cxf.Bus bus, org.apache.cxf.transport.http.DestinationRegistry registry, org.apache.cxf.service.model.EndpointInfo ei, org.apache.cxf.transport.http_undertow.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:
      invokeInternal in interface WebSocketDestinationService
      Throws:
      IOException
    • getAddress

      protected String getAddress(org.apache.cxf.service.model.EndpointInfo endpointInfo)
      Overrides:
      getAddress in class org.apache.cxf.transport.http_undertow.UndertowHTTPDestination
    • getBasePath

      protected String getBasePath(String contextPath) throws IOException
      Overrides:
      getBasePath in class org.apache.cxf.transport.servlet.ServletDestination
      Throws:
      IOException
    • createUndertowHTTPHandler

      protected org.apache.cxf.transport.http_undertow.UndertowHTTPHandler createUndertowHTTPHandler(org.apache.cxf.transport.http_undertow.UndertowHTTPDestination jhd, boolean cmExact)
      Overrides:
      createUndertowHTTPHandler in class org.apache.cxf.transport.http_undertow.UndertowHTTPDestination
    • shutdown

      public void shutdown()
      Specified by:
      shutdown in interface org.apache.cxf.transport.Destination
      Overrides:
      shutdown in class org.apache.cxf.transport.http.AbstractHTTPDestination