public class HttpRedirectViewCommandImpl extends AbstractRedirectViewCommand implements HttpViewCommand
http
redirect view command.defaultCommandClassName
Constructor and Description |
---|
HttpRedirectViewCommandImpl()
This is the default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
encryptParameters()
This method returns true if
URL parameters are to be encrypted. |
javax.servlet.http.HttpServletRequest |
getRequest()
This method gets the
HttpServletRequest associated with this command. |
javax.servlet.http.HttpServletResponse |
getResponse()
This method gets the
HttpServletResponse associated with this command. |
void |
performExecute()
This method defines the business logic for this redirect view command.
|
getDocumentPathName, getRedirectUrl, setViewStorePath
fulfills, getForUserId, getOwner, getRequestProperties, getResourceOwners, getResponseProperties, getViewCommandContext, getViewName, mergeProperties, setForUserId, setOwner, setRequestProperties, setViewCommandContext, setViewName
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, setForUserId, setUserId, validateParameters
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequestProperties, getResponseProperties, getViewName, mergeProperties, setRequestProperties, setViewName
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
public HttpRedirectViewCommandImpl()
public javax.servlet.http.HttpServletRequest getRequest()
HttpServletRequest
associated with this command.getRequest
in interface HttpViewCommand
HttpServletRequest
object.public javax.servlet.http.HttpServletResponse getResponse()
HttpServletResponse
associated with this command.getResponse
in interface HttpViewCommand
HttpServletResponse
object.public boolean encryptParameters()
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.true
if URL
parameters are to be encrypted and
false
otherwise.public void performExecute() throws ECException
URL
. The parameters will be encrypted
if the incoming request is an https
request.performExecute
in interface ECCommand
performExecute
in class AbstractViewCommand
ECException