Class ExampleImportEndpoint

java.lang.Object
com.broadleafcommerce.dataimport.web.endpoint.ExampleImportEndpoint

@FrameworkController @DataRouteByExample(Import.class) public class ExampleImportEndpoint extends Object
Author:
Phillip Verheyden (phillipuniverse)
  • Constructor Details

    • ExampleImportEndpoint

      public ExampleImportEndpoint(@NonNull ExampleImportManager exampleImportManager)
  • Method Details

    • downloadExample

      @FrameworkGetMapping("/imports/example") public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> downloadExample(@RequestParam("type") String type, @RequestParam(value="fileType",required=false,defaultValue="csv") String fileType, javax.servlet.http.HttpServletResponse response)
    • getExampleImportManager

      @NonNull protected ExampleImportManager getExampleImportManager()