public static class CSRFErrorHandler.DefaultCSRFErrorHandler extends Results implements CSRFErrorHandler
Results.ByteChunks, Results.Chunks<A>, Results.StringChunks
CSRFErrorHandler.DefaultCSRFErrorHandler
Constructor and Description |
---|
DefaultCSRFErrorHandler(play.filters.csrf.CSRF.CSRFHttpErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletionStage<Result> |
handle(Http.RequestHeader req,
java.lang.String msg)
Handle the CSRF error.
|
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 DefaultCSRFErrorHandler(play.filters.csrf.CSRF.CSRFHttpErrorHandler errorHandler)
public java.util.concurrent.CompletionStage<Result> handle(Http.RequestHeader req, java.lang.String msg)
CSRFErrorHandler
handle
in interface CSRFErrorHandler
req
- The requestmsg
- message is passed by framework.