MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / Port

Method Port

java/src/org/openqa/selenium/docker/Port.java:27–30  ·  view source on GitHub ↗
(String protocol, int port)

Source from the content-addressed store, hash-verified

25 private final int port;
26
27 private Port(String protocol, int port) {
28 this.protocol = Require.nonNull("Protocol", protocol);
29 this.port = port;
30 }
31
32 public static Port tcp(int port) {
33 return new Port("tcp", port);

Callers

nothing calls this directly

Calls 1

nonNullMethod · 0.95

Tested by

no test coverage detected