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

Method cookie

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

Source from the content-addressed store, hash-verified

345 }
346
347 public static RequestExtractor<String> cookie(final String key) {
348 return new CookieRequestExtractor(checkNotNullOrEmpty(key, "Cookie key should not be null"));
349 }
350
351 public static ResponseHandler cookie(final String key, final String value, final CookieAttribute... attributes) {
352 return cookie(checkNotNullOrEmpty(key, "Cookie key should not be null"),

Calls 5

textMethod · 0.95
withMethod · 0.95
headerMethod · 0.95
checkNotNullOrEmptyMethod · 0.80
cookieResourceMethod · 0.80