org.thymeleaf.spring3.requestdata
Class RequestDataValueProcessorUtils

Object
  extended by 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
static Map<String,String> getExtraHiddenFields(org.thymeleaf.Configuration configuration, org.thymeleaf.context.IProcessingContext processingContext)
           
static String processAction(org.thymeleaf.Configuration configuration, org.thymeleaf.context.IProcessingContext processingContext, String action, String httpMethod)
           
static String processFormFieldValue(org.thymeleaf.Configuration configuration, org.thymeleaf.context.IProcessingContext processingContext, String name, String value, String type)
           
static String processUrl(org.thymeleaf.Configuration configuration, org.thymeleaf.context.IProcessingContext processingContext, String url)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

processAction

public static String processAction(org.thymeleaf.Configuration configuration,
                                   org.thymeleaf.context.IProcessingContext processingContext,
                                   String action,
                                   String httpMethod)

processFormFieldValue

public static String processFormFieldValue(org.thymeleaf.Configuration configuration,
                                           org.thymeleaf.context.IProcessingContext processingContext,
                                           String name,
                                           String value,
                                           String type)

getExtraHiddenFields

public static Map<String,String> getExtraHiddenFields(org.thymeleaf.Configuration configuration,
                                                      org.thymeleaf.context.IProcessingContext processingContext)

processUrl

public static String processUrl(org.thymeleaf.Configuration configuration,
                                org.thymeleaf.context.IProcessingContext processingContext,
                                String url)


Copyright © 2013 The THYMELEAF team. All Rights Reserved.