Class AbstractExternalProvider

java.lang.Object
com.broadleafcommerce.orchestration.service.provider.external.AbstractExternalProvider
Direct Known Subclasses:
ExternalWorkflowProvider

public class AbstractExternalProvider extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractExternalProvider(com.fasterxml.jackson.databind.ObjectMapper mapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.http.HttpHeaders
    getHeaders(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Builds the headers to be passed along with the request to the provider.
    protected com.fasterxml.jackson.databind.ObjectMapper
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractExternalProvider

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

    • 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()