Class StartRequest


  • public class StartRequest
    extends Object
    Start request for a container.
    • Constructor Detail

      • StartRequest

        public StartRequest()
    • Method Detail

      • parse

        public StartRequest parse​(javax.servlet.http.HttpServletRequest request)
        Parses the servlet request.
        Parameters:
        request - The servlet request.
        Returns:
        the StartRequest
      • getParameter

        public String getParameter​(String name,
                                   boolean required)
        Gets a parameters from the request.
        Parameters:
        name - The key name
        required - If required true, otherwise false
        Returns:
        the value for the key name
      • getParameters

        public PropertyTable getParameters()
        Returns:
        The parameters of the request.
      • setParameters

        public void setParameters​(PropertyTable parameters)
        Set the parameters of the request.
        Parameters:
        parameters - The parameters of the request.
      • getProperties

        public PropertyTable getProperties​(String name,
                                           boolean required)
        Gets the Properties associated with a key name.
        Parameters:
        name - The key name.
        required - If required true, otherwise false
        Returns:
        the properties
      • getPropertiesList

        public List<PropertyTable> getPropertiesList​(String name,
                                                     boolean required)
        Gets a list of Properties associated with a key name.
        Parameters:
        name - The key name.
        required - If required true, otherwise false
        Returns:
        the list of properties.
      • getStringList

        public List<String> getStringList​(String name,
                                          boolean required)
        Gets list of string values.
        Parameters:
        name - The key name.
        required - If required true, otherwise false
        Returns:
        the list of string values.
      • getFile

        public InputStream getFile​(String name,
                                   boolean required)
        Gets the inputstream of a file with key name name.
        Parameters:
        name - The key name.
        required - If required true, otherwise false
        Returns:
        the inputstream of the file
      • cleanup

        public void cleanup()
        Cleans up the temporary data associated with this request.
      • isSave

        public boolean isSave()
        Returns:
        if this request needs to be saved
      • setSave

        public void setSave​(boolean save)
        Sets the save flag.
        Parameters:
        save - True if request needs to be saved