Class RestInteraction
java.lang.Object
net.serenitybdd.screenplay.rest.interactions.RestInteraction
- All Implemented Interfaces:
SkipNested,CanBeSilent,DisableScreenshots,Interaction,Performable
public abstract class RestInteraction extends java.lang.Object implements Interaction, DisableScreenshots, CanBeSilent
A base class for all Screenplay REST interactions, which gives direct access to the RestAssured API.
-
Constructor Summary
Constructors Constructor Description RestInteraction() -
Method Summary
Modifier and Type Method Description booleanisSilent()protected io.restassured.specification.RequestSpecificationrest()RestInteractionwith(java.util.List<RestQueryFunction> restConfigurations)RestInteractionwith(RestQueryFunction restConfiguration)RestInteractionwithNoReporting()RestInteractionwithRequest(java.util.List<RestQueryFunction> restConfigurations)RestInteractionwithRequest(RestQueryFunction restConfiguration)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.serenitybdd.screenplay.Performable
performAs, then
-
Constructor Details
-
RestInteraction
public RestInteraction()
-
-
Method Details
-
with
-
withRequest
-
with
-
withRequest
-
rest
protected io.restassured.specification.RequestSpecification rest() -
isSilent
public boolean isSilent()- Specified by:
isSilentin interfaceCanBeSilent
-
withNoReporting
-