play.core.j

JavaGlobalSettingsAdapter

class JavaGlobalSettingsAdapter extends api.GlobalSettings

Adapter that holds the Java GlobalSettings and acts as a Scala GlobalSettings for the framework.

Source
JavaGlobalSettingsAdapter.scala
Linear Supertypes
api.GlobalSettings, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JavaGlobalSettingsAdapter
  2. GlobalSettings
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JavaGlobalSettingsAdapter(underlying: GlobalSettings)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def beforeStart(app: api.Application): Unit

    Called before the application starts.

    Called before the application starts.

    Resources managed by plugins, such as database connections, are likely not available at this point.

    app

    the application

    Definition Classes
    JavaGlobalSettingsAdapterGlobalSettings
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def configuration: api.Configuration

    Additional configuration provided by the application.

    Additional configuration provided by the application. This is invoked by the default implementation of onConfigLoad, so if you override that, this won't be invoked.

    Definition Classes
    GlobalSettings
  10. def doFilter(a: EssentialAction): EssentialAction

    Filters for EssentialAction.

    Filters for EssentialAction.

    Definition Classes
    JavaGlobalSettingsAdapterGlobalSettings
  11. def doFilter(next: (RequestHeader) ⇒ Handler): (RequestHeader) ⇒ Handler

    Filters.

    Filters.

    Definition Classes
    GlobalSettings
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def getControllerInstance[A](controllerClass: Class[A]): A

    Manages controllers instantiation.

    Manages controllers instantiation.

    controllerClass

    the controller class to instantiate.

    returns

    the appropriate instance for the given controller class.

    Definition Classes
    JavaGlobalSettingsAdapterGlobalSettings
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def onBadRequest(request: RequestHeader, error: String): Future[SimpleResult]

    Called when an action has been found, but the request parsing has failed.

    Called when an action has been found, but the request parsing has failed.

    The default is to send the framework default 400 page.

    request

    the HTTP request header

    returns

    the result to send to the client

    Definition Classes
    JavaGlobalSettingsAdapterGlobalSettings
  23. def onError(request: RequestHeader, ex: Throwable): Future[SimpleResult]

    Called when an exception occurred.

    Called when an exception occurred.

    The default is to send the framework default error page.

    request

    The HTTP request header

    ex

    The exception

    returns

    The result to send to the client

    Definition Classes
    JavaGlobalSettingsAdapterGlobalSettings
  24. def onHandlerNotFound(request: RequestHeader): Future[SimpleResult]

    Called when no action was found to serve a request.

    Called when no action was found to serve a request.

    The default is to send the framework default 404 page.

    request

    the HTTP request header

    returns

    the result to send to the client

    Definition Classes
    JavaGlobalSettingsAdapterGlobalSettings
  25. def onLoadConfig(config: api.Configuration, path: File, classloader: ClassLoader, mode: Mode): api.Configuration

    Called just after configuration has been loaded, to give the application an opportunity to modify it.

    Called just after configuration has been loaded, to give the application an opportunity to modify it.

    config

    the loaded configuration

    path

    the application path

    classloader

    The applications classloader

    mode

    The mode the application is running in

    returns

    The configuration that the application should use

    Definition Classes
    JavaGlobalSettingsAdapterGlobalSettings
  26. def onRequestCompletion(request: RequestHeader): Unit

    Definition Classes
    GlobalSettings
  27. def onRequestReceived(request: RequestHeader): (RequestHeader, Handler)

    Retrieve the (RequestHeader,Handler) to use to serve this request.

    Retrieve the (RequestHeader,Handler) to use to serve this request. Default is: route, tag request, then apply filters

    Definition Classes
    GlobalSettings
  28. def onRouteRequest(request: RequestHeader): Option[Handler]

    Called when an HTTP request has been received.

    Called when an HTTP request has been received.

    The default is to use the application router to find the appropriate action.

    request

    the HTTP request header (the body has not been parsed yet)

    returns

    an action to handle this request - if no action is returned, a 404 not found result will be sent to client

    Definition Classes
    JavaGlobalSettingsAdapterGlobalSettings
    See also

    onHandlerNotFound

  29. def onStart(app: api.Application): Unit

    Called once the application is started.

    Called once the application is started.

    app

    the application

    Definition Classes
    JavaGlobalSettingsAdapterGlobalSettings
  30. def onStop(app: api.Application): Unit

    Called on application stop.

    Called on application stop.

    app

    the application

    Definition Classes
    JavaGlobalSettingsAdapterGlobalSettings
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. val underlying: GlobalSettings

  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from api.GlobalSettings

Inherited from AnyRef

Inherited from Any

Ungrouped