Rapidoid - Extremely Fast, Simple and Powerful Java Web Framework!

Open source (Apache license). View benchmark... Community: [email protected]

Request routing
  • A route consists of a HTTP verb and a path.
  • Rapidoid tries to find a matching handler for the route of the pending request.
  • If no handler matches the route, the first generic handler (if any) will be executed.
  • The generic handlers are ordered in the order they were registered.
  • The generic handlers match any route, and they can be registered with On.req().
  • If a generic handler returns not found, the next generic handler will be executed.
  • If no handler manages to process the request, a not found HTTP response is returned.