com.google.code.rees.scope.spring
Class ConversationRequestDataValueProcessor

java.lang.Object
  extended by com.google.code.rees.scope.spring.ConversationRequestDataValueProcessor
All Implemented Interfaces:
org.springframework.web.servlet.support.RequestDataValueProcessor

public class ConversationRequestDataValueProcessor
extends Object
implements org.springframework.web.servlet.support.RequestDataValueProcessor

Configured in the Spring application XML with the ID requestDataValueProcessor. The Spring MVC form tags then call getExtraHiddenFields(HttpServletRequest) on this class. In this way, the conversation IDs are placed in the tags.

Author:
rees.byars

Constructor Summary
ConversationRequestDataValueProcessor()
           
 
Method Summary
 Map<String,String> getExtraHiddenFields(javax.servlet.http.HttpServletRequest paramHttpServletRequest)
           
 String processAction(javax.servlet.http.HttpServletRequest paramHttpServletRequest, String paramString)
           
 String processFormFieldValue(javax.servlet.http.HttpServletRequest paramHttpServletRequest, String paramString1, String paramString2, String paramString3)
           
 String processUrl(javax.servlet.http.HttpServletRequest paramHttpServletRequest, String paramString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConversationRequestDataValueProcessor

public ConversationRequestDataValueProcessor()
Method Detail

processAction

public String processAction(javax.servlet.http.HttpServletRequest paramHttpServletRequest,
                            String paramString)
Specified by:
processAction in interface org.springframework.web.servlet.support.RequestDataValueProcessor

processFormFieldValue

public String processFormFieldValue(javax.servlet.http.HttpServletRequest paramHttpServletRequest,
                                    String paramString1,
                                    String paramString2,
                                    String paramString3)
Specified by:
processFormFieldValue in interface org.springframework.web.servlet.support.RequestDataValueProcessor

getExtraHiddenFields

public Map<String,String> getExtraHiddenFields(javax.servlet.http.HttpServletRequest paramHttpServletRequest)
Specified by:
getExtraHiddenFields in interface org.springframework.web.servlet.support.RequestDataValueProcessor

processUrl

public String processUrl(javax.servlet.http.HttpServletRequest paramHttpServletRequest,
                         String paramString)
Specified by:
processUrl in interface org.springframework.web.servlet.support.RequestDataValueProcessor


Copyright © 2012-2013. All Rights Reserved.