public class AddCSRFTokenAction extends Action<AddCSRFToken>
Action.Simple
Results.ByteChunks, Results.Chunks<A>, Results.StringChunks
configuration, delegate
Constructor and Description |
---|
AddCSRFTokenAction(play.filters.csrf.CSRFConfig config,
play.filters.csrf.CSRF.TokenProvider tokenProvider,
play.api.libs.crypto.CSRFTokenSigner tokenSigner) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletionStage<Result> |
call(Http.Context ctx)
Executes this action with the given HTTP context and returns the result.
|
badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, created, created, created, created, created, created, created, created, created, created, created, created, created, created, created, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, found, found, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, movedPermanently, movedPermanently, noContent, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, paymentRequired, permanentRedirect, permanentRedirect, redirect, redirect, seeOther, seeOther, status, status, status, status, status, status, status, status, status, status, status, status, status, status, status, status, temporaryRedirect, temporaryRedirect, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized
@Inject public AddCSRFTokenAction(play.filters.csrf.CSRFConfig config, play.filters.csrf.CSRF.TokenProvider tokenProvider, play.api.libs.crypto.CSRFTokenSigner tokenSigner)
public java.util.concurrent.CompletionStage<Result> call(Http.Context ctx)
Action
call
in class Action<AddCSRFToken>
ctx
- the http context in which to execute this action