Class WebSocketSessionFactory
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.WebSocketSessionFactory
-
- All Implemented Interfaces:
SessionFactory
public class WebSocketSessionFactory extends java.lang.Object implements SessionFactory
Default Session factory, creating WebSocketSession objects.
-
-
Constructor Summary
Constructors Constructor Description WebSocketSessionFactory(WebSocketContainerScope containerScope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebSocketSession
createSession(java.net.URI requestURI, EventDriver websocket, LogicalConnection connection)
boolean
supports(EventDriver websocket)
-
-
-
Constructor Detail
-
WebSocketSessionFactory
public WebSocketSessionFactory(WebSocketContainerScope containerScope)
-
-
Method Detail
-
supports
public boolean supports(EventDriver websocket)
- Specified by:
supports
in interfaceSessionFactory
-
createSession
public WebSocketSession createSession(java.net.URI requestURI, EventDriver websocket, LogicalConnection connection)
- Specified by:
createSession
in interfaceSessionFactory
-
-