Uses of Interface
io.github.grumpystuff.grumpyrest.SimpleHandler
Packages that use SimpleHandler
-
Uses of SimpleHandler in io.github.grumpystuff.grumpyrest
Methods in io.github.grumpystuff.grumpyrest with parameters of type SimpleHandlerModifier and TypeMethodDescriptionvoidRestApi.addRoute(HttpMethod method, Path path, SimpleHandler handler) Adds a route to handle requests.voidRestApi.addRoute(HttpMethod method, String path, SimpleHandler handler) Adds a route to handle requests.Constructors in io.github.grumpystuff.grumpyrest with parameters of type SimpleHandlerModifierConstructorDescriptionRoute(HttpMethod method, Path path, SimpleHandler handler) Constructor for aSimpleHandler.Route(HttpMethod method, String path, SimpleHandler handler) Constructor for aSimpleHandlerwhich also specifies the path pattern as a string instead of aPathobject.