Class CustomerState
java.lang.Object
org.broadleafcommerce.profile.web.core.CustomerState
Convenient class to get the active customer from the current request. This state is kept up-to-date in regards to the database
throughout the lifetime of the request via the
CustomerStateRefresher.- Author:
- Jeff Fischer, Phillip Verheyden (phillipuniverse)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Customerstatic CustomergetCustomer(jakarta.servlet.http.HttpServletRequest request) static CustomergetCustomer(org.springframework.web.context.request.WebRequest request) static voidsetCustomer(Customer customer)
-
Constructor Details
-
CustomerState
public CustomerState()
-
-
Method Details
-
getCustomer
-
getCustomer
-
getCustomer
-
setCustomer
-