Created
April 16, 2018 09:15
-
-
Save cdsap/08b731fe270570ff18d1cb142f6d6b23 to your computer and use it in GitHub Desktop.
HelloWorldService::doGet HelloWorld
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
override fun doGet(req: HttpServletRequest?, resp: HttpServletResponse?) { | |
resp?.apply { | |
contentType = "text/plain" | |
writer.println("Hello World") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment