Interface HttpExchangeRepository
- All Known Implementing Classes:
InMemoryHttpExchangeRepository
-
Method Summary
Modifier and TypeMethodDescriptionvoidadd(HttpExchange httpExchange) Adds anHttpExchangeinstance to the repository.findAll()Find allHttpExchangeinstances contained in the repository.
-
Method Details
-
findAll
List<HttpExchange> findAll()Find allHttpExchangeinstances contained in the repository.- Returns:
- all contained HTTP exchanges
-
add
Adds anHttpExchangeinstance to the repository.- Parameters:
httpExchange- the HTTP exchange to add
-