Class LastResponse

java.lang.Object
net.serenitybdd.screenplay.rest.questions.LastResponse
All Implemented Interfaces:
Question<io.restassured.response.Response>

public class LastResponse
extends java.lang.Object
implements Question<io.restassured.response.Response>
  • Constructor Summary

    Constructors
    Constructor Description
    LastResponse()  
  • Method Summary

    Modifier and Type Method Description
    io.restassured.response.Response answeredBy​(Actor actor)  
    static LastResponse received()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.serenitybdd.screenplay.Question

    getSubject
  • Constructor Details

    • LastResponse

      public LastResponse()
  • Method Details

    • answeredBy

      public io.restassured.response.Response answeredBy​(Actor actor)
      Specified by:
      answeredBy in interface Question<io.restassured.response.Response>
    • received

      public static LastResponse received()