com.jayway.restassured.internal.support
Class Prettifier

java.lang.Object
  extended by com.jayway.restassured.internal.support.Prettifier
All Implemented Interfaces:
groovy.lang.GroovyObject

public class Prettifier
extends Object
implements groovy.lang.GroovyObject


Constructor Summary
Prettifier()
           
 
Method Summary
 Object doPrettify(groovy.lang.Closure<String> closure)
           
 groovy.lang.MetaClass getMetaClass()
           
 String getPrettifiedBodyIfPossible(FilterableRequestSpecification request)
           
 String getPrettifiedBodyIfPossible(Response response)
           
 Object getProperty(String property)
           
 Object invokeMethod(String method, Object arguments)
           
 String prettify(groovy.util.slurpersupport.GPathResult gPathResult)
           
 String prettify(String body, Parser parser)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Prettifier

public Prettifier()
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

getPrettifiedBodyIfPossible

public String getPrettifiedBodyIfPossible(FilterableRequestSpecification request)

getPrettifiedBodyIfPossible

public String getPrettifiedBodyIfPossible(Response response)

prettify

public String prettify(String body,
                       Parser parser)

prettify

public String prettify(groovy.util.slurpersupport.GPathResult gPathResult)

doPrettify

public Object doPrettify(groovy.lang.Closure<String> closure)


Copyright © 2010-2012. All Rights Reserved.