com.ibm.commerce.command

Class HttpRedirectViewCommandImpl

    • Constructor Detail

      • HttpRedirectViewCommandImpl

        public HttpRedirectViewCommandImpl()
        This is the default constructor for this class. It calls the constructor from the superclass.
    • Method Detail

      • getRequest

        public javax.servlet.http.HttpServletRequest getRequest()
        This method gets the HttpServletRequest associated with this command.
        Specified by:
        getRequest in interface HttpViewCommand
        Returns:
        This method returns an HttpServletRequest object.
      • getResponse

        public javax.servlet.http.HttpServletResponse getResponse()
        This method gets the HttpServletResponse associated with this command.
        Specified by:
        getResponse in interface HttpViewCommand
        Returns:
        This method returns an HttpServletResponse object.
      • encryptParameters

        public boolean encryptParameters()
        This method returns true if URL parameters are to be encrypted. By default, parameters are encrypted for https requests. This can be modified by the configuration parameters in <instance_name>.xml file.
        Returns:
        This method returns true if URL parameters are to be encrypted and false otherwise.
      • performExecute

        public void performExecute()
                            throws ECException
        This method defines the business logic for this redirect view command. For this default implementation all the request properties are appended to the redirect URL. The parameters will be encrypted if the incoming request is an https request.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in class AbstractViewCommand
        Throws:
        ECException