Uses of Class
io.muserver.ContextHandlerBuilder
-
Packages that use ContextHandlerBuilder Package Description io.muserver This package contains the main API of mu-server, for example the server builders, request and response objects. -
-
Uses of ContextHandlerBuilder in io.muserver
Methods in io.muserver that return ContextHandlerBuilder Modifier and Type Method Description ContextHandlerBuilderContextHandlerBuilder. addHandler(Method method, java.lang.String uriTemplate, RouteHandler handler)Registers a new handler that will only be called if it matches the given route info (relative to the current context).ContextHandlerBuilderContextHandlerBuilder. addHandler(MuHandler handler)Adds a request handler relative to the context of this builder.ContextHandlerBuilderContextHandlerBuilder. addHandler(MuHandlerBuilder handler)Adds a request handler relative to the context of this builder.static ContextHandlerBuilderContextHandlerBuilder. context(java.lang.String path)Create a new base path.ContextHandlerBuilderContextHandlerBuilder. withPath(java.lang.String path)Sets the path to serve from.
-