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

Method reader

java/src/org/openqa/selenium/remote/http/Contents.java:146–151  ·  view source on GitHub ↗
(Supplier supplier, Charset charset)

Source from the content-addressed store, hash-verified

144 }
145
146 public static Reader reader(Supplier supplier, Charset charset) {
147 Require.nonNull("Supplier of input", supplier);
148 Require.nonNull("Character set", charset);
149
150 return supplier.reader(charset);
151 }
152
153 public static Reader reader(HttpMessage<?> message) {
154 return reader(message.getContent(), message.getContentEncoding());

Callers 9

canReturnStatusMethod · 0.95
writeMetaDataMethod · 0.95
getMetadataMethod · 0.95
isW3CMethod · 0.95
getAlwaysMatchMethod · 0.95
getFirstMatchesMethod · 0.95
utf8ReaderMethod · 0.95
fromJsonMethod · 0.95

Calls 4

nonNullMethod · 0.95
getContentEncodingMethod · 0.80
readerMethod · 0.65
getContentMethod · 0.45

Tested by 2

canReturnStatusMethod · 0.76