Class RelaySessionFactory
java.lang.Object
org.openqa.selenium.grid.node.relay.RelaySessionFactory
- All Implemented Interfaces:
Function<CreateSessionRequest,
,Either<WebDriverException, ActiveSession>> Predicate<Capabilities>
,SessionFactory
-
Constructor Summary
ConstructorDescriptionRelaySessionFactory
(Tracer tracer, HttpClient.Factory clientFactory, Duration sessionTimeout, URI serviceUri, URI serviceStatusUri, String serviceProtocolVersion, Capabilities stereotype) -
Method Summary
Modifier and TypeMethodDescriptionapply
(CreateSessionRequest sessionRequest) boolean
boolean
test
(Capabilities capabilities)
-
Constructor Details
-
RelaySessionFactory
public RelaySessionFactory(Tracer tracer, HttpClient.Factory clientFactory, Duration sessionTimeout, URI serviceUri, URI serviceStatusUri, String serviceProtocolVersion, Capabilities stereotype)
-
-
Method Details
-
getStereotype
- Specified by:
getStereotype
in interfaceSessionFactory
-
test
- Specified by:
test
in interfacePredicate<Capabilities>
-
apply
- Specified by:
apply
in interfaceFunction<CreateSessionRequest,
Either<WebDriverException, ActiveSession>>
-
isServiceUp
public boolean isServiceUp()
-