hudson
Class URLConnectionDecorator

java.lang.Object
  extended by hudson.URLConnectionDecorator
All Implemented Interfaces:
ExtensionPoint

public abstract class URLConnectionDecorator
extends Object
implements ExtensionPoint

Decorates the connections that Jenkins open to access external resources.

Since:
1.426
Author:
Kohsuke Kawaguchi
See Also:
ProxyConfiguration.open(URL)

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
URLConnectionDecorator()
           
 
Method Summary
static ExtensionList<URLConnectionDecorator> all()
          Returns all the registered URLConnectionDecorators.
abstract  void decorate(URLConnection con)
          Called before it gets connected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLConnectionDecorator

public URLConnectionDecorator()
Method Detail

decorate

public abstract void decorate(URLConnection con)
                       throws IOException
Called before it gets connected. Can be used to tweak parameters.

Throws:
IOException

all

public static ExtensionList<URLConnectionDecorator> all()
Returns all the registered URLConnectionDecorators.



Copyright © 2004-2013. All Rights Reserved.