Class EventDriverFactory
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.events.EventDriverFactory
-
@Deprecated(since="2021-05-27") public class EventDriverFactory extends 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.List<EventDriverImpl>
getImplementations()
Deprecated.boolean
removeImplementation(EventDriverImpl impl)
Deprecated.String
toString()
Deprecated.EventDriver
wrap(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 List<EventDriverImpl> getImplementations()
Deprecated.
-
removeImplementation
public boolean removeImplementation(EventDriverImpl impl)
Deprecated.
-
wrap
public EventDriver wrap(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.
-
-