Package org.openqa.selenium.grid.node
Class BaseActiveSession
- java.lang.Object
-
- org.openqa.selenium.grid.node.BaseActiveSession
-
- All Implemented Interfaces:
ActiveSession
,org.openqa.selenium.remote.http.HttpHandler
- Direct Known Subclasses:
DefaultActiveSession
public abstract class BaseActiveSession extends java.lang.Object implements ActiveSession
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseActiveSession(org.openqa.selenium.remote.SessionId id, java.net.URL url, org.openqa.selenium.remote.Dialect downstream, org.openqa.selenium.remote.Dialect upstream, org.openqa.selenium.Capabilities stereotype, org.openqa.selenium.Capabilities capabilities, java.time.Instant startTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Session
asSession()
org.openqa.selenium.Capabilities
getCapabilities()
org.openqa.selenium.remote.Dialect
getDownstreamDialect()
org.openqa.selenium.remote.SessionId
getId()
java.time.Instant
getStartTime()
org.openqa.selenium.Capabilities
getStereotype()
org.openqa.selenium.remote.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
-
-
-
-
Constructor Detail
-
BaseActiveSession
protected BaseActiveSession(org.openqa.selenium.remote.SessionId id, java.net.URL url, org.openqa.selenium.remote.Dialect downstream, org.openqa.selenium.remote.Dialect upstream, org.openqa.selenium.Capabilities stereotype, org.openqa.selenium.Capabilities capabilities, java.time.Instant startTime)
-
-
Method Detail
-
getId
public org.openqa.selenium.remote.SessionId getId()
- Specified by:
getId
in interfaceActiveSession
-
getStereotype
public org.openqa.selenium.Capabilities getStereotype()
- Specified by:
getStereotype
in interfaceActiveSession
-
getCapabilities
public org.openqa.selenium.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 org.openqa.selenium.remote.Dialect getUpstreamDialect()
- Specified by:
getUpstreamDialect
in interfaceActiveSession
-
getDownstreamDialect
public org.openqa.selenium.remote.Dialect getDownstreamDialect()
- Specified by:
getDownstreamDialect
in interfaceActiveSession
-
asSession
public Session asSession()
-
-