java.lang.Object | +--com.ibm.commerce.command.AbstractECCommand | +--com.ibm.commerce.command.AbstractViewCommand | +--com.ibm.commerce.command.AbstractRedirectViewCommand | +--com.ibm.commerce.command.HttpsRedirectViewCommandImpl
This is the default implementation for an Https redirect view command.
Field Summary |
---|
Fields inherited from class com.ibm.commerce.command. AbstractViewCommand |
requestProperties,
responseProperties |
Fields inherited from class com.ibm.commerce.command. AbstractECCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.command. HttpViewCommand |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.command. RedirectViewCommand |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
HttpsRedirectViewCommandImpl() Constructor for HttpsRedirectViewCommandImpl. |
Method Summary | |
---|---|
HttpServletRequest |
getRequest() Gets the HttpServletRequest associated with this 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 using https. |
Methods inherited from class com.ibm.commerce.command. AbstractRedirectViewCommand |
getDocumentPathName,
getRedirectUrl,
setViewStorePath |
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,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
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. ViewCommand |
getRequestProperties,
getResponseProperties,
getViewName,
mergeProperties,
setRequestProperties,
setViewName |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
execute,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Constructor Detail |
---|
public HttpsRedirectViewCommandImpl()
Method Detail |
---|
public HttpServletRequest getRequest()
getRequest
in interface
HttpViewCommand
public HttpServletResponse getResponse()
getResponse
in interface
HttpViewCommand
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractViewCommand
ECException
protected void redirect(java.lang.String url) throws ECException
url
- the url used for redirectionECException