接口 HttpExchangeRepository

所有已知实现类:
InMemoryHttpExchangeRepository

public interface HttpExchangeRepository
A repository for HttpExchange instances.
从以下版本开始:
3.0.0
作者:
Dave Syer, Andy Wilkinson
  • 方法详细资料

    • findAll

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

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