public final class RequestDataValueProcessorUtils extends Object
Utility class used for applying the org.springframework.web.servlet.support.RequestDataValueProcessor interface to URLs and forms output by Thymeleaf.
This Spring interface only exists since Spring 3.1, but was modified in Spring 4. This class will only apply this value processor if the version of Spring is 4 or newer.
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
getExtraHiddenFields(org.thymeleaf.context.ITemplateContext context) |
static String |
processAction(org.thymeleaf.context.ITemplateContext context,
String action,
String httpMethod) |
static String |
processFormFieldValue(org.thymeleaf.context.ITemplateContext context,
String name,
String value,
String type) |
static String |
processUrl(org.thymeleaf.context.ITemplateContext context,
String url) |
public static String processAction(org.thymeleaf.context.ITemplateContext context, String action, String httpMethod)
public static String processFormFieldValue(org.thymeleaf.context.ITemplateContext context, String name, String value, String type)
public static Map<String,String> getExtraHiddenFields(org.thymeleaf.context.ITemplateContext context)
Copyright © 2016 The THYMELEAF team. All rights reserved.