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 interface
MuHandlerBuilder<T extends MuHandler>
A builder forMuHandler
objectsClasses in io.muserver that implement MuHandler Modifier and Type Class Description class
ContextHandler
A handler that wraps a list of other handlers and serves them at a certain path prefix (or context).class
WebSocketHandler
A 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 MuHandler
Routes. 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 ContextHandlerBuilder
ContextHandlerBuilder. addHandler(MuHandler handler)
Adds a request handler relative to the context of this builder.MuServerBuilder
MuServerBuilder. 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 class
CORSHandler
A handler that adds CORS headers to responses.class
HttpsRedirector
Sends any HTTP requests to the same HTTPS address at the supplied port and optionally enables Strict-Transport-Security (HSTS)class
ResourceHandler
A 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 class
RestHandler
A handler that serves JAX-RS resources.
-