Package org.spincast.core.controllers
Interface FrontController
- All Known Implementing Classes:
SpincastFrontController
public interface FrontController
The front controller is called by the HTTP server when a request for
something else than a
static resource
arrives. It finds the
appropriate route to use and will call the associated
handlers. It also manages exceptions and not found resources.-
Method Summary
-
Method Details
-
handle
- Parameters:
exchange
- an object representing the current request, provided by the HTTP server
-