Class SessionSlot
java.lang.Object
org.openqa.selenium.grid.node.local.SessionSlot
- All Implemented Interfaces:
Function<CreateSessionRequest,
,Either<WebDriverException, ActiveSession>> Predicate<Capabilities>
,HttpHandler
public class SessionSlot
extends Object
implements HttpHandler, Function<CreateSessionRequest,Either<WebDriverException,ActiveSession>>, Predicate<Capabilities>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(CreateSessionRequest sessionRequest) execute
(HttpRequest req) getId()
boolean
boolean
boolean
boolean
boolean
void
release()
void
reserve()
void
stop()
boolean
test
(Capabilities capabilities) 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.remote.http.HttpHandler
with
-
Constructor Details
-
SessionSlot
-
-
Method Details
-
getId
-
getStereotype
-
reserve
public void reserve() -
release
public void release() -
isAvailable
public boolean isAvailable() -
getSession
-
stop
public void stop() -
execute
- Specified by:
execute
in interfaceHttpHandler
- Throws:
UncheckedIOException
-
test
- Specified by:
test
in interfacePredicate<Capabilities>
-
apply
- Specified by:
apply
in interfaceFunction<CreateSessionRequest,
Either<WebDriverException, ActiveSession>>
-
isSupportingCdp
public boolean isSupportingCdp() -
isSupportingBiDi
public boolean isSupportingBiDi() -
hasRelayFactory
public boolean hasRelayFactory() -
isRelayServiceUp
public boolean isRelayServiceUp()
-