Class DefaultRequestExpectation.RequestCount

java.lang.Object
org.springframework.test.web.client.DefaultRequestExpectation.RequestCount
Enclosing class:
DefaultRequestExpectation

protected static class DefaultRequestExpectation.RequestCount extends Object
Helper class that keeps track of actual vs expected request count.
  • Constructor Details

    • RequestCount

      public RequestCount(ExpectedCount expectedCount)
  • Method Details

    • getExpectedCount

      public ExpectedCount getExpectedCount()
    • getMatchedRequestCount

      public int getMatchedRequestCount()
    • incrementAndValidate

      public void incrementAndValidate()
    • hasRemainingCount

      public boolean hasRemainingCount()
    • isSatisfied

      public boolean isSatisfied()