public abstract class EssentialAction
extends scala.runtime.AbstractFunction1<play.api.mvc.RequestHeader,play.api.libs.streams.Accumulator<akka.util.ByteString,play.api.mvc.Result>>
implements play.api.mvc.EssentialAction, play.api.mvc.Handler
An `EssentialAction` is a `Handler`, which means it is one of the objects that Play uses to handle requests. You can use this to create your action inside a filter, for example.
Unlike traditional method-based Java actions, EssentialAction does not use a context.
Constructor and Description |
---|
EssentialAction() |
Modifier and Type | Method and Description |
---|---|
play.api.mvc.EssentialAction |
apply() |
abstract Accumulator<akka.util.ByteString,Result> |
apply(Http.RequestHeader requestHeader) |
play.api.libs.streams.Accumulator<akka.util.ByteString,play.api.mvc.Result> |
apply(play.api.mvc.RequestHeader rh) |
EssentialAction |
asJava() |
static EssentialAction |
of(Function<Http.RequestHeader,Accumulator<akka.util.ByteString,Result>> action) |
andThen, apply$mcDD$sp, apply$mcDF$sp, apply$mcDI$sp, apply$mcDJ$sp, apply$mcFD$sp, apply$mcFF$sp, apply$mcFI$sp, apply$mcFJ$sp, apply$mcID$sp, apply$mcIF$sp, apply$mcII$sp, apply$mcIJ$sp, apply$mcJD$sp, apply$mcJF$sp, apply$mcJI$sp, apply$mcJJ$sp, apply$mcVD$sp, apply$mcVF$sp, apply$mcVI$sp, apply$mcVJ$sp, apply$mcZD$sp, apply$mcZF$sp, apply$mcZI$sp, apply$mcZJ$sp, compose, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
$init$, andThen, apply$mcDD$sp, apply$mcDF$sp, apply$mcDI$sp, apply$mcDJ$sp, apply$mcFD$sp, apply$mcFF$sp, apply$mcFI$sp, apply$mcFJ$sp, apply$mcID$sp, apply$mcIF$sp, apply$mcII$sp, apply$mcIJ$sp, apply$mcJD$sp, apply$mcJF$sp, apply$mcJI$sp, apply$mcJJ$sp, apply$mcVD$sp, apply$mcVF$sp, apply$mcVI$sp, apply$mcVJ$sp, apply$mcZD$sp, apply$mcZF$sp, apply$mcZI$sp, apply$mcZJ$sp, compose, toString, UnliftOps
public static EssentialAction of(Function<Http.RequestHeader,Accumulator<akka.util.ByteString,Result>> action)
public abstract Accumulator<akka.util.ByteString,Result> apply(Http.RequestHeader requestHeader)
public play.api.libs.streams.Accumulator<akka.util.ByteString,play.api.mvc.Result> apply(play.api.mvc.RequestHeader rh)
apply
in interface scala.Function1<play.api.mvc.RequestHeader,play.api.libs.streams.Accumulator<akka.util.ByteString,play.api.mvc.Result>>
public play.api.mvc.EssentialAction apply()
apply
in interface play.api.mvc.EssentialAction
public EssentialAction asJava()
asJava
in interface play.api.mvc.EssentialAction