Class RequestCaptor

java.lang.Object
pw.avvero.test.http.RequestCaptor
All Implemented Interfaces:
org.springframework.test.web.client.RequestMatcher

public class RequestCaptor extends Object implements org.springframework.test.web.client.RequestMatcher
  • Constructor Details

    • RequestCaptor

      public RequestCaptor()
  • Method Details

    • match

      public void match(org.springframework.http.client.ClientHttpRequest request) throws AssertionError
      Specified by:
      match in interface org.springframework.test.web.client.RequestMatcher
      Throws:
      AssertionError
    • getTimes

      public int getTimes()
    • clear

      public void clear()