com.jayway.restassured.internal
Class ResponseSpecificationImpl.HamcrestAssertionClosure

java.lang.Object
  extended by com.jayway.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure
All Implemented Interfaces:
groovy.lang.GroovyObject
Enclosing class:
ResponseSpecificationImpl

public class ResponseSpecificationImpl.HamcrestAssertionClosure
extends Object
implements groovy.lang.GroovyObject


Constructor Summary
ResponseSpecificationImpl.HamcrestAssertionClosure()
           
 
Method Summary
 Object call(Object response)
           
 Object call(Object response, Object content)
           
 Object getClosure()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String property)
           
 Object getResponseContentType()
           
 Object invokeMethod(String method, Object arguments)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
 Object validate(Response response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseSpecificationImpl.HamcrestAssertionClosure

public ResponseSpecificationImpl.HamcrestAssertionClosure()
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

call

public Object call(Object response,
                   Object content)

call

public Object call(Object response)

getResponseContentType

public Object getResponseContentType()

getClosure

public Object getClosure()

validate

public Object validate(Response response)


Copyright © 2010-2011. All Rights Reserved.