MCPcopy Create free account
hub / github.com/dreamhead/moco / by

Method by

moco-core/src/main/java/com/github/dreamhead/moco/Moco.java:198–200  ·  view source on GitHub ↗
(final String content)

Source from the content-addressed store, hash-verified

196 }
197
198 public static RequestMatcher by(final String content) {
199 return by(text(checkNotNullOrEmpty(content, "Content should not be null")));
200 }
201
202 public static RequestMatcher by(final Resource resource) {
203 checkNotNull(resource, "Resource should not be null");

Calls 5

textMethod · 0.95
byMethod · 0.95
checkNotNullOrEmptyMethod · 0.80
extractorMethod · 0.80
idMethod · 0.65