org.kuali.rice.edl.impl
Class RequestParser

java.lang.Object
  extended by org.kuali.rice.edl.impl.RequestParser

public class RequestParser
extends Object

An abstraction that allows for switching between multipart form requests and normal requests when getting request params

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
static String GLOBAL_ERRORS_KEY
           
static String GLOBAL_FIELD_ERRORS_KEY
           
static String GLOBAL_MESSAGES_KEY
           
static String WORKFLOW_DOCUMENT_SESSION_KEY
           
 
Constructor Summary
RequestParser(javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 Object getAttribute(String name)
           
 List<String> getParameterNames()
           
 String getParameterValue(String paramName)
           
 String[] getParameterValues(String paramName)
           
 javax.servlet.http.HttpServletRequest getRequest()
           
 List getUploadList()
           
 void setAttribute(String name, Object value)
           
 void setParameterValue(String paramName, String paramValue)
           
 void setParameterValue(String paramName, String[] paramValue)
           
 void setRequest(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WORKFLOW_DOCUMENT_SESSION_KEY

public static final String WORKFLOW_DOCUMENT_SESSION_KEY
See Also:
Constant Field Values

GLOBAL_ERRORS_KEY

public static final String GLOBAL_ERRORS_KEY
See Also:
Constant Field Values

GLOBAL_MESSAGES_KEY

public static final String GLOBAL_MESSAGES_KEY
See Also:
Constant Field Values

GLOBAL_FIELD_ERRORS_KEY

public static final String GLOBAL_FIELD_ERRORS_KEY
See Also:
Constant Field Values
Constructor Detail

RequestParser

public RequestParser(javax.servlet.http.HttpServletRequest request)
Method Detail

getParameterValues

public String[] getParameterValues(String paramName)

setAttribute

public void setAttribute(String name,
                         Object value)

getAttribute

public Object getAttribute(String name)

getParameterValue

public String getParameterValue(String paramName)

setParameterValue

public void setParameterValue(String paramName,
                              String paramValue)

setParameterValue

public void setParameterValue(String paramName,
                              String[] paramValue)

getParameterNames

public List<String> getParameterNames()

setRequest

public void setRequest(javax.servlet.http.HttpServletRequest request)

getRequest

public javax.servlet.http.HttpServletRequest getRequest()

getUploadList

public List getUploadList()


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.