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:
ProtocolConvertingSession
public abstract class BaseActiveSession extends java.lang.Object implements ActiveSession
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseActiveSession(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 SessionasSession()org.openqa.selenium.CapabilitiesgetCapabilities()org.openqa.selenium.remote.DialectgetDownstreamDialect()org.openqa.selenium.remote.SessionIdgetId()java.time.InstantgetStartTime()org.openqa.selenium.CapabilitiesgetStereotype()org.openqa.selenium.remote.DialectgetUpstreamDialect()java.net.URIgetUri()-
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:
getIdin interfaceActiveSession
-
getStereotype
public org.openqa.selenium.Capabilities getStereotype()
- Specified by:
getStereotypein interfaceActiveSession
-
getCapabilities
public org.openqa.selenium.Capabilities getCapabilities()
- Specified by:
getCapabilitiesin interfaceActiveSession
-
getStartTime
public java.time.Instant getStartTime()
- Specified by:
getStartTimein interfaceActiveSession
-
getUri
public java.net.URI getUri()
- Specified by:
getUriin interfaceActiveSession
-
getUpstreamDialect
public org.openqa.selenium.remote.Dialect getUpstreamDialect()
- Specified by:
getUpstreamDialectin interfaceActiveSession
-
getDownstreamDialect
public org.openqa.selenium.remote.Dialect getDownstreamDialect()
- Specified by:
getDownstreamDialectin interfaceActiveSession
-
asSession
public Session asSession()
-
-