Class RequestService


  • public class RequestService
    extends Object
    • Constructor Detail

      • RequestService

        public RequestService()
    • Method Detail

      • putParameter

        public void putParameter​(String key,
                                 String value)
      • setParameter

        public void setParameter​(String key,
                                 String value)
      • getInstance

        public static RequestService getInstance​(javax.servlet.http.HttpServletRequest request)
      • getParameterValues

        public String[] getParameterValues​(String key)
      • getParameterValues

        public String[] getParameterValues​(String key,
                                           String[] defaultValue)
      • getParameterListValues

        public List<String> getParameterListValues​(String key)
      • getParameterForAttributeMap

        public Map<String,​String> getParameterForAttributeMap()
      • getFileItem

        public org.apache.commons.fileupload.FileItem getFileItem​(String key)
      • getFileItems

        public org.apache.commons.fileupload.FileItem[] getFileItems​(String key)
      • getAllFileItem

        public Collection<org.apache.commons.fileupload.FileItem> getAllFileItem()
      • getFileItemMap

        public Map<String,​org.apache.commons.fileupload.FileItem[]> getFileItemMap()
      • getFirstFileItem

        public org.apache.commons.fileupload.FileItem getFirstFileItem()
      • getAttribute

        public static String getAttribute​(javax.servlet.http.HttpServletRequest request,
                                          String key,
                                          String defaultValue)
      • getURI

        public static String getURI​(javax.servlet.http.HttpServletRequest request)
      • getRequest

        public javax.servlet.http.HttpServletRequest getRequest()
      • saveParameters

        public void saveParameters()
        store parameter interal for restore after operations on request.
      • restoreParameters

        public void restoreParameters()
        restore saved parameters after operations on request.
      • removeParameter

        public boolean removeParameter​(String name)