nuget-feed/src/jetbrains/buildServer/nuget/feed/server/json/AsyncJsonPackageContentController.kt [31:42]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - request: HttpServletRequest ): WebAsyncTask> { val context = DispatcherUtils.getContext(request) return asyncTaskExecutor.createAsyncTask> { if (context == null) { return@createAsyncTask ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).body("Internal Server Error") } val packageSource = packageSourceFactory.create(context.feed) val results = packageSource.getPackages(id, version) if (!results.isEmpty()) { val adapter = adapterFactory.create(context) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nuget-feed/src/jetbrains/buildServer/nuget/feed/server/json/AsyncJsonRegistrationController.kt [28:39]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - request: HttpServletRequest ): WebAsyncTask> { val context = DispatcherUtils.getContext(request) return asyncTaskExecutor.createAsyncTask> { if (context == null) { return@createAsyncTask ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).body("Internal Server Error") } val packageSource = packageSourceFactory.create(context.feed) val results = packageSource.getPackages(id, version) if (!results.isEmpty()) { val adapter = adapterFactory.create(context) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -