HRouter class
Methods
add (String path , HttpMethod method , RequestHandler handler , {FilterConfig ? filterConfig })
→ void
inherited
addRoute (Route route )
→ void
inherited
canHandle (RequestEntity request )
→ bool
Return true or false if this router can successfully process a request
This means if the router if found, and the methods match
inherited
delete (String path , RequestHandler handler , {FilterConfig ? filterConfig })
→ void
inherited
get (String path , RequestHandler handler , {FilterConfig ? filterConfig })
→ void
inherited
handler (RequestEntity request )
→ FutureOr <ResponseEntity >
inherited
handlerRoute (RequestEntity request )
→ Route ?
Return the route that will handle the request
If a null value is returned, it means that this router can handle the request with a route
It will return an status code like 404 or 415
inherited
head (String path , RequestHandler handler , {FilterConfig ? filterConfig })
→ void
inherited
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
options (String path , RequestHandler handler , {FilterConfig ? filterConfig })
→ void
inherited
patch (String path , RequestHandler handler , {FilterConfig ? filterConfig })
→ void
inherited
post (String path , RequestHandler handler , {FilterConfig ? filterConfig })
→ void
inherited
put (String path , RequestHandler handler , {FilterConfig ? filterConfig })
→ void
inherited
query (String path , RequestHandler handler , {FilterConfig ? filterConfig })
→ void
inherited
toString ()
→ String
A string representation of this object.
inherited