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