public abstract class ResponseSpecificationDecorated extends Object implements io.restassured.specification.FilterableResponseSpecification
| Modifier and Type | Field and Description |
|---|---|
protected io.restassured.internal.ResponseSpecificationImpl |
core |
| Constructor and Description |
|---|
ResponseSpecificationDecorated(io.restassured.internal.ResponseSpecificationImpl core) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
clone() |
boolean |
equals(Object obj) |
protected io.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure |
getassertionClosure()
This method used when in groovy 'value = response.assertionClosure' called
|
protected io.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure |
getAssertionClosure() |
io.restassured.config.RestAssuredConfig |
getConfig() |
io.restassured.filter.log.LogDetail |
getLogDetail() |
protected io.restassured.response.Response |
getrestAssuredResponse()
This method used when in groovy 'value = response.restAssuredResponse' called
|
protected io.restassured.response.Response |
getRestAssuredResponse() |
io.restassured.internal.ResponseParserRegistrar |
getRpr() |
boolean |
hasBodyAssertionsDefined() |
int |
hashCode() |
io.restassured.specification.ResponseLogSpecification |
log() |
io.restassured.specification.ResponseSpecification |
response() |
protected void |
setassertionClosure(io.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure assertionClosure)
This method used when in groovy 'response.assertionClosure = value' called
|
protected void |
setAssertionClosure(io.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure assertionClosure) |
void |
setConfig(io.restassured.config.RestAssuredConfig config) |
protected void |
setrequestSpecification(io.restassured.specification.RequestSpecification specification) |
protected void |
setRequestSpecification(io.restassured.specification.RequestSpecification specification) |
protected void |
setrestAssuredResponse(io.restassured.response.Response restAssuredResponse)
This method used when in groovy 'response.restAssuredResponse = value' called
|
protected void |
setRestAssuredResponse(io.restassured.response.Response restAssuredResponse) |
void |
setRpr(io.restassured.internal.ResponseParserRegistrar rpr) |
io.restassured.specification.ResponseSpecification |
statusCode(int expectedStatusCode) |
finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetResponseContentType, getRootPath, getStatusCode, getStatusLine, hasCookieAssertions, hasHeaderAssertionsand, appendRoot, appendRoot, appendRootPath, appendRootPath, body, body, body, body, contentType, contentType, contentType, cookie, cookie, cookie, cookie, cookies, cookies, defaultParser, detachRoot, detachRootPath, expect, given, header, header, header, headers, headers, logDetail, noRoot, noRootPath, onFailMessage, parser, request, root, root, rootPath, rootPath, spec, statusCode, statusLine, statusLine, that, then, time, time, validate, when, withpublic ResponseSpecificationDecorated(io.restassured.internal.ResponseSpecificationImpl core)
public io.restassured.specification.ResponseSpecification response()
response in interface io.restassured.specification.ResponseSpecificationprotected Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionprotected void setrequestSpecification(io.restassured.specification.RequestSpecification specification)
protected void setRequestSpecification(io.restassured.specification.RequestSpecification specification)
protected void setassertionClosure(io.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure assertionClosure)
assertionClosure - HamcrestAssertionClosure value that will be set to repose specificationprotected void setAssertionClosure(io.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure assertionClosure)
protected io.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure getassertionClosure()
protected io.restassured.internal.ResponseSpecificationImpl.HamcrestAssertionClosure getAssertionClosure()
protected void setrestAssuredResponse(io.restassured.response.Response restAssuredResponse)
restAssuredResponse - Response value that will be set to rest assured responseprotected void setRestAssuredResponse(io.restassured.response.Response restAssuredResponse)
protected io.restassured.response.Response getrestAssuredResponse()
protected io.restassured.response.Response getRestAssuredResponse()
public io.restassured.internal.ResponseParserRegistrar getRpr()
public void setRpr(io.restassured.internal.ResponseParserRegistrar rpr)
public boolean hasBodyAssertionsDefined()
public void setConfig(io.restassured.config.RestAssuredConfig config)
public io.restassured.config.RestAssuredConfig getConfig()
public io.restassured.filter.log.LogDetail getLogDetail()
getLogDetail in interface io.restassured.specification.FilterableResponseSpecificationpublic io.restassured.specification.ResponseSpecification statusCode(int expectedStatusCode)
statusCode in interface io.restassured.specification.ResponseSpecificationpublic io.restassured.specification.ResponseLogSpecification log()
log in interface io.restassured.specification.ResponseSpecificationCopyright © 2023. All rights reserved.