CurrencyDataRetriever

@Component
open class CurrencyDataRetriever : ApiDataRetriever

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val NO_DATA_ERROR_MESSAGE: String = "Error: No data received from API"
Link copied to clipboard
open var response: String
Link copied to clipboard
open var url: String

Functions

Link copied to clipboard
open fun fetchResponse()
Link copied to clipboard
Link copied to clipboard
open fun getUpdatedCurrencies(): Map<String, Currency>
Link copied to clipboard
open fun shutDownConnections(urlConnection: HttpsURLConnection, apiReader: BufferedReader)