MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / parse

Method parse

java/src/org/openqa/selenium/grid/web/Values.java:41–43  ·  view source on GitHub ↗
(HttpResponse response, Class<T> classOfT)

Source from the content-addressed store, hash-verified

39 private static final ErrorCodec ERRORS = ErrorCodec.createDefault();
40
41 public static <T> T parse(HttpResponse response, Class<T> classOfT) {
42 return Require.nonNull(classOfT.getSimpleName(), get(response, classOfT));
43 }
44
45 public static void parse(HttpResponse response) {
46 get(response, Void.class);

Callers 15

clearQueueMethod · 0.95
addMethod · 0.95
removeMethod · 0.95
getStatusMethod · 0.95
newSessionMethod · 0.95
releaseConnectionMethod · 0.95
getSessionMethod · 0.95
stopMethod · 0.95
getVncUrlFunction · 0.45
NodeFunction · 0.45
QueuedSessionsFunction · 0.45
ColumnSelectorFunction · 0.45

Calls 2

nonNullMethod · 0.95
getMethod · 0.95

Tested by

no test coverage detected