Class ServicedSession.Factory
java.lang.Object
org.openqa.selenium.grid.session.remote.RemoteSession.Factory<DriverService>
org.openqa.selenium.grid.session.remote.ServicedSession.Factory
- All Implemented Interfaces:
Function<CreateSessionRequest,
,Optional<ActiveSession>> Predicate<Capabilities>
,SessionFactory
- Enclosing class:
- ServicedSession
-
Constructor Summary
ConstructorDescriptionFactory
(Tracer tracer, Predicate<Capabilities> key, String serviceClassName) -
Method Summary
Modifier and TypeMethodDescriptionapply
(CreateSessionRequest sessionRequest) protected ServicedSession
newActiveSession
(DriverService service, Dialect downstream, Dialect upstream, HttpHandler codec, SessionId id, Map<String, Object> capabilities) boolean
test
(Capabilities capabilities) toString()
Methods inherited from class org.openqa.selenium.grid.session.remote.RemoteSession.Factory
performHandshake
-
Constructor Details
-
Factory
-
-
Method Details
-
test
-
apply
-
newActiveSession
protected ServicedSession newActiveSession(DriverService service, Dialect downstream, Dialect upstream, HttpHandler codec, SessionId id, Map<String, Object> capabilities) - Specified by:
newActiveSession
in classRemoteSession.Factory<DriverService>
-
toString
-