
play-2.6.app.controllers.HomeController Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-api Show documentation
Show all versions of gradle-api Show documentation
Gradle 6.9.1 API redistribution.
package controllers;
import play.mvc.*;
import views.html.*;
/**
* This controller contains an action to handle HTTP requests
* to the application's home page.
*/
public class HomeController extends Controller {
/**
* An action that renders an HTML page with a welcome message.
* The configuration in the routes
file means that
* this method will be called when the application receives a
* GET
request with a path of /
.
*/
public Result index() {
return ok(index.render("Your new application is ready."));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy