public static class CSRFErrorHandler.DefaultCSRFErrorHandler extends Results implements CSRFErrorHandler
Results.ByteChunks, Results.Chunks<A>, Results.Redirect, Results.Status, Results.StatusHeader, Results.StringChunks, Results.Todo
CSRFErrorHandler.DefaultCSRFErrorHandler
Constructor and Description |
---|
DefaultCSRFErrorHandler(play.filters.csrf.CSRF.CSRFHttpErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
F.Promise<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, 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, 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, redirect, redirect, seeOther, seeOther, 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
@Inject public DefaultCSRFErrorHandler(play.filters.csrf.CSRF.CSRFHttpErrorHandler errorHandler)
public F.Promise<Result> handle(Http.RequestHeader req, java.lang.String msg)
CSRFErrorHandler
handle
in interface CSRFErrorHandler
req
- The requestmsg
- message is passed by framework.