Showing content from https://www.playframework.com/documentation/2.5.x/api/scala/play/api/mvc/WithFilters.html below:
WithFilters - play.api.mvc.WithFilters
final def !=(arg0: Any): Boolean
-
Definition Classes
-
AnyRef â Any
final def ##(): Int
-
Definition Classes
-
AnyRef â Any
final def ==(arg0: Any): Boolean
-
Definition Classes
-
AnyRef â Any
final def asInstanceOf[T0]: T0
def beforeStart(app: 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
-
GlobalSettings
def clone(): AnyRef
-
Attributes
-
protected[java.lang]
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
def doFilter(a: EssentialAction): EssentialAction
Filters for EssentialAction.
def doFilter(next: (RequestHeader) â Handler): (RequestHeader) â Handler
Filters.
final def eq(arg0: AnyRef): Boolean
-
Definition Classes
-
AnyRef
def equals(arg0: Any): Boolean
-
Definition Classes
-
AnyRef â Any
def finalize(): Unit
-
Attributes
-
protected[java.lang]
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( classOf[java.lang.Throwable] )
final def getClass(): Class[_]
-
Definition Classes
-
AnyRef â Any
def hashCode(): Int
-
Definition Classes
-
AnyRef â Any
val httpConfigurationCache: (Application) â HttpConfiguration
final def isInstanceOf[T0]: Boolean
final def ne(arg0: AnyRef): Boolean
-
Definition Classes
-
AnyRef
final def notify(): Unit
-
Definition Classes
-
AnyRef
final def notifyAll(): Unit
-
Definition Classes
-
AnyRef
def onBadRequest(request: RequestHeader, error: String): Future[Result]
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
-
GlobalSettings
def onError(request: RequestHeader, ex: Throwable): Future[Result]
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
-
GlobalSettings
def onHandlerNotFound(request: RequestHeader): Future[Result]
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
-
GlobalSettings
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
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
-
GlobalSettings
-
See also
-
onHandlerNotFound
def onStart(app: Application): Unit
Called once the application is started.
Called once the application is started.
-
app
-
the application
-
Definition Classes
-
GlobalSettings
def onStop(app: Application): Unit
Called on application stop.
Called on application stop.
-
app
-
the application
-
Definition Classes
-
GlobalSettings
final def synchronized[T0](arg0: â T0): T0
-
Definition Classes
-
AnyRef
def toString(): String
-
Definition Classes
-
AnyRef â Any
final def wait(): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
final def wait(arg0: Long, arg1: Int): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
final def wait(arg0: Long): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4