public class BodyMatcher extends Object implements groovy.lang.GroovyObject
Constructor and Description |
---|
BodyMatcher() |
Modifier and Type | Method and Description |
---|---|
static Object |
fallbackToResponseBodyIfContentParserIsNull(Response response,
Object contentParser) |
Object |
getKey() |
org.hamcrest.Matcher |
getMatcher() |
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
ResponseParserRegistrar |
getRpr() |
Object |
invokeMethod(String method,
Object arguments) |
boolean |
requiresPathParsing() |
boolean |
requiresTextParsing() |
void |
setKey(Object value) |
void |
setMatcher(org.hamcrest.Matcher value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
void |
setRpr(ResponseParserRegistrar value) |
Object |
validate(Response response,
Object contentParser,
RestAssuredConfig config) |
public Object getKey()
public void setKey(Object value)
public org.hamcrest.Matcher getMatcher()
public void setMatcher(org.hamcrest.Matcher value)
public ResponseParserRegistrar getRpr()
public void setRpr(ResponseParserRegistrar value)
public Object validate(Response response, Object contentParser, RestAssuredConfig config)
public static Object fallbackToResponseBodyIfContentParserIsNull(Response response, Object contentParser)
public boolean requiresTextParsing()
public boolean requiresPathParsing()
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
Copyright © 2010–2019. All rights reserved.