Class CartHolder<P extends com.broadleafcommerce.cart.client.domain.Cart>
java.lang.Object
com.broadleafcommerce.cartoperation.domain.CartHolder<P>
- All Implemented Interfaces:
Serializable
@Deprecated
public class CartHolder<P extends com.broadleafcommerce.cart.client.domain.Cart>
extends Object
implements Serializable
Deprecated.
in favor of new APIs driven by explicit Cart IDs and not request state
A simple container for a cart.
This is intended to be used as a request scoped bean to hold the cart for the duration of the
request. At the end of request handling, the cart will be written as a cookie, so it's important
to have the request scoped instance contain the latest version of the cart. See
CartCookieResponseBodyAdvice
.- Author:
- Jacob Mitash
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CartHolder
public CartHolder()Deprecated.
-
-
Method Details