Uses of Class
io.karatelabs.http.HttpServer
Packages that use HttpServer
-
Uses of HttpServer in io.karatelabs.http
Methods in io.karatelabs.http that return HttpServerModifier and TypeMethodDescriptionstatic HttpServerHttpServer.start(int port, io.netty.handler.ssl.SslContext sslContext, Function<HttpRequest, HttpResponse> handler) static HttpServerHttpServer.start(int port, io.netty.handler.ssl.SslContext sslContext, Function<HttpRequest, HttpResponse> handler, SseHandler sseHandler) static HttpServerHttpServer.start(int port, io.netty.handler.ssl.SslContext sslContext, Function<HttpRequest, HttpResponse> handler, SseHandler sseHandler, WsHandler wsHandler) static HttpServerHttpServer.start(int port, Function<HttpRequest, HttpResponse> handler) static HttpServerHttpServer.start(int port, Function<HttpRequest, HttpResponse> handler, SseHandler sseHandler) static HttpServerHttpServer.start(int port, Function<HttpRequest, HttpResponse> handler, SseHandler sseHandler, WsHandler wsHandler) static HttpServerHttpServer.start(String host, int port, Function<HttpRequest, HttpResponse> handler, SseHandler sseHandler, WsHandler wsHandler) Start bound to a specific interface —host="localhost"/"127.0.0.1"listens on loopback only (not reachable off-box),"0.0.0.0"/null/blank listens on every interface (the historical default).