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

Method addCoercers

java/src/org/openqa/selenium/json/JsonInput.java:99–101  ·  view source on GitHub ↗

Add the specified type coercers to the set installed in the JSON coercion manager. @param coercers array of zero or more TypeCoercer objects @return this JsonInput object with added type coercers @throws JsonException if this JsonInput has already begun processing its input

(TypeCoercer<?>... coercers)

Source from the content-addressed store, hash-verified

97 * @throws JsonException if this {@code JsonInput} has already begun processing its input
98 */
99 public JsonInput addCoercers(TypeCoercer<?>... coercers) {
100 return addCoercers(List.of(coercers));
101 }
102
103 /**
104 * Add the specified type coercers to the set installed in the JSON coercion manager.

Callers

nothing calls this directly

Calls 1

ofMethod · 0.45

Tested by

no test coverage detected