public class BodyMatcher extends Object
Constructor and Description |
---|
BodyMatcher() |
Modifier and Type | Method and Description |
---|---|
static Object |
fallbackToResponseBodyIfContentParserIsNull(Response response,
Object contentParser) |
Object |
getKey() |
org.hamcrest.Matcher |
getMatcher() |
ResponseParserRegistrar |
getRpr() |
boolean |
requiresPathParsing() |
boolean |
requiresTextParsing() |
void |
setKey(Object key) |
void |
setMatcher(org.hamcrest.Matcher matcher) |
void |
setRpr(ResponseParserRegistrar rpr) |
Map<String,Object> |
validate(Response response,
Object contentParser,
RestAssuredConfig config) |
public Map<String,Object> validate(Response response, Object contentParser, RestAssuredConfig config)
public static Object fallbackToResponseBodyIfContentParserIsNull(Response response, Object contentParser)
public boolean requiresTextParsing()
public boolean requiresPathParsing()
public Object getKey()
public void setKey(Object key)
public org.hamcrest.Matcher getMatcher()
public void setMatcher(org.hamcrest.Matcher matcher)
public ResponseParserRegistrar getRpr()
public void setRpr(ResponseParserRegistrar rpr)
Copyright © 2010–2022. All rights reserved.