com.ibm.commerce.command
Class HttpRedirectViewCommandNoEncryptionImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.AbstractViewCommand
|
+--com.ibm.commerce.command.AbstractRedirectViewCommand
|
+--com.ibm.commerce.command.HttpRedirectViewCommandNoEncryptionImpl
- All Implemented Interfaces:
- AccCommand, ECCommand, HttpViewCommand, Protectable, RedirectViewCommand, ViewCommand
- public class HttpRedirectViewCommandNoEncryptionImpl
- extends AbstractRedirectViewCommand
- implements HttpViewCommand
This is the default implementation of a Http Redirect View commands with no encryption.
Method Summary |
com.ibm.commerce.command.HttpServletRequest |
getRequest()
Gets the HttpServletRequest associated with this command. |
com.ibm.commerce.command.HttpServletResponse |
getResponse()
Gets the HttpServletResponse associated with this command. |
void |
performExecute()
The business logic for this redirect view command. |
protected void |
redirect(java.lang.String url)
This methods redirects the url. |
Methods inherited from class com.ibm.commerce.command.AbstractViewCommand |
fulfills, getForUserId, getOwner, getRequestProperties, getResourceOwners, getResponseProperties, getViewName, mergeProperties, setForUserId, setOwner, setRequestProperties, setResponseProperties, setViewName |
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
HttpRedirectViewCommandNoEncryptionImpl
public HttpRedirectViewCommandNoEncryptionImpl()
- HttpRedirectViewCommandNoEncryptionImpl constructor.
getRequest
public com.ibm.commerce.command.HttpServletRequest getRequest()
- Gets the HttpServletRequest associated with this command.
- Specified by:
getRequest
in interface HttpViewCommand
- Returns:
- HttpServletRequest
getResponse
public com.ibm.commerce.command.HttpServletResponse getResponse()
- Gets the HttpServletResponse associated with this command.
- Specified by:
getResponse
in interface HttpViewCommand
- Returns:
- HttpServletResponse
performExecute
public void performExecute()
throws ECException
- The business logic for this redirect view command. For this default implementation
we appends all the request properties to the redirect URL. The parameters will NOT be encrypted
for this implementation.
- Overrides:
performExecute
in class AbstractViewCommand
- Throws:
ECException
-
redirect
protected void redirect(java.lang.String url)
throws ECException
- This methods redirects the url.
- Parameters:
url
- String - the url used for redirection