LambdaServlet
Parameters
contentType
the MIME content type for the response. Defaults to "text/plain".
block
a lambda that produces the response body string.
Constructs a LambdaServlet with a default content type of "text/plain".
Parameters
block
a lambda that produces the response body string.