Class RemoteDistributor
java.lang.Object
org.openqa.selenium.grid.distributor.Distributor
org.openqa.selenium.grid.distributor.remote.RemoteDistributor
- All Implemented Interfaces:
Predicate<org.openqa.selenium.remote.http.HttpRequest>,org.openqa.selenium.remote.http.HttpHandler,org.openqa.selenium.remote.http.Routable,HasReadyState
-
Field Summary
Fields inherited from class org.openqa.selenium.grid.distributor.Distributor
tracer -
Constructor Summary
ConstructorsConstructorDescriptionRemoteDistributor(org.openqa.selenium.remote.tracing.Tracer tracer, org.openqa.selenium.remote.http.HttpClient.Factory factory, URL url, Secret registrationSecret) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisReady()org.openqa.selenium.internal.Either<org.openqa.selenium.SessionNotCreatedException,CreateSessionResponse> newSession(SessionRequest sessionRequest) voidMethods inherited from class org.openqa.selenium.grid.distributor.Distributor
execute, matches, testMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openqa.selenium.remote.http.Routable
with
-
Constructor Details
-
RemoteDistributor
-
-
Method Details
-
isReady
public boolean isReady() -
add
- Specified by:
addin classDistributor
-
drain
- Specified by:
drainin classDistributor
-
remove
- Specified by:
removein classDistributor
-
getStatus
- Specified by:
getStatusin classDistributor
-
newSession
public org.openqa.selenium.internal.Either<org.openqa.selenium.SessionNotCreatedException,CreateSessionResponse> newSession(SessionRequest sessionRequest) throws org.openqa.selenium.SessionNotCreatedException - Specified by:
newSessionin classDistributor- Throws:
org.openqa.selenium.SessionNotCreatedException
-