Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ResetServlet. JettyExample |
object JettyExample{
object CounterServlets{
class ResetServlet extends HttpServlet {
override protected def doGet(request: HttpServletRequest, response: HttpServletResponse):Unit = {
response.getWriter().println(s"<h2>Counter reset to 0.</h2>")

This comment has been minimized.

Copy link
Owner Author

@pgordon9 pgordon9 commented Mar 4, 2017

updated to act on AtomicInteger

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.