Package org.oddjob.websocket
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?
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.oddjob.arooa.types.ValueFactory
ValueFactory.Conversions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetArooaSession(ArooaSession session) Accept the current Arooa Session.voidsetClassLoader(ClassLoader classLoader) voidsetRemoteNotifier(RemoteNotifier remoteNotifier) org.eclipse.jetty.server.HandlertoValue()Provide an instance of the type this is a factory for.
-
Constructor Details
-
JettyNotifierEndpointHandler
public JettyNotifierEndpointHandler()
-
-
Method Details
-
setArooaSession
Description copied from interface:ArooaSessionAwareAccept the current Arooa Session.- Specified by:
setArooaSessionin interfaceArooaSessionAware- Parameters:
session- The Arooa Session. Never null.
-
toValue
public org.eclipse.jetty.server.Handler toValue()Description copied from interface:ValueFactoryProvide an instance of the type this is a factory for.- Specified by:
toValuein interfaceValueFactory<org.eclipse.jetty.server.Handler>- Returns:
- An instance of the type. May be null.
-
getRemoteNotifier
-
setRemoteNotifier
-
getClassLoader
-
setClassLoader
-