Package hudson
Class URLConnectionDecorator
java.lang.Object
hudson.URLConnectionDecorator
- All Implemented Interfaces:
ExtensionPoint
- Direct Known Subclasses:
UserAgentURLConnectionDecorator
Decorates the connections that Jenkins open to access external resources.
- Since:
- 1.426
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<URLConnectionDecorator>all()Returns all the registeredURLConnectionDecorators.abstract voiddecorate(URLConnection con) Called before it gets connected.
-
Constructor Details
-
URLConnectionDecorator
public URLConnectionDecorator()
-
-
Method Details
-
decorate
Called before it gets connected. Can be used to tweak parameters.- Throws:
IOException
-
all
Returns all the registeredURLConnectionDecorators.
-