public class SpincastFormsProtectionPebbleExtensionDefault extends com.mitchellbosecke.pebble.extension.AbstractExtension implements SpincastFormsProtectionPebbleExtension
| Modifier and Type | Field and Description |
|---|---|
static String |
FONCTION_NAME_FORM_CSRF_PROTECTTION_FIELD_NAME |
static String |
FONCTION_NAME_FORM_CSRF_PROTECTTION_FIELD_VALUE |
static String |
FONCTION_NAME_FORM_DOUBLE_SUBMIT_DISABLE_PROTECTION_FIELD_NAME |
static String |
FONCTION_NAME_FORM_DOUBLE_SUBMIT_PROTECTION_FIELD_NAME |
static String |
FONCTION_NAME_FORM_DOUBLE_SUBMIT_PROTECTION_FIELD_VALUE |
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
SpincastFormsProtectionPebbleExtensionDefault(com.google.common.base.Optional<SpincastFormsDoubleSubmitProtectionRepository> SpincastFormsDoubleSubmitProtectionRepositoryOptional,
SpincastConfig spincastConfig,
SpincastUtils spincastUtils,
SpincastFormsProtectionConfig spincastFormsProtectionConfig,
SpincastFormsDoubleSubmitProtectionFilter spincastFormsDoubleSubmitProtectionFilter,
SpincastFormsCsrfProtectionFilter spincastFormsCsrfProtectionFilter) |
getBinaryOperators, getFilters, getGlobalVariables, getNodeVisitors, getTests, getTokenParsers, getUnaryOperatorsprotected static final org.slf4j.Logger logger
public static final String FONCTION_NAME_FORM_DOUBLE_SUBMIT_PROTECTION_FIELD_NAME
public static final String FONCTION_NAME_FORM_DOUBLE_SUBMIT_PROTECTION_FIELD_VALUE
public static final String FONCTION_NAME_FORM_DOUBLE_SUBMIT_DISABLE_PROTECTION_FIELD_NAME
public static final String FONCTION_NAME_FORM_CSRF_PROTECTTION_FIELD_NAME
public static final String FONCTION_NAME_FORM_CSRF_PROTECTTION_FIELD_VALUE
@Inject public SpincastFormsProtectionPebbleExtensionDefault(com.google.common.base.Optional<SpincastFormsDoubleSubmitProtectionRepository> SpincastFormsDoubleSubmitProtectionRepositoryOptional, SpincastConfig spincastConfig, SpincastUtils spincastUtils, SpincastFormsProtectionConfig spincastFormsProtectionConfig, SpincastFormsDoubleSubmitProtectionFilter spincastFormsDoubleSubmitProtectionFilter, SpincastFormsCsrfProtectionFilter spincastFormsCsrfProtectionFilter)
protected com.google.common.base.Optional<SpincastFormsDoubleSubmitProtectionRepository> getSpincastFormsDoubleSubmitProtectionRepositoryOptional()
protected SpincastConfig getSpincastConfig()
protected SpincastFormsProtectionConfig getSpincastFormsProtectionConfig()
protected SpincastUtils getSpincastUtils()
protected SpincastFormsDoubleSubmitProtectionFilter getSpincastFormsDoubleSubmitProtectionFilter()
protected SpincastFormsCsrfProtectionFilter getSpincastFormsCsrfProtectionFilter()
public Map<String,com.mitchellbosecke.pebble.extension.Function> getFunctions()
getFunctions in interface com.mitchellbosecke.pebble.extension.ExtensiongetFunctions in class com.mitchellbosecke.pebble.extension.AbstractExtensionprotected com.mitchellbosecke.pebble.extension.Function getFormDoubleSubmitProtectionFieldValueFunction()
protected com.mitchellbosecke.pebble.extension.Function getFormDoubleSubmitProtectionFieldNameFunction()
protected com.mitchellbosecke.pebble.extension.Function getFormDoubleSubmitDisableProtectionFieldNameFunction()
protected com.mitchellbosecke.pebble.extension.Function getFormCsrfProtectionIdFieldNameFunction()
protected com.mitchellbosecke.pebble.extension.Function getFormCsrfProtectionFieldValueFunction()
Copyright © 2018. All rights reserved.