java.lang.Object
net.serenitybdd.screenplay.rest.interactions.RestInteraction
net.serenitybdd.screenplay.rest.interactions.Post
All Implemented Interfaces:
SkipNested, CanBeSilent, DisableScreenshots, Interaction, Performable

public class Post
extends RestInteraction
Post something to a REST resource. This is a simple interaction class suitable for simple queries.
  • Constructor Summary

    Constructors
    Constructor Description
    Post​(java.lang.String resource)  
  • Method Summary

    Modifier and Type Method Description
    <T extends Actor>
    void
    performAs​(T actor)  
    static Post to​(java.lang.String resource)  

    Methods inherited from class net.serenitybdd.screenplay.rest.interactions.RestInteraction

    isSilent, rest, with, with, withNoReporting, withRequest, withRequest

    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.Performable

    then
  • Constructor Details

    • Post

      public Post​(java.lang.String resource)
  • Method Details

    • performAs

      public <T extends Actor> void performAs​(T actor)
    • to

      public static Post to​(java.lang.String resource)