Class RequestInteractionFilter

  • All Implemented Interfaces:
    io.restassured.filter.Filter

    public class RequestInteractionFilter
    extends Object
    implements io.restassured.filter.Filter
    Filter for Rest Assured that saves the current recallResponse in the Scenario Interaction.
    Author:
    Daniel Keiss <daniel.keiss@telekom.de>

    Copyright (c) 2019 Daniel Keiss, Deutsche Telekom AG This file is distributed under the conditions of the Apache License, Version 2.0. For details see the file license on the toplevel.

    • Constructor Detail

      • RequestInteractionFilter

        public RequestInteractionFilter​(ScenarioInteraction scenarioInteraction)
    • Method Detail

      • filter

        public io.restassured.response.Response filter​(io.restassured.specification.FilterableRequestSpecification requestSpec,
                                                       io.restassured.specification.FilterableResponseSpecification responseSpec,
                                                       io.restassured.filter.FilterContext ctx)
        Specified by:
        filter in interface io.restassured.filter.Filter