Uses of Class
io.nitric.http.HttpServer
-
Packages that use HttpServer Package Description io.nitric.http Provides the HTTP Server (FaaS) classes. -
-
Uses of HttpServer in io.nitric.http
Methods in io.nitric.http that return HttpServer Modifier and Type Method Description HttpServer
HttpServer. hostname(String hostname)
Set the server hostname.HttpServer
HttpServer. port(int port)
Set the server port.HttpServer
HttpServer. register(String path, HttpHandler function)
Register the function for the given path.HttpServer
HttpServer. start(HttpHandler function)
Start the Http server with the given function configured for the path "/".
-