Class RequestDataValueProcessorUtils
- Object
-
- org.thymeleaf.spring3.requestdata.RequestDataValueProcessorUtils
-
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.Given this Spring interface only exists since Spring 3.1, application is conditional and only performed if Spring version in classpath is 3.1 or newer.
- Since:
- 2.1.0
- Author:
- Daniel Fernández
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
processAction
public static String processAction(org.thymeleaf.context.ITemplateContext context, String action, String httpMethod)
-
processFormFieldValue
public static String processFormFieldValue(org.thymeleaf.context.ITemplateContext context, String name, String value, String type)
-
getExtraHiddenFields
public static Map<String,String> getExtraHiddenFields(org.thymeleaf.context.ITemplateContext context)
-
-