org.springframework.test.web.client

Class DefaultRequestExpectation.RequestCount

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


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

      • RequestCount

        public RequestCount(ExpectedCount expectedCount)
    • Method Detail

      • getMatchedRequestCount

        public int getMatchedRequestCount()
      • incrementAndValidate

        public void incrementAndValidate()
      • hasRemainingCount

        public boolean hasRemainingCount()
      • isSatisfied

        public boolean isSatisfied()