Package

play

mvc

Permalink

package mvc

Visibility
  1. Public
  2. All

Type Members

  1. class FileMimeTypesModule extends SimpleModule

    Permalink

    Module that injects a FileMimeTypes to StaticFileMimeTypes on start and on stop.

    Module that injects a FileMimeTypes to StaticFileMimeTypes on start and on stop.

    This solves the issue of having the need to explicitly pass FileMimeTypes to Results.ok(...) and StatusHeader.sendResource(...)

  2. class FileMimeTypesProvider extends Provider[FileMimeTypes]

    Permalink
    Annotations
    @Singleton()

Ungrouped