Class RestInteraction
java.lang.Object
net.serenitybdd.screenplay.rest.interactions.RestInteraction
- All Implemented Interfaces:
net.serenitybdd.core.SkipNested,net.serenitybdd.markers.CanBeSilent,net.serenitybdd.markers.DisableScreenshots,Interaction,Performable
public abstract class RestInteraction
extends Object
implements Interaction, net.serenitybdd.markers.DisableScreenshots, net.serenitybdd.markers.CanBeSilent
A base class for all Screenplay REST interactions, which gives direct access to the RestAssured API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSilent()protected io.restassured.specification.RequestSpecificationrest()with(List<RestQueryFunction> restConfigurations) with(RestQueryFunction restConfiguration) withRequest(List<RestQueryFunction> restConfigurations) withRequest(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 interfacenet.serenitybdd.markers.CanBeSilent
-
withNoReporting
-