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 SummaryModifier and TypeMethodDescriptionvoidadd(HttpExchange httpExchange) Adds anHttpExchangeinstance to the repository.findAll()Find allHttpExchangeinstances contained in the repository.
- 
Method Details- 
findAllList<HttpExchange> findAll()Find allHttpExchangeinstances contained in the repository.- Returns:
- all contained HTTP exchanges
 
- 
addAdds anHttpExchangeinstance to the repository.- Parameters:
- httpExchange- the HTTP exchange to add
 
 
-