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

Method response

moco-core/src/main/java/com/github/dreamhead/moco/Moco.java:173–175  ·  view source on GitHub ↗
(final ResponseHandler handler)

Source from the content-addressed store, hash-verified

171 }
172
173 public static MocoConfig<?> response(final ResponseHandler handler) {
174 return new MocoResponseConfig(checkNotNull(handler, "Response handler should not be null"));
175 }
176
177 public static MocoConfig<?> response(final HttpHeader header) {
178 return response(with(checkNotNull(header, "Response handler should not be null")));

Callers 2

responseMethod · 0.95

Calls 1

withMethod · 0.95

Tested by 1