Package org.alfresco.rest.core
Class RestResponse
- java.lang.Object
-
- org.alfresco.rest.core.RestResponse
-
- Direct Known Subclasses:
RestTextResponse
public class RestResponse extends java.lang.ObjectDefines a Rest Response- Author:
- Paul Brodner
-
-
Constructor Summary
Constructors Constructor Description RestResponse(io.restassured.response.Response response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.restassured.response.ValidatableResponseassertThat()io.restassured.response.ResponsegetResponse()java.lang.StringgetStatusCode()voidsetResponse(io.restassured.response.Response response)<T> TtoModel(java.lang.Class<T> classz)
-
-
-
Method Detail
-
getStatusCode
public java.lang.String getStatusCode()
-
getResponse
public io.restassured.response.Response getResponse()
-
setResponse
public void setResponse(io.restassured.response.Response response)
-
toModel
public <T> T toModel(java.lang.Class<T> classz)
-
assertThat
public io.restassured.response.ValidatableResponse assertThat()
-
-