Package | Description |
---|---|
app.controllers | |
org.javalite.activeweb |
ActiveWeb - the agile java framework
|
org.javalite.activeweb.controllers |
Some abstract controllers.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleController |
Modifier and Type | Class and Description |
---|---|
class |
AbstractControllerConfig<T extends AppController>
This class is to be sub-classed by the application level class called
app.config.AppControllerConfig . |
Modifier and Type | Method and Description |
---|---|
protected <T extends AppController> |
HttpSupport.redirect(Class<T> controllerClass)
Redirects to given controller, action "index" without any parameters.
|
protected <T extends AppController> |
HttpSupport.redirect(Class<T> controllerClass,
Map params)
Redirects to a controller, generates appropriate redirect path.
|
protected <T extends AppController> |
HttpSupport.redirect(Class<T> controllerClass,
Object id)
Convenience method for
HttpSupport.redirect(Class, java.util.Map) . |
protected <T extends AppController> |
HttpSupport.redirect(Class<T> controllerClass,
String action)
Convenience method for
HttpSupport.redirect(Class, java.util.Map) . |
protected <T extends AppController> |
HttpSupport.redirect(Class<T> controllerClass,
String action,
Object id)
Convenience method for
HttpSupport.redirect(Class, java.util.Map) . |
static <T extends AppController> |
AppController.restful(Class<T> controllerClass) |
protected <T extends AppController> |
ViewSpec.setCurrentController(Class<T> controllerClass)
This method is only needed as a hint to the
LinkToTag . |
<T extends AppController> |
RouteBuilder.to(Class<T> type)
Allows to wire a route to a controller.
|
Modifier and Type | Method and Description |
---|---|
protected static AppController |
ControllerFactory.createControllerInstance(String controllerClassName) |
AppController |
Route.getController() |
protected AppController |
RouteBuilder.getController() |
Modifier and Type | Method and Description |
---|---|
protected void |
IntegrationSpec.addFilter(Class<? extends AppController> controllerClass,
HttpSupportFilter filter)
Adds a filter to a specific controller for the duration of the current spec.
|
Constructor and Description |
---|
Route(AppController controller,
String actionName,
HttpMethod method) |
Route(AppController controller,
String actionName,
String id,
HttpMethod method) |
RouteBuilder(AppController controller,
String actionName)
Used for tests.
|
RouteBuilder(AppController controller,
String actionName,
String id)
Used for standard and restful routes.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLesscController
Subclass will compile and serve CSS from LESS files.
|
Copyright © 2020 JavaLite. All rights reserved.