public class VtiFpRequest extends HttpServletRequestWrapper
Modifier and Type | Field and Description |
---|---|
protected static String |
CBRACKET |
protected static String |
COMMASEP |
protected static String |
LISTSEP |
protected static String |
METADICT_CONSTRAINT_IGNORE |
protected static String |
METADICT_CONSTRAINT_RO |
protected static String |
METADICT_CONSTRAINT_RW |
protected static String |
METADICT_VALUE_BOOLEAN |
protected static String |
METADICT_VALUE_DOUBLE |
protected static String |
METADICT_VALUE_INT_VECTOR |
protected static String |
METADICT_VALUE_STRING |
protected static String |
METADICT_VALUE_STRING_VECTOR |
protected static String |
METADICT_VALUE_TIME |
protected static String |
OBRACKET |
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
Constructor and Description |
---|
VtiFpRequest(HttpServletRequest request)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getAlfrescoContextName() |
Map<String,String> |
getDictionary(String paramName)
Get dictionary
|
Map<String,Object> |
getMetaDictionary(String paramName)
Get meta-dictionary
|
String |
getNotEncodedParameter(String name) |
String |
getParameter(String name) |
boolean |
getParameter(String paramName,
boolean defaultValue)
Get boolean parameter
|
Date |
getParameter(String paramName,
Date defaultValue)
Get Date parameter
|
DocsMetaInfo |
getParameter(String paramName,
DocsMetaInfo defaultValue)
Get DocsMetaInfo parameter
|
Document |
getParameter(String paramName,
Document defaultValue)
Get Document parameter
|
int |
getParameter(String paramName,
int defaultValue)
Get VtiSortField parameter
|
List<String> |
getParameter(String paramName,
List<String> defaultValue)
Get List of Strings parameter
|
String |
getParameter(String paramName,
String defaultValue)
Get String parameter
|
VtiSort |
getParameter(String paramName,
VtiSort defaultValue)
Get VtiSort parameter
|
VtiSortField |
getParameter(String paramName,
VtiSortField defaultValue)
Get VtiSortField parameter
|
Map<String,String[]> |
getParameterMap() |
Enumeration<String> |
getParameterNames() |
String[] |
getParameterValues(String name) |
void |
setParameter(String name,
String value)
Set additional specific request parameter
|
void |
setParameterValues(String name,
String[] values)
Set additional specific request parameters
|
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
protected static final String OBRACKET
protected static final String CBRACKET
protected static final String LISTSEP
protected static final String COMMASEP
protected static final String METADICT_CONSTRAINT_IGNORE
protected static final String METADICT_CONSTRAINT_RO
protected static final String METADICT_CONSTRAINT_RW
protected static final String METADICT_VALUE_TIME
protected static final String METADICT_VALUE_STRING_VECTOR
protected static final String METADICT_VALUE_BOOLEAN
protected static final String METADICT_VALUE_INT_VECTOR
protected static final String METADICT_VALUE_DOUBLE
protected static final String METADICT_VALUE_STRING
public VtiFpRequest(HttpServletRequest request)
request
- HttpServletRequestpublic String getParameter(String name)
getParameter
in interface ServletRequest
getParameter
in class ServletRequestWrapper
ServletRequestWrapper.getParameter(java.lang.String)
public String[] getParameterValues(String name)
getParameterValues
in interface ServletRequest
getParameterValues
in class ServletRequestWrapper
ServletRequestWrapper.getParameterValues(java.lang.String)
public void setParameterValues(String name, String[] values)
name
- parameter namevalues
- parameter valuespublic void setParameter(String name, String value)
name
- parameter namevalue
- parameter valuepublic Map<String,String[]> getParameterMap()
getParameterMap
in interface ServletRequest
getParameterMap
in class ServletRequestWrapper
ServletRequestWrapper.getParameterMap()
public Enumeration<String> getParameterNames()
getParameterNames
in interface ServletRequest
getParameterNames
in class ServletRequestWrapper
ServletRequestWrapper.getParameterNames()
public boolean getParameter(String paramName, boolean defaultValue)
paramName
- name of parameterdefaultValue
- default value for parameter if not presentpublic Date getParameter(String paramName, Date defaultValue)
paramName
- name of parameterdefaultValue
- default value for parameter if not presentpublic VtiSort getParameter(String paramName, VtiSort defaultValue)
paramName
- name of parameterdefaultValue
- default value for parameter if not presentpublic VtiSortField getParameter(String paramName, VtiSortField defaultValue)
paramName
- name of parameterdefaultValue
- default value for parameter if not presentpublic int getParameter(String paramName, int defaultValue)
paramName
- name of parameterdefaultValue
- default value for parameter if not presentpublic String getParameter(String paramName, String defaultValue) throws UnsupportedEncodingException
paramName
- name of parameterdefaultValue
- default value for parameter if not presentUnsupportedEncodingException
public List<String> getParameter(String paramName, List<String> defaultValue)
paramName
- name of parameterdefaultValue
- default value for parameter if not presentpublic DocsMetaInfo getParameter(String paramName, DocsMetaInfo defaultValue)
paramName
- name of parameterdefaultValue
- default value for parameter if not presentpublic Document getParameter(String paramName, Document defaultValue) throws IOException
paramName
- name of parameterdefaultValue
- default value for parameter if not presentIOException
public Map<String,String> getDictionary(String paramName)
paramName
- name of parameterpublic Map<String,Object> getMetaDictionary(String paramName)
paramName
- name of parameterpublic String getAlfrescoContextName()
Copyright © 2005–2017 Alfresco Software. All rights reserved.