Package org.broadleafcommerce.common.web
package org.broadleafcommerce.common.web
-
ClassDescriptionProvides no-op implementations to optional methodsResponsible for providing the base url for the site / admin applications.Adds some convenience methods to the Spring AbstractHandlerMapping for BLC specific HandlerMappings.Specific Spring component to override the default behavior of
CookieLocaleResolver
so that the default Broadleaf Locale looked up in the database is used.Responsible for returning the currency to use for the current request.Responsible for returning the currency to use for the current request.Responsible for returning the Locale to use for the current request.Responsible for returning the Locale to use for the current request.Convenient holder class for various objects to be automatically available on thread local without invoking the various services yourselfThis resolver is responsible for returning the Customer object that is currently present on the request.By default, we'll resolve the customer from the "customer" attribute on the request.Responsible for setting up the site and locale used by Broadleaf Commerce components.Interceptor responsible for setting up the BroadleafRequestContext for the life of the request.Responsible for determining the SandBox to use for the current request.Responsible for determining the SandBox to use for the current request.Responsible for returning the site used by Broadleaf Commerce for the current request.Responsible for returning the theme used by Broadleaf Commerce for the current request.Responsible for setting up the theme used by Broadleaf Commerce components.Responsible for returning the TimeZone to use for the current request.Responsible for returning the timezone to use for the current request.Generic interface that should be used for processing requests from Servlet Filters, Spring interceptors or Portlet filters.Defines the state in which sandboxable collections in the Enterprise module should adhere to Broadleaf defined behavior.Used when a controller typically returns a String that represents a view path but would like to return a JSON response in other scenarios, such as an error case.Returns null for the Site (typical for non-multi-site implementations of Broadleaf Commerce.Returns null for the Site (typical for non-multi-site implementations of Broadleaf Commerce.Filter that wraps the HttpServletResponse allowing the encodeURL method to be overwritten in order to append a Theme reference to the URL.