Interface ProxyHistoryFilter


public interface ProxyHistoryFilter
Extensions can implement this interface and then call Proxy.history(ProxyHistoryFilter) to get a filtered list of items in the Proxy history.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    This method is invoked for every item in the Proxy history to determine whether it should be included in the filtered list of items.
  • Method Details

    • matches

      boolean matches(ProxyHttpRequestResponse requestResponse)
      This method is invoked for every item in the Proxy history to determine whether it should be included in the filtered list of items.
      Parameters:
      requestResponse - A ProxyHttpRequestResponse object that extensions can use to determine whether the item should be included in the filtered list of items.
      Returns:
      Return true if the item should be included in the filtered list of items.