Class AbstractExternalProvider

    • Constructor Detail

      • AbstractExternalProvider

        public AbstractExternalProvider​(com.fasterxml.jackson.databind.ObjectMapper mapper)
    • Method Detail

      • getHeaders

        protected org.springframework.http.HttpHeaders getHeaders​(@Nullable
                                                                  com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Builds the headers to be passed along with the request to the provider.
        Parameters:
        contextInfo - ContextInfo from the original request containing tenant and sandbox info
        Returns:
        The headers to be passed along with the request to the provider.
      • getMapper

        protected com.fasterxml.jackson.databind.ObjectMapper getMapper()