Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CounterServlets base. JettyExample | parkergordon.io
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
You can’t perform that action at this time.