Uses of Interface
io.muserver.MuHandler
-
Packages that use MuHandler Package Description io.muserver This package contains the main API of mu-server, for example the server builders, request and response objects.io.muserver.handlers Some pre-built handlers for common tasks such as file handling.io.muserver.rest This package contains the JAX-RS implementation for mu-server. -
-
Uses of MuHandler in io.muserver
Classes in io.muserver with type parameters of type MuHandler Modifier and Type Interface Description interfaceMuHandlerBuilder<T extends MuHandler>A builder forMuHandlerobjectsClasses in io.muserver that implement MuHandler Modifier and Type Class Description classContextHandlerA handler that wraps a list of other handlers and serves them at a certain path prefix (or context).classWebSocketHandlerA handler that can establish a web socket based on web socket upgrade requests.Methods in io.muserver that return MuHandler Modifier and Type Method Description static MuHandlerRoutes. route(Method method, java.lang.String uriTemplate, RouteHandler muHandler)Creates a new handler that will only be called if it matches the given route info.Methods in io.muserver that return types with arguments of type MuHandler Modifier and Type Method Description java.util.List<MuHandler>MuServerBuilder. handlers()Methods in io.muserver with parameters of type MuHandler Modifier and Type Method Description ContextHandlerBuilderContextHandlerBuilder. addHandler(MuHandler handler)Adds a request handler relative to the context of this builder.MuServerBuilderMuServerBuilder. addHandler(MuHandler handler)Adds a request handler. -
Uses of MuHandler in io.muserver.handlers
Classes in io.muserver.handlers that implement MuHandler Modifier and Type Class Description classCORSHandlerA handler that adds CORS headers to responses.classHttpsRedirectorSends any HTTP requests to the same HTTPS address at the supplied port and optionally enables Strict-Transport-Security (HSTS)classResourceHandlerA handler to serve static content. -
Uses of MuHandler in io.muserver.rest
Classes in io.muserver.rest that implement MuHandler Modifier and Type Class Description classRestHandlerA handler that serves JAX-RS resources.
-