Class

play.core.j

JavaGlobalSettingsAdapter

Related Doc: package j

Permalink

class JavaGlobalSettingsAdapter extends Deprecated

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JavaGlobalSettingsAdapter(underlying: GlobalSettings)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

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

    Permalink

    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
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def doFilter(a: EssentialAction): EssentialAction

    Permalink

    Filters for EssentialAction.

    Filters for EssentialAction.

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

    Permalink

    Filters.

    Filters.

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. val httpConfigurationCache: (api.Application) ⇒ HttpConfiguration

    Permalink
    Definition Classes
    GlobalSettings
  15. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def onBadRequest(request: RequestHeader, error: String): Future[Result]

    Permalink

    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
  20. def onError(request: RequestHeader, ex: Throwable): Future[Result]

    Permalink

    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
  21. def onHandlerNotFound(request: RequestHeader): Future[Result]

    Permalink

    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
  22. def onRequestReceived(request: RequestHeader): (RequestHeader, Handler)

    Permalink

    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
  23. def onRouteRequest(request: RequestHeader): Option[Handler]

    Permalink

    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

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

    Permalink

    Called once the application is started.

    Called once the application is started.

    app

    the application

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

    Permalink

    Called on application stop.

    Called on application stop.

    app

    the application

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

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. val underlying: GlobalSettings

    Permalink
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from api.GlobalSettings

Inherited from AnyRef

Inherited from Any

Ungrouped