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 groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic 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()
Copyright © 2010–2014. All rights reserved.