Last active
March 4, 2017 16:00
-
-
Save pgordon9/97f1845f7758f7ade579a47898f85271 to your computer and use it in GitHub Desktop.
CounterServlets base. JettyExample | parkergordon.io
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object JettyExample{ | |
{...} | |
object CounterServlets{ | |
private var requestCount: Int = AtomicInteger(0) // encapsulate the state in a Thread safe way | |
// TODO: Servlet Classes to go here | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment