EssentialAction

play.api.mvc.EssentialAction
See theEssentialAction companion object

An EssentialAction underlies every Action. Given a RequestHeader, an EssentialAction consumes the request body (an ByteString) and returns a Result.

An EssentialAction is a Handler, which means it is one of the objects that Play uses to handle requests.

Attributes

Companion
object
Graph
Supertypes
trait Handler
class Object
trait Matchable
class Any
Known subtypes
trait Action[A]
class JavaAction
Self type

Members list

Value members

Concrete methods

Attributes

Returns

itself, for better support in the routes file.

def asJava: EssentialAction

Inherited methods

def andThen[A](g: Accumulator[ByteString, Result] => A): T1 => A

Attributes

Inherited from:
Function1

Attributes

Inherited from:
Function1
def compose[A](g: A => RequestHeader): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1