Class JettyNotifierEndpointHandler

java.lang.Object
org.oddjob.websocket.JettyNotifierEndpointHandler
All Implemented Interfaces:
ArooaValue, ArooaSessionAware, ValueFactory<org.eclipse.jetty.server.Handler>

public class JettyNotifierEndpointHandler extends Object implements ValueFactory<org.eclipse.jetty.server.Handler>, ArooaSessionAware
Provide a Handler for Jetty that provides the NotifierServerEndpoint.

This code is duplicated in WebServerHandler. Not sure when this might be used on it's own. Should it be removed?

  • Constructor Details

    • JettyNotifierEndpointHandler

      public JettyNotifierEndpointHandler()
  • Method Details

    • setArooaSession

      public void setArooaSession(ArooaSession session)
      Description copied from interface: ArooaSessionAware
      Accept the current Arooa Session.
      Specified by:
      setArooaSession in interface ArooaSessionAware
      Parameters:
      session - The Arooa Session. Never null.
    • toValue

      public org.eclipse.jetty.server.Handler toValue()
      Description copied from interface: ValueFactory
      Provide an instance of the type this is a factory for.
      Specified by:
      toValue in interface ValueFactory<org.eclipse.jetty.server.Handler>
      Returns:
      An instance of the type. May be null.
    • getRemoteNotifier

      public RemoteNotifier getRemoteNotifier()
    • setRemoteNotifier

      public void setRemoteNotifier(RemoteNotifier remoteNotifier)
    • getClassLoader

      public ClassLoader getClassLoader()
    • setClassLoader

      @Inject public void setClassLoader(ClassLoader classLoader)