public class CSRF
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
CSRF.Disable
Mark a controller class or action handler method that is not subject to CSRF protection.
|
static interface |
CSRF.Enable
Mark a controller class or action handler method that requires the CSRF protection.
|
static class |
CSRF.Spec |
Constructor and Description |
---|
CSRF() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
formField(ActionContext ctx) |
static CSRF.Spec |
spec(java.lang.Class controller) |
static CSRF.Spec |
spec(java.lang.reflect.Method action) |
static java.lang.String |
token(ActionContext ctx) |
public static java.lang.String token(ActionContext ctx)
public static java.lang.String formField(ActionContext ctx)
public static CSRF.Spec spec(java.lang.Class controller)
public static CSRF.Spec spec(java.lang.reflect.Method action)
Copyright © 2014–2017 ActFramework. All rights reserved.