接口 HttpExchangeRepository
- 所有已知实现类:
InMemoryHttpExchangeRepository
public interface HttpExchangeRepository
A repository for
HttpExchange instances.- 从以下版本开始:
- 3.0.0
- 作者:
- Dave Syer, Andy Wilkinson
-
方法概要
修饰符和类型方法说明voidadd(HttpExchange httpExchange) Adds anHttpExchangeinstance to the repository.findAll()Find allHttpExchangeinstances contained in the repository.
-
方法详细资料
-
findAll
List<HttpExchange> findAll()Find allHttpExchangeinstances contained in the repository.- 返回:
- all contained HTTP exchanges
-
add
Adds anHttpExchangeinstance to the repository.- 参数:
httpExchange- the HTTP exchange to add
-