Class ApiLogMessage.Response
java.lang.Object
de.qytera.qtaf.apitesting.log.model.message.ApiLogMessage.Response
- Enclosing class:
- ApiLogMessage
One part of the API log message is the response.
It's data format is defined in this class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanio.restassured.http.HeadersintlonggetTime()inthashCode()voidsetBodyAsString(String bodyAsString) voidsetContentType(String contentType) voidsetCookies(Map<String, String> cookies) voidsetHeaders(io.restassured.http.Headers headers) voidsetResponseAttributes(io.restassured.response.ExtractableResponse<io.restassured.response.Response> response) Set the corresponding values in the Response-Api-LogMessage, depending on the request the API call is based on provided by RESTAssured.voidsetStatusCode(int statusCode) voidsetTime(long time) toString()
-
Constructor Details
-
Response
public Response()
-
-
Method Details
-
setResponseAttributes
public void setResponseAttributes(io.restassured.response.ExtractableResponse<io.restassured.response.Response> response) Set the corresponding values in the Response-Api-LogMessage, depending on the request the API call is based on provided by RESTAssured.- Parameters:
response- extractable response of RESTassured
-
setStatusCode
public void setStatusCode(int statusCode) -
setHeaders
public void setHeaders(io.restassured.http.Headers headers) -
setContentType
-
setCookies
-
setBodyAsString
-
setTime
public void setTime(long time) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getStatusCode
public int getStatusCode() -
getHeaders
public io.restassured.http.Headers getHeaders() -
getContentType
-
getCookies
-
getBodyAsString
-
getTime
public long getTime()
-