Package org.openqa.selenium.grid.node
Class BaseActiveSession
- java.lang.Object
-
- org.openqa.selenium.grid.node.BaseActiveSession
-
- All Implemented Interfaces:
ActiveSession
,HttpHandler
- Direct Known Subclasses:
ProtocolConvertingSession
public abstract class BaseActiveSession extends java.lang.Object implements ActiveSession
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseActiveSession(SessionId id, java.net.URL url, Dialect downstream, Dialect upstream, Capabilities stereotype, Capabilities capabilities, java.time.Instant startTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Session
asSession()
Capabilities
getCapabilities()
Dialect
getDownstreamDialect()
SessionId
getId()
java.time.Instant
getStartTime()
Capabilities
getStereotype()
Dialect
getUpstreamDialect()
java.net.URI
getUri()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openqa.selenium.grid.node.ActiveSession
stop
-
Methods inherited from interface org.openqa.selenium.remote.http.HttpHandler
execute, with
-
-
-
-
Constructor Detail
-
BaseActiveSession
protected BaseActiveSession(SessionId id, java.net.URL url, Dialect downstream, Dialect upstream, Capabilities stereotype, Capabilities capabilities, java.time.Instant startTime)
-
-
Method Detail
-
getId
public SessionId getId()
- Specified by:
getId
in interfaceActiveSession
-
getStereotype
public Capabilities getStereotype()
- Specified by:
getStereotype
in interfaceActiveSession
-
getCapabilities
public Capabilities getCapabilities()
- Specified by:
getCapabilities
in interfaceActiveSession
-
getStartTime
public java.time.Instant getStartTime()
- Specified by:
getStartTime
in interfaceActiveSession
-
getUri
public java.net.URI getUri()
- Specified by:
getUri
in interfaceActiveSession
-
getUpstreamDialect
public Dialect getUpstreamDialect()
- Specified by:
getUpstreamDialect
in interfaceActiveSession
-
getDownstreamDialect
public Dialect getDownstreamDialect()
- Specified by:
getDownstreamDialect
in interfaceActiveSession
-
asSession
public Session asSession()
-
-