Interface HttpExchangeRepository

All Known Implementing Classes:
InMemoryHttpExchangeRepository

public interface HttpExchangeRepository
A repository for HttpExchange instances.
Since:
3.0.0
Author:
Dave Syer, Andy Wilkinson
  • Method Details

    • findAll

      List<HttpExchange> findAll()
      Find all HttpExchange instances contained in the repository.
      Returns:
      all contained HTTP exchanges
    • add

      void add(HttpExchange httpExchange)
      Adds an HttpExchange instance to the repository.
      Parameters:
      httpExchange - the HTTP exchange to add