public.javadoc.org.spincast.core.controllers.FrontController.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
FrontController (org.spincast:spincast-framework 1.0.0 API)
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
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
void
handle(Object exchange)
-
-
Method Detail
-
handle
void handle(Object exchange)
- Parameters:
exchange
- an object representing the current request,
provided by the HTTP server
Copyright © 2019. All rights reserved.