Class SapImpexImportController

java.lang.Object
com.sap.hybris.sapimpeximportadapter.controllers.SapImpexImportController

@Deprecated(since="1811", forRemoval=true) @RestController @RequestMapping("/import") public class SapImpexImportController extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
since 1811, please use IntegrationObjectModel
  • Constructor Details

    • SapImpexImportController

      public SapImpexImportController()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • importFromStream

      @PostMapping(consumes="application/octet-stream", produces={"application/json","application/xml"}) @ResponseStatus(OK) public void importFromStream(InputStream inputStream) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Import the impex payload to Hybris. On receiving the data, immediately send 200 success response to the caller
      Parameters:
      inputStream - - input stream of type application/octet-stream
      Throws:
      IOException