Class RequestDataValueProcessorUtils

Object
org.thymeleaf.spring6.requestdata.RequestDataValueProcessorUtils

public final class RequestDataValueProcessorUtils extends Object

Utility class used for applying Spring's RequestDataValueProcessor mechanism to URLs and forms rendered by Thymeleaf.

Since:
3.0.3
Author:
Daniel Fernández
  • Method Details

    • 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)
    • processUrl

      public static String processUrl(org.thymeleaf.context.ITemplateContext context, String url)