Uses of Enum Class
io.github.grumpystuff.grumpyrest.request.HttpMethod
Packages that use HttpMethod
-
Uses of HttpMethod in io.github.grumpystuff.grumpyrest
Methods in io.github.grumpystuff.grumpyrest that return HttpMethodModifier and TypeMethodDescriptionRoute.method()Returns the value of themethodrecord component.Methods in io.github.grumpystuff.grumpyrest with parameters of type HttpMethodModifier and TypeMethodDescriptionvoidRestApi.addComplexRoute(HttpMethod method, Path path, ComplexHandler handler) Adds a route to handle requests.voidRestApi.addComplexRoute(HttpMethod method, String path, ComplexHandler handler) Adds a route to handle requests.voidRestApi.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 HttpMethodModifierConstructorDescriptionRoute(HttpMethod method, Path path, ComplexHandler handler) Standard constructor.Route(HttpMethod method, Path path, SimpleHandler handler) Constructor for aSimpleHandler.Route(HttpMethod method, String path, ComplexHandler handler) This constructor specifies the path pattern as a string instead of aPathobject.Route(HttpMethod method, String path, SimpleHandler handler) Constructor for aSimpleHandlerwhich also specifies the path pattern as a string instead of aPathobject. -
Uses of HttpMethod in io.github.grumpystuff.grumpyrest.request
Methods in io.github.grumpystuff.grumpyrest.request that return HttpMethodModifier and TypeMethodDescriptionstatic HttpMethodReturns the enum constant of this class with the specified name.static HttpMethod[]HttpMethod.values()Returns an array containing the constants of this enum class, in the order they are declared.