Implemented HttpClientHandler to an interface
This MR implements HttpClientHandler to an interface- IHttpClientHandler. Also, changes RETRY_COUNT and REQUEST_CONFIG from being private final to protected static.
We follow the pattern of implementing to the interface across the entire project, hence this MR wants to bring HttpClientHandler to the same line. Moreover, doing so will make the class extensible. Making REQUEST_CONFIG and RETRY_COUNT protected static will allow the extended classes to configure these parameters.
Impact :
This will enable us to: -
- Have same coding pattern across project.
- Extend HttpClientHandler.
- Configure REQUEST_CONFIG and RETRY_COUNT in child classes.