|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.elasticpath.sfweb.service.WebCustomerSessionServiceImpl
public class WebCustomerSessionServiceImpl
WebCustomerSessionService
provides services for managing CustomerSession
s in the web application session, including
cookie management.
Constructor Summary | |
---|---|
WebCustomerSessionServiceImpl()
|
Method Summary | |
---|---|
Utility |
getUtility()
Returns the utility. |
void |
handleCreateNewAccount(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Customer customer)
Updates the session and cookie when a new account is created. |
void |
handleCustomerSignIn(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Customer customer)
Update the session when a customer signs in. |
void |
handleFilterRequest(javax.servlet.ServletRequest inRequest,
javax.servlet.ServletResponse inResponse)
Handle a request intercepted by a filter. |
void |
setCustomerSessionService(CustomerSessionService customerSessionService)
Set the customer session service. |
void |
setElasticPath(ElasticPath elasticPath)
Sets the elastic path context. |
void |
setRequestHelper(RequestHelper requestHelper)
Sets the request helper. |
void |
setShoppingCartService(ShoppingCartService shoppingCartService)
Set the shopping cart service. |
void |
setUtility(Utility utility)
Sets the utility. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebCustomerSessionServiceImpl()
Method Detail |
---|
public Utility getUtility()
public void handleCreateNewAccount(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Customer customer)
handleCreateNewAccount
in interface WebCustomerSessionService
request
- the HTTP Requestresponse
- the HTTP Responsecustomer
- the new customerpublic void handleCustomerSignIn(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Customer customer)
handleCustomerSignIn
in interface WebCustomerSessionService
request
- the HTTP requestresponse
- the HTTP responsecustomer
- the customer who has signed inpublic void handleFilterRequest(javax.servlet.ServletRequest inRequest, javax.servlet.ServletResponse inResponse)
handleFilterRequest
in interface WebCustomerSessionService
inRequest
- the requestinResponse
- the responsepublic void setCustomerSessionService(CustomerSessionService customerSessionService)
customerSessionService
- the customer session service to set.public void setElasticPath(ElasticPath elasticPath)
elasticPath
- the elastic path contextpublic void setRequestHelper(RequestHelper requestHelper)
requestHelper
- the request helperpublic void setShoppingCartService(ShoppingCartService shoppingCartService)
shoppingCartService
- the shopping cart service to set.public void setUtility(Utility utility)
utility
- the utility.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |