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