Uses of Interface
com.soklet.HttpServer
Packages that use HttpServer
-
Uses of HttpServer in com.soklet
Methods in com.soklet that return HttpServerModifier and TypeMethodDescriptionHttpServer.Builder.build()static @NonNull HttpServerCreates aHttpServerconfigured with the given port and default settings.Methods in com.soklet that return types with arguments of type HttpServerModifier and TypeMethodDescriptionSokletConfig.getHttpServer()The HTTP server managed by Soklet, if configured.Methods in com.soklet with parameters of type HttpServerModifier and TypeMethodDescriptiondefault voidLifecycleObserver.didFailToStartHttpServer(@NonNull HttpServer httpServer, @NonNull Throwable throwable) Called after aHttpServerinstance was asked to start, but failed due to an exception.default voidLifecycleObserver.didFailToStopHttpServer(@NonNull HttpServer httpServer, @NonNull Throwable throwable) Called after aHttpServerinstance was asked to stop, but failed due to an exception.default voidLifecycleObserver.didStartHttpServer(@NonNull HttpServer httpServer) Called after the server starts.default voidLifecycleObserver.didStopHttpServer(@NonNull HttpServer httpServer) Called after the server stops.SokletConfig.Builder.httpServer(@Nullable HttpServer httpServer) SokletConfig.Copier.httpServer(@Nullable HttpServer httpServer) default voidLifecycleObserver.willStartHttpServer(@NonNull HttpServer httpServer) Called before the server starts.default voidLifecycleObserver.willStopHttpServer(@NonNull HttpServer httpServer) Called before the server stops.static @NonNull SokletConfig.BuilderSokletConfig.withHttpServer(@NonNull HttpServer httpServer) Vends a configuration builder, primed with the given HTTPHttpServer.