Class RemoteSession
- java.lang.Object
-
- org.openqa.selenium.grid.session.remote.RemoteSession
-
- All Implemented Interfaces:
ActiveSession,org.openqa.selenium.remote.http.HttpHandler,org.openqa.selenium.WrapsDriver
- Direct Known Subclasses:
ServicedSession
public abstract class RemoteSession extends java.lang.Object implements ActiveSession
Abstract class designed to do things like protocol conversion.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRemoteSession.Factory<X>
-
Constructor Summary
Constructors Modifier Constructor Description protectedRemoteSession(org.openqa.selenium.remote.Dialect downstream, org.openqa.selenium.remote.Dialect upstream, org.openqa.selenium.remote.http.HttpHandler codec, org.openqa.selenium.remote.SessionId id, java.util.Map<java.lang.String,java.lang.Object> capabilities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openqa.selenium.remote.http.HttpResponseexecute(org.openqa.selenium.remote.http.HttpRequest req)java.util.Map<java.lang.String,java.lang.Object>getCapabilities()Describe the current webdriver session's capabilities.org.openqa.selenium.remote.DialectgetDownstreamDialect()org.openqa.selenium.io.TemporaryFilesystemgetFileSystem()org.openqa.selenium.remote.SessionIdgetId()org.openqa.selenium.remote.DialectgetUpstreamDialect()org.openqa.selenium.WebDrivergetWrappedDriver()-
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.session.ActiveSession
stop
-
-
-
-
Constructor Detail
-
RemoteSession
protected RemoteSession(org.openqa.selenium.remote.Dialect downstream, org.openqa.selenium.remote.Dialect upstream, org.openqa.selenium.remote.http.HttpHandler codec, org.openqa.selenium.remote.SessionId id, java.util.Map<java.lang.String,java.lang.Object> capabilities)
-
-
Method Detail
-
getId
public org.openqa.selenium.remote.SessionId getId()
- Specified by:
getIdin 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
-
getCapabilities
public java.util.Map<java.lang.String,java.lang.Object> getCapabilities()
Description copied from interface:ActiveSessionDescribe the current webdriver session's capabilities.- Specified by:
getCapabilitiesin interfaceActiveSession
-
getFileSystem
public org.openqa.selenium.io.TemporaryFilesystem getFileSystem()
- Specified by:
getFileSystemin interfaceActiveSession
-
getWrappedDriver
public org.openqa.selenium.WebDriver getWrappedDriver()
- Specified by:
getWrappedDriverin interfaceorg.openqa.selenium.WrapsDriver
-
execute
public org.openqa.selenium.remote.http.HttpResponse execute(org.openqa.selenium.remote.http.HttpRequest req) throws java.io.UncheckedIOException- Specified by:
executein interfaceorg.openqa.selenium.remote.http.HttpHandler- Throws:
java.io.UncheckedIOException
-
-