Package ch.autumo.beetroot.server
package ch.autumo.beetroot.server
Server implementations of beetRoot.
This package contains the stand-alone server (BeetRootServer),
its base class BaseServer, the FileServer, and the
HTTPServer base class for HTTP servers such as
BeetRootWebServer.
Sub-packages provide server actions, communication, messages, and modules.
-
ClassDescriptionBase server.Help class for shell script.beetRoot stand-alone server.File server.Nano HTTP server.Base implementation of a route prioritizer that owns the route mappings.General nanolet to inherit from if you provide text or html data, only fixed size responses will be generated.Orders routes by the priority assigned when they were added.General nanolet to inherit from if you provide stream data, only chucked responses will be generated.Handling error 404 - unrecognized urlsGeneral nanolet to print debug info's as a html page.Handling indexKeeps routes in the order in which they were added.Holds the registered routes and defines their processing order.Fallback handler for routes that are registered without an implementation.Uses the priority that was passed to
addRouteunchanged.Serves static files from a directory that is passed as init parameter.A single route: URI pattern, handler class, priority and init parameters.Responder for a routed URI.Resolves a request URI to a registered route and processes the request with that route's handler.