Uses of Interface
eu.cloudnetservice.driver.network.http.HttpServer
Packages that use HttpServer
-
Uses of HttpServer in eu.cloudnetservice.driver.network.netty.http
Classes in eu.cloudnetservice.driver.network.netty.http that implement HttpServerModifier and TypeClassDescriptionclassThe default implementation of the web server, using netty as its backing mechanism.Fields in eu.cloudnetservice.driver.network.netty.http with type parameters of type HttpServerModifier and TypeFieldDescriptionprotected final HttpAnnotationParser<HttpServer>NettyHttpServer.annoParserMethods in eu.cloudnetservice.driver.network.netty.http that return HttpServerModifier and TypeMethodDescriptionNettyHttpServer.clearHandlers()Removes all handlers which were previously registered to this component.NettyHttpServer.registerHandler(@NonNull String path, int priority, HttpHandler... handlers) Registers the given handlers to this component.NettyHttpServer.registerHandler(@NonNull String path, @Nullable Integer port, int priority, @NonNull HttpHandler... handlers) Registers the given handlers to this component.NettyHttpServer.registerHandler(@NonNull String path, HttpHandler... handlers) Registers the given handlers to this component.NettyHttpServer.removeHandler(@NonNull HttpHandler handler) Unregisters the given handler from this component if it was registered previously.NettyHttpServer.removeHandler(@NonNull ClassLoader classLoader) Removes all registered handlers from this component whose classes were loaded by the given class loader.Methods in eu.cloudnetservice.driver.network.netty.http that return types with arguments of type HttpServerModifier and TypeMethodDescriptionNettyHttpServer.annotationParser()Get a http annotation parser which is associated with this component and can therefore be used to register annotated handlers to this component.NettyHttpServerContext.component()Get the http component which received the request wrapped by this context.