Class SubscriptionWebSocketFactory

  • All Implemented Interfaces:
    org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.LifeCycle, org.eclipse.jetty.websocket.common.scopes.WebSocketContainerScope, org.eclipse.jetty.websocket.servlet.WebSocketCreator, org.eclipse.jetty.websocket.servlet.WebSocketServletFactory

    public class SubscriptionWebSocketFactory
    extends org.eclipse.jetty.websocket.server.WebSocketServerFactory
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container

        org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable

        org.eclipse.jetty.util.component.Dumpable.DumpableContainer
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

        org.eclipse.jetty.util.component.LifeCycle.Listener
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.websocket.servlet.WebSocketServletFactory

        org.eclipse.jetty.websocket.servlet.WebSocketServletFactory.Loader
    • Field Summary

      • Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
      • Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

        KEY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Object createWebSocket​(org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest req, org.eclipse.jetty.websocket.servlet.ServletUpgradeResponse resp)  
      • Methods inherited from class org.eclipse.jetty.websocket.server.WebSocketServerFactory

        acceptWebSocket, acceptWebSocket, addSessionFactory, addSessionListener, doStart, doStop, getAvailableExtensionNames, getBufferPool, getCreator, getEventDriverFactory, getExecutor, getExtensionFactory, getObjectFactory, getOpenSessions, getPolicy, getSessionListeners, getSslContextFactory, isUpgradeRequest, register, removeSessionListener, setCreator, toString
      • Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle

        addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
      • Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
      • Methods inherited from interface org.eclipse.jetty.util.component.Dumpable

        dumpSelf
      • Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer

        isDumpable
      • Methods inherited from interface org.eclipse.jetty.websocket.common.scopes.WebSocketContainerScope

        isRunning
      • Methods inherited from interface org.eclipse.jetty.websocket.servlet.WebSocketServletFactory

        start, stop
    • Constructor Detail

      • SubscriptionWebSocketFactory

        public SubscriptionWebSocketFactory​(graphql.GraphQL graphQL,
                                            ServiceManager serviceManager)
    • Method Detail

      • createWebSocket

        public Object createWebSocket​(org.eclipse.jetty.websocket.servlet.ServletUpgradeRequest req,
                                      org.eclipse.jetty.websocket.servlet.ServletUpgradeResponse resp)
        Specified by:
        createWebSocket in interface org.eclipse.jetty.websocket.servlet.WebSocketCreator
        Overrides:
        createWebSocket in class org.eclipse.jetty.websocket.server.WebSocketServerFactory