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

    Modifier and Type
    Method
    Description
    void
    handle(Object exchange)
     
  • Method Details

    • handle

      void handle(Object exchange)
      Parameters:
      exchange - an object representing the current request, provided by the HTTP server