/** * Runs {@link #prevalidateConfig} on posted XML and redirects to the {@link UpdateCenter}. * * @since 1.483 */ @RequirePOST public HttpResponse doInstallNecessaryPlugins(StaplerRequest req) throws IOException { prevalidateConfig(req.getInputStream()); return HttpResponses.redirectViaContextPath("updateCenter"); }