Package lv.id.jc.piglatin
Class PigLatinRestApplication
java.lang.Object
lv.id.jc.piglatin.PigLatinRestApplication
The main class for the Pig Latin REST application.
This class is responsible for starting the application and defining beans.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a new instance of HttpClient.static void
Returns an AtomicInteger object representing a counter for translations.
-
Constructor Details
-
PigLatinRestApplication
public PigLatinRestApplication()
-
-
Method Details
-
main
-
httpClient
Returns a new instance of HttpClient.- Returns:
- the new instance of HttpClient
-
translationCounter
Returns an AtomicInteger object representing a counter for translations. The counter starts at 0.- Returns:
- the AtomicInteger object representing the translation counter
-