@RequestMapping(value="/container/{containerId}/application/{applicationName}",method=RequestMethod.POST) @ResponseBody public JsonResponse createDirectory(@PathVariable final String containerId,@PathVariable final String applicationName,@RequestParam("path") String path) throws ServiceException, CheckException, IOException {
  if (logger.isDebugEnabled()) {
    logger.debug("containerId:" + containerId);
    logger.debug("applicationName:" + applicationName);
    logger.debug("path:" + path);
  }
  fileService.createDirectory(applicationName,containerId,path);
  return new HttpOk();
}

@ RequestMapping ( value = "/container/{containerId}/application/{applicationName}" , method = RequestMethod . POST ) @ ResponseBody public JsonResponse createDirectory ( @ PathVariable final String containerId , @ PathVariable final String applicationName , @ RequestParam ( "path" ) String path ) throws ServiceException , CheckException , IOException { if ( logger . isDebugEnabled ( ) ) { logger . debug ( "containerId:" + containerId ) ; logger . debug ( "applicationName:" + applicationName ) ; logger . debug ( "path:" + path ) ; } fileService . createDirectory ( applicationName , containerId , path ) ; return new HttpOk ( ) ; }
create resources ( files and folders ) into a container for a path
