public class RestAssuredResponseOptionsGroovyImpl extends Object implements groovy.lang.GroovyObject
Constructor and Description |
---|
RestAssuredResponseOptionsGroovyImpl() |
public static final String BINARY
public RestAssuredResponseOptionsGroovyImpl()
public Object getResponseHeaders()
public void setResponseHeaders(Object value)
public void setCookies(Cookies value)
public Object getContent()
public void setContent(Object value)
public void setContentType(Object value)
public void setStatusLine(Object value)
public void setStatusCode(Object value)
public Object getSessionIdName()
public void setSessionIdName(Object value)
public Map getFilterContextProperties()
public void setFilterContextProperties(Map value)
public Object getConnectionManager()
public void setConnectionManager(Object value)
public String getDefaultContentType()
public void setDefaultContentType(String value)
public void setRpr(ResponseParserRegistrar value)
public DecoderConfig getDecoderConfig()
public void setDecoderConfig(DecoderConfig value)
public boolean getHasExpectations()
public boolean isHasExpectations()
public void setHasExpectations(boolean value)
public void setConfig(RestAssuredConfig value)
public void parseResponse(Object httpResponse, Object content, Object hasBodyAssertions, ResponseParserRegistrar responseParserRegistrar)
public Object parseCookies()
public Object toString(groovy.lang.Writable node)
public String print()
public String prettyPrint(ResponseOptions responseOptions, ResponseBody responseBody)
public Object peek(ResponseOptions responseOptions, ResponseBody responseBody)
public Object prettyPeek(ResponseOptions responseOptions, ResponseBody responseBody)
public String asString()
public String asString(boolean forcePlatformDefaultCharsetIfNoCharsetIsSpecifiedInResponse)
public boolean isInputStream()
public InputStream asInputStream()
public byte[] convertStringToByteArray(Object string)
public byte[] asByteArray()
public <T> Object as(Type cls, ResponseBodyData responseBodyData)
public <T> Object as(Type cls, ObjectMapperType mapperType, ResponseBodyData responseBodyData)
public <T> Object as(Type cls, ObjectMapper mapper)
public <T> Object as(io.restassured.common.mapper.TypeRef typeRef, ResponseBodyData responseBodyData)
public String findCharset()
public String findCharset(boolean forcePlatformDefaultCharsetIfNoCharsetIsSpecifiedInResponse)
public Cookies detailedCookies()
public Cookies getDetailedCookies()
public Headers headers()
public Headers getHeaders()
public Map cookies()
public Map getCookies()
public String contentType()
public ResponseParserRegistrar getRpr()
public RestAssuredConfig getConfig()
public String getContentType()
public String statusLine()
public int statusCode()
public String getStatusLine()
public String sessionId()
public String getSessionId()
public int getStatusCode()
public io.restassured.path.json.JsonPath jsonPath()
public io.restassured.path.json.JsonPath jsonPath(io.restassured.path.json.config.JsonPathConfig config)
public io.restassured.path.xml.XmlPath xmlPath()
public io.restassured.path.xml.XmlPath xmlPath(io.restassured.path.xml.config.XmlPathConfig config)
public io.restassured.path.xml.XmlPath xmlPath(io.restassured.path.xml.XmlPath.CompatibilityMode compatibilityMode)
public io.restassured.path.xml.XmlPath htmlPath()
public long time()
public long timeIn(TimeUnit timeUnit)
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.