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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(CreateSessionRequest sessionRequest) execute(HttpRequest req) getId()booleanbooleanbooleanbooleanbooleanvoidrelease()voidreserve()voidstop()booleantest(Capabilities capabilities) Methods 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.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:
executein interfaceHttpHandler- Throws:
UncheckedIOException
-
test
- Specified by:
testin interfacePredicate<Capabilities>
-
apply
- Specified by:
applyin interfaceFunction<CreateSessionRequest,Either<WebDriverException, ActiveSession>>
-
isSupportingCdp
public boolean isSupportingCdp() -
isSupportingBiDi
public boolean isSupportingBiDi() -
hasRelayFactory
public boolean hasRelayFactory() -
isRelayServiceUp
public boolean isRelayServiceUp() -
getConnectionCounter
-