com.jayway.restassured.assertion
Class BodyMatcher

java.lang.Object
  extended by com.jayway.restassured.assertion.BodyMatcher
All Implemented Interfaces:
groovy.lang.GroovyObject

public class BodyMatcher
extends Object
implements groovy.lang.GroovyObject


Constructor Summary
BodyMatcher()
           
 
Method Summary
 Object fallbackToResponseBodyIfContentHasAlreadyBeenRead(Response response, Object content)
           
 String getDescription()
           
 Object getKey()
           
 org.hamcrest.Matcher getMatcher()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String property)
           
 ResponseParserRegistrar getRpr()
           
 Object invokeMethod(String method, Object arguments)
           
 Object isFulfilled(Response response, Object content)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyMatcher

public BodyMatcher()
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject

getKey

public Object getKey()

setKey

public void setKey(Object value)

getMatcher

public org.hamcrest.Matcher getMatcher()

setMatcher

public void setMatcher(org.hamcrest.Matcher value)

getRpr

public ResponseParserRegistrar getRpr()

setRpr

public void setRpr(ResponseParserRegistrar value)

isFulfilled

public Object isFulfilled(Response response,
                          Object content)

fallbackToResponseBodyIfContentHasAlreadyBeenRead

public Object fallbackToResponseBodyIfContentHasAlreadyBeenRead(Response response,
                                                                Object content)

requiresTextParsing

public boolean requiresTextParsing()

getDescription

public String getDescription()


Copyright © 2010-2012. All Rights Reserved.