java-tutorials/play-framework/introduction
Grzegorz Piwowarek 75d86610ff Move routing-in-play -> play-framework 2016-10-24 09:44:21 +02:00
..
app Move routing-in-play -> play-framework 2016-10-24 09:44:21 +02:00
bin Move routing-in-play -> play-framework 2016-10-24 09:44:21 +02:00
conf Move routing-in-play -> play-framework 2016-10-24 09:44:21 +02:00
libexec Move routing-in-play -> play-framework 2016-10-24 09:44:21 +02:00
project Move routing-in-play -> play-framework 2016-10-24 09:44:21 +02:00
public Move routing-in-play -> play-framework 2016-10-24 09:44:21 +02:00
test Move routing-in-play -> play-framework 2016-10-24 09:44:21 +02:00
.gitignore Move routing-in-play -> play-framework 2016-10-24 09:44:21 +02:00
LICENSE Move routing-in-play -> play-framework 2016-10-24 09:44:21 +02:00
README Move routing-in-play -> play-framework 2016-10-24 09:44:21 +02:00
build.sbt Move routing-in-play -> play-framework 2016-10-24 09:44:21 +02:00

README

This is your new Play application
=================================

This file will be packaged with your application when using `activator dist`.

There are several demonstration files available in this template.

Controllers
===========

- HomeController.java:

  Shows how to handle simple HTTP requests.

- AsyncController.java:

  Shows how to do asynchronous programming when handling a request.

- CountController.java:

  Shows how to inject a component into a controller and use the component when
  handling requests.

Components
==========

- Module.java:

  Shows how to use Guice to bind all the components needed by your application.

- Counter.java:

  An example of a component that contains state, in this case a simple counter.

- ApplicationTimer.java:

  An example of a component that starts when the application starts and stops
  when the application stops.

Filters
=======

- Filters.java:

  Creates the list of HTTP filters used by your application.

- ExampleFilter.java

  A simple filter that adds a header to every response.