@Override public void setupRoutes() { path(controllerBasePath(), () -> { Spark.get("", mimeType, this::show); }); }
@Override public void setupRoutes() { path(controllerBasePath(), () -> { get("", this::index, engine); }); }
@Override public void setupRoutes() { path(controllerBasePath(), () -> { before("", authenticationHelper::checkAdminUserAnd403); get("", this::index, engine); }); }
@Override public void setupRoutes() { path(controllerBasePath(), () -> { before("", authenticationHelper::checkAdminUserAnd403); get("", this::index, engine); }); }
@Override public void setupRoutes() { path(controllerBasePath(), () -> { get(Routes.PluginImages.PLUGIN_ID_HASH_PATH, this::show); head(Routes.PluginImages.PLUGIN_ID_HASH_PATH, this::show); }); }
@Override public void setupRoutes() { path(controllerBasePath(), () -> { before("", authenticationHelper::checkUserAnd403); get("", this::index, engine); }); }
@Override public void setupRoutes() { path(controllerBasePath(), () -> { before("", authenticationHelper::checkAdminUserAnd403); get("", this::index, templateEngine); }); }
@Override public void setupRoutes() { path(controllerBasePath(), () -> { before("", authenticationHelper::checkAdminUserAnd403); get("", this::index, engine); }); }
@Override public void setupRoutes() { path(controllerBasePath(), () -> { before("", authenticationHelper::checkAdminUserOrGroupAdminUserAnd403); get("", this::index, engine); }); }
@Override public void setupRoutes() { path(controllerBasePath(), () -> { before("", authenticationHelper::checkAdminUserAnd403); get("", this::index, engine); }); }
@Override public void setupRoutes() { path(controllerBasePath(), () -> { before("", mimeType, this::setContentType); before("", this.mimeType, this.apiAuthenticationHelper::checkAdminUserAnd403); get("", this.mimeType, this::show); }); }
@Override public void setupRoutes() { path(controllerPath(), () -> { before("", mimeType, this::setContentType); before("", this::verifyContentType); before("", apiAuthenticationHelper::checkUserAnd403); get("", mimeType, this::index); }); }
@Override public void setupRoutes() { path(controllerPath(), () -> { before("", mimeType, this::setContentType); before("", this::verifyContentType); before("", apiAuthenticationHelper::checkUserAnd403); get("", mimeType, this::index); }); }
@Override public void setupRoutes() { path(Routes.ServerHealthMessages.BASE, () -> { before("", this::setContentType); before("/*", this::setContentType); before("", apiAuthenticationHelper::checkUserAnd403); before("/*", apiAuthenticationHelper::checkUserAnd403); get("", this::show); head("", this::show); }); }
@Override public void setupRoutes() { path(controllerBasePath(), () -> { before("", this::setContentType); before("/*", this::setContentType); before("", mimeType, apiAuthenticationHelper::checkPipelineGroupOperateUserAnd403); before("/*", mimeType, apiAuthenticationHelper::checkPipelineGroupOperateUserAnd403); get("", this::search); head("", this::search); }); }
@Override public void setupRoutes() { path(controllerBasePath(), () -> { before("", this::setContentType); before("/*", this::setContentType); before("", mimeType, apiAuthenticationHelper::checkAdminUserOrGroupAdminUserAnd403); before("/*", mimeType, apiAuthenticationHelper::checkAdminUserOrGroupAdminUserAnd403); get(Routes.ElasticProfileAPI.ID + Routes.ElasticProfileAPI.USAGES, mimeType, this::usages); exception(RecordNotFoundException.class, this::notFound); }); }
@Override public void setupRoutes() { path(controllerBasePath(), () -> { before("", mimeType, this::setContentType); before("", mimeType, authenticationHelper::checkAdminUserAnd403); before("", this::verifyContentType); before("/*", mimeType, this::setContentType); before("/*", mimeType, authenticationHelper::checkAdminUserAnd403); before(PREFLIGHT_PATH, this::setMultipartUpload); post(PREFLIGHT_PATH, mimeType, this::preflight); }); }
@Override public void setupRoutes() { path(controllerBasePath(), () -> { before("", mimeType, this::setContentType); before("/*", mimeType, this::setContentType); before("", this::verifyContentType); before("/*", this::verifyContentType); get(Routes.PipelineSelection.PIPELINES_DATA, mimeType, this::pipelinesData); get("", mimeType, this::show); put("", mimeType, this::update); }); }
@Override public void setupRoutes() { path(controllerBasePath(), () -> { before("", mimeType, this::setContentType); before("/*", mimeType, this::setContentType); before("", this::verifyContentType); before("/*", this::verifyContentType); before(Export.PIPELINES_PATH, mimeType, apiAuthenticationHelper::checkPipelineGroupAdminUserAnd403); get(Export.PIPELINES_PATH, mimeType, this::exportPipeline); exception(RecordNotFoundException.class, this::notFound); }); }
@Override public void setupRoutes() { path(controllerBasePath(), () -> { before("", mimeType, this::setContentType); before("/*", mimeType, this::setContentType); before("", this::verifyConfirmHeader); before("/*", this::verifyConfirmHeader); before("", mimeType, apiAuthenticationHelper::checkAdminUserAnd403); before("/*", mimeType, apiAuthenticationHelper::checkAdminUserAnd403); post("", mimeType, this::create); }); }