Uses of Class
io.mangoo.routing.routes.RequestRoute
-
Packages that use RequestRoute Package Description io.mangoo.routing io.mangoo.routing.routes -
-
Uses of RequestRoute in io.mangoo.routing
Methods in io.mangoo.routing that return RequestRoute Modifier and Type Method Description static RequestRouteOn. anyOf(Http... methods)Creates a new RequestRoute for a given list of HTTP request methodsstatic RequestRouteOn. delete()Creates a new RequestRoute for a HTTP DELETE requeststatic RequestRouteOn. get()Creates a new RequestRoute for a HTTP GET requeststatic RequestRouteRouter. getReverseRoute(String key)Retrieves a reverse route by its controller class and controller methodstatic RequestRouteOn. head()Creates a new RequestRoute for a HTTP HEAD requeststatic RequestRouteOn. options()Creates a new RequestRoute for a HTTP OPTIONS requeststatic RequestRouteOn. patch()Creates a new RequestRoute for a HTTP PATCH requeststatic RequestRouteOn. post()Creates a new RequestRoute for a HTTP POST requeststatic RequestRouteOn. put()Creates a new RequestRoute for a HTTP PUT requestMethods in io.mangoo.routing that return types with arguments of type RequestRoute Modifier and Type Method Description static Stream<RequestRoute>Router. getRequestRoutes() -
Uses of RequestRoute in io.mangoo.routing.routes
Methods in io.mangoo.routing.routes that return RequestRoute Modifier and Type Method Description RequestRouteRequestRoute. respondeWith(String method)Sets the controller method to response on requestRequestRouteRequestRoute. to(String url)Sets the URL for this routeRequestRouteRequestRoute. withAuthentication()Sets authentication to true for this route, default is falseRequestRouteRequestRoute. withAuthorization()Sets authorization to true for this route, default is false Also sets authentication to true, default is falseRequestRouteRequestRoute. withBasicAuthentication(String username, String password)Sets HTTP Basic authentication to this request on the defined controller classRequestRouteRequestRoute. withNonBlocking()Configures this request as long running request that is executed in a different thread pool to not block the non blocking I/O requestRequestRouteRequestRoute. withRequestLimit(int requestsPerSecond)Sets a request limit to the request
-