Package play.filters.csrf
Interface CSRFErrorHandler
-
- All Known Implementing Classes:
CSRFErrorHandler.DefaultCSRFErrorHandler
public interface CSRFErrorHandlerThis interface handles the CSRF error.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCSRFErrorHandler.DefaultCSRFErrorHandler
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletionStage<Result>handle(Http.RequestHeader req, String msg)Handle the CSRF error.
-
-
-
Method Detail
-
handle
CompletionStage<Result> handle(Http.RequestHeader req, String msg)
Handle the CSRF error.- Parameters:
req- The requestmsg- message is passed by framework.- Returns:
- Client gets this result.
-
-