public class RequireCSRFCheckAction extends Action<RequireCSRFCheck>
Action.Simple
annotatedElement, configuration, delegate, precursor
Constructor and Description |
---|
RequireCSRFCheckAction(play.filters.csrf.CSRFConfig config,
play.api.http.SessionConfiguration sessionConfiguration,
play.filters.csrf.CSRF.TokenProvider tokenProvider,
play.api.libs.crypto.CSRFTokenSigner csrfTokenSigner,
CSRFErrorHandler errorHandler) |
RequireCSRFCheckAction(play.filters.csrf.CSRFConfig config,
play.api.http.SessionConfiguration sessionConfiguration,
play.filters.csrf.CSRF.TokenProvider tokenProvider,
play.api.libs.crypto.CSRFTokenSigner csrfTokenSigner,
java.util.function.Function<RequireCSRFCheck,CSRFErrorHandler> configurator) |
RequireCSRFCheckAction(play.filters.csrf.CSRFConfig config,
play.api.http.SessionConfiguration sessionConfiguration,
play.filters.csrf.CSRF.TokenProvider tokenProvider,
play.api.libs.crypto.CSRFTokenSigner csrfTokenSigner,
Injector injector) |
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, 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, found, found, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, movedPermanently, movedPermanently, noContent, notAcceptable, notAcceptable, notAcceptable, notAcceptable, notAcceptable, notAcceptable, notAcceptable, notAcceptable, notAcceptable, notAcceptable, notAcceptable, notAcceptable, notAcceptable, 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, 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, temporaryRedirect, temporaryRedirect, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unsupportedMediaType, unsupportedMediaType, unsupportedMediaType, unsupportedMediaType, unsupportedMediaType, unsupportedMediaType, unsupportedMediaType, unsupportedMediaType, unsupportedMediaType, unsupportedMediaType, unsupportedMediaType, unsupportedMediaType, unsupportedMediaType
@Inject public RequireCSRFCheckAction(play.filters.csrf.CSRFConfig config, play.api.http.SessionConfiguration sessionConfiguration, play.filters.csrf.CSRF.TokenProvider tokenProvider, play.api.libs.crypto.CSRFTokenSigner csrfTokenSigner, Injector injector)
public RequireCSRFCheckAction(play.filters.csrf.CSRFConfig config, play.api.http.SessionConfiguration sessionConfiguration, play.filters.csrf.CSRF.TokenProvider tokenProvider, play.api.libs.crypto.CSRFTokenSigner csrfTokenSigner, CSRFErrorHandler errorHandler)
public RequireCSRFCheckAction(play.filters.csrf.CSRFConfig config, play.api.http.SessionConfiguration sessionConfiguration, play.filters.csrf.CSRF.TokenProvider tokenProvider, play.api.libs.crypto.CSRFTokenSigner csrfTokenSigner, java.util.function.Function<RequireCSRFCheck,CSRFErrorHandler> configurator)
public java.util.concurrent.CompletionStage<Result> call(Http.Context ctx)
Action
call
in class Action<RequireCSRFCheck>
ctx
- the http context in which to execute this action