Class EventDriverFactory
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.events.EventDriverFactory
-
@Deprecated(since="2021-05-27") public class EventDriverFactory extends java.lang.ObjectDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.Create EventDriver implementations.
-
-
Constructor Summary
Constructors Constructor Description EventDriverFactory(WebSocketContainerScope containerScope)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddImplementation(EventDriverImpl impl)Deprecated.voidclearImplementations()Deprecated.java.util.List<EventDriverImpl>getImplementations()Deprecated.booleanremoveImplementation(EventDriverImpl impl)Deprecated.java.lang.StringtoString()Deprecated.EventDriverwrap(java.lang.Object websocket)Deprecated.Wrap the given WebSocket object instance in a suitable EventDriver
-
-
-
Constructor Detail
-
EventDriverFactory
public EventDriverFactory(WebSocketContainerScope containerScope)
Deprecated.
-
-
Method Detail
-
addImplementation
public void addImplementation(EventDriverImpl impl)
Deprecated.
-
clearImplementations
public void clearImplementations()
Deprecated.
-
getImplementations
public java.util.List<EventDriverImpl> getImplementations()
Deprecated.
-
removeImplementation
public boolean removeImplementation(EventDriverImpl impl)
Deprecated.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
wrap
public EventDriver wrap(java.lang.Object websocket)
Deprecated.Wrap the given WebSocket object instance in a suitable EventDriver- Parameters:
websocket- the websocket instance to wrap. Must either implementWebSocketListeneror be annotated with@WebSocket- Returns:
- appropriate EventDriver for this websocket instance.
-
-