Class RemoteDistributor
java.lang.Object
org.openqa.selenium.grid.distributor.Distributor
org.openqa.selenium.grid.distributor.remote.RemoteDistributor
- All Implemented Interfaces:
Predicate<HttpRequest>,HttpHandler,Routable,HasReadyState
-
Field Summary
Fields inherited from class org.openqa.selenium.grid.distributor.Distributor
tracer -
Constructor Summary
ConstructorsConstructorDescriptionRemoteDistributor(Tracer tracer, HttpClient.Factory factory, URL url, Secret registrationSecret) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisReady()newSession(SessionRequest sessionRequest) voidMethods inherited from class org.openqa.selenium.grid.distributor.Distributor
execute, matches, test
-
Constructor Details
-
RemoteDistributor
public RemoteDistributor(Tracer tracer, HttpClient.Factory factory, URL url, Secret registrationSecret)
-
-
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 Either<SessionNotCreatedException,CreateSessionResponse> newSession(SessionRequest sessionRequest) throws SessionNotCreatedException - Specified by:
newSessionin classDistributor- Throws:
SessionNotCreatedException
-