Class BrowseDetailsEndpoint

java.lang.Object
com.broadleafcommerce.catalog.web.endpoint.commerce.BrowseDetailsEndpoint

@FrameworkRestController @FrameworkMapping("/browse-details") @DataRouteByExample(CategoryDetails.class) public class BrowseDetailsEndpoint extends Object
Endpoint to use to resolve a browse entity such as a Product or Category when the caller only has a URL and does not know which type of entity it belongs to. This endpoint will dynamically determine what kind of entity the URL belongs to and return the matching entity.
Author:
Nathan Moore (nathandmoore)
  • Constructor Details

  • Method Details

    • readBrowseDetails

      @FrameworkGetMapping public org.springframework.http.ResponseEntity<BrowseEntityDetails> readBrowseDetails(jakarta.servlet.http.HttpServletRequest servletRequest, @ContextOperation com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @PageableDefault org.springframework.data.domain.Pageable productPageInfo, BrowseDetailsRequest request, @RequestParam org.springframework.util.MultiValueMap<String,String> parameters)
    • getBrowseDetailsService

      protected BrowseDetailsService getBrowseDetailsService()