Class EventDriverFactory
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.events.EventDriverFactory
-
@Deprecated(since="2021-05-27") public class EventDriverFactory extends java.lang.Object
Deprecated.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 void
addImplementation(EventDriverImpl impl)
Deprecated.void
clearImplementations()
Deprecated.java.util.List<EventDriverImpl>
getImplementations()
Deprecated.boolean
removeImplementation(EventDriverImpl impl)
Deprecated.java.lang.String
toString()
Deprecated.EventDriver
wrap(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:
toString
in 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 implementWebSocketListener
or be annotated with@WebSocket
- Returns:
- appropriate EventDriver for this websocket instance.
-
-