Class PluginServletActionRetVal

    • Constructor Detail

      • PluginServletActionRetVal

        public PluginServletActionRetVal​(IServletResponse result)
        Creates a new POJO with the given servlet response.
        Parameters:
        result - Servlet response that should be returned to the client.
      • PluginServletActionRetVal

        public PluginServletActionRetVal​(IServletResponse result,
                                         int statusCode)
        Creates a new POJO with the given servlet response.
        Parameters:
        result - Servlet response that should be returned to the client.
        statusCode - Status code to use for the HTTP response.
      • PluginServletActionRetVal

        public PluginServletActionRetVal​(IServletResponse result,
                                         int statusCode,
                                         Map<String,​Serializable> sessionAttributes,
                                         Map<String,​Serializable> frqAttributes)
        Creates a new POJO with the given servlet response.
        Parameters:
        result - Servlet response that should be returned to the client.
        statusCode - Status code to use for the HTTP response.
        sessionAttributes - Map with session attributes that should be added to the current session.
        frqAttributes - Map with FRQSession attributes that should be added to the current FRQ session.
      • PluginServletActionRetVal

        public PluginServletActionRetVal​(IServletResponse result,
                                         Map<String,​Serializable> sessionAttributes,
                                         Map<String,​Serializable> frqAttributes)
        Creates a new POJO with the given servlet response.
        Parameters:
        result - Servlet response that should be returned to the client.
        sessionAttributes - Map with session attributes that should be added to the current session.
        frqAttributes - Map with FRQSession attributes that should be added to the current FRQ session.