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

Method get

java/src/org/openqa/selenium/remote/http/Route.java:103–108  ·  view source on GitHub ↗
(String template)

Source from the content-addressed store, hash-verified

101 }
102
103 public static TemplatizedRouteConfig get(String template) {
104 UrlTemplate urlTemplate = new UrlTemplate(Require.nonNull("URL template", template));
105
106 return new TemplatizedRouteConfig(
107 new MatchesHttpMethod(GET).and(new MatchesTemplate(urlTemplate)), urlTemplate);
108 }
109
110 public static TemplatizedRouteConfig post(String template) {
111 UrlTemplate urlTemplate = new UrlTemplate(Require.nonNull("URL template", template));

Calls 2

nonNullMethod · 0.95
andMethod · 0.80