Package jenkins

Class UserAgentURLConnectionDecorator

java.lang.Object
hudson.URLConnectionDecorator
jenkins.UserAgentURLConnectionDecorator
All Implemented Interfaces:
ExtensionPoint

@Extension @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @Symbol("userAgent") public class UserAgentURLConnectionDecorator extends URLConnectionDecorator
Sets a Jenkins specific user-agent HTTP header for HttpURLConnection.
Since:
2.286
  • Field Details

    • DISABLED

      public static boolean DISABLED
  • Constructor Details

    • UserAgentURLConnectionDecorator

      public UserAgentURLConnectionDecorator()
  • Method Details